Changeset 73 in svn for trunk/Utilities/ExRootAnalysis/src
- Timestamp:
- Dec 3, 2008, 5:22:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.