Fork me on GitHub

Changeset 73 in svn for trunk/src


Ignore:
Timestamp:
Dec 3, 2008, 5:22:43 PM (16 years ago)
Author:
uid677
Message:

new PartUtil class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SmearUtil.cc

    r72 r73  
    573573  if(hadron.E() < 0)hadron.SetPxPyPzE(0,0,0,0);
    574574}
     575/*
     576void RESOLution::SortedVector()
     577{
     578  int i,j = 0;
     579  TLorentzVector tmp;
     580  bool en_desordre = true;
     581  for(i = 0 ; (i < numjetT) && en_desordre; i++)
     582    {
     583      en_desordre = false;
     584      for(j = 1 ; j < numjetT - i ; j++)
     585        {
     586          if ( Wjets[j].Eta() > Wjets[j-1].Eta() )
     587             {
     588               TLorentzVector tmp = Wjets[j-1];
     589               Wjets[j-1] = Wjets[j];
     590               Wjets[j] = tmp;
     591               en_desordre = true;
     592              }
     593        }
     594    }
     595   
     596}*/
    575597
    576598// **********Provides the energy in the cone of radius TAU_CONE_ENERGY for the tau identification********
     
    684706   if (phi > PI-dphi) iPhi = PI-dphi;
    685707}
    686 
     708/*
     709ParticleUtil::ParticleUtil(const TLorentzVector genMomentum,int pid){
     710  E=genMomentum.E();
     711  Px=genMomentum.Px();
     712  Py=genMomentum.Py();
     713  Pz=genMomentum.Pz();
     714  PT=genMomentum.Pt();
     715  Phi=genMomentum.Phi();
     716  Eta=genMomentum.Eta();
     717  PID=pid;
     718
     719}
     720*/
     721/*
     722void ParticleUtil::GetInfo()
     723{
     724
     725}
     726*/
    687727
    688728//**************************** Returns the delta Phi ****************************
Note: See TracChangeset for help on using the changeset viewer.