Changeset 73 in svn for trunk/src/SmearUtil.cc
- Timestamp:
- Dec 3, 2008, 5:22:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SmearUtil.cc
r72 r73 573 573 if(hadron.E() < 0)hadron.SetPxPyPzE(0,0,0,0); 574 574 } 575 /* 576 void 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 }*/ 575 597 576 598 // **********Provides the energy in the cone of radius TAU_CONE_ENERGY for the tau identification******** … … 684 706 if (phi > PI-dphi) iPhi = PI-dphi; 685 707 } 686 708 /* 709 ParticleUtil::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 /* 722 void ParticleUtil::GetInfo() 723 { 724 725 } 726 */ 687 727 688 728 //**************************** Returns the delta Phi ****************************
Note:
See TracChangeset
for help on using the changeset viewer.