Changeset 73 in svn for trunk/Utilities
- Timestamp:
- Dec 3, 2008, 5:22:43 PM (16 years ago)
- Location:
- trunk/Utilities/ExRootAnalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h
r72 r73 13 13 * present in the data members of the Block TRoot class. 14 14 * 15 * $Date: 2008-12-03 1 1:01:04$16 * $Revision: 1. 6$15 * $Date: 2008-12-03 16:22:42 $ 16 * $Revision: 1.7 $ 17 17 * 18 18 * … … 159 159 160 160 void Set(const TLorentzVector& momentum); 161 void Set(float px,float py,float pz, float e); 161 162 static TCompare *fgCompare; //! 162 163 const TCompare *GetCompare() const { return fgCompare; } -
trunk/Utilities/ExRootAnalysis/src/BlockClasses.cc
r70 r73 11 11 * to preserve mother-dautherlinks between particles. 12 12 * 13 * $Date: 2008-12-0 2 19:50:30$14 * $Revision: 1. 3$13 * $Date: 2008-12-03 16:22:43 $ 14 * $Revision: 1.4 $ 15 15 * 16 16 * … … 21 21 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 22 22 #include "Utilities/ExRootAnalysis/interface/BlockCompare.h" 23 24 #include "TLorentzVector.h" 23 25 24 26 TCompare *TRootGenParticle::fgCompare = 0; … … 47 49 Phi = momentum.Phi(); 48 50 } 51 void TRootParticle::Set(float px,float py,float pz, float e) { 52 TLorentzVector toFill; 53 toFill.SetPxPyPzE(px,py,pz,e); 54 E = e; 55 Px = px; 56 Py = py; 57 Pz = pz; 58 PT = toFill.Pt(); 59 Eta = toFill.Eta(); 60 Phi = toFill.Phi(); 61 } 49 62 63
Note:
See TracChangeset
for help on using the changeset viewer.