Changeset 270 in svn for trunk/src/STDHEPConverter.cc
- Timestamp:
- Feb 14, 2009, 2:06:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STDHEPConverter.cc
r264 r270 58 58 void STDHEPConverter::AnalyseParticles(ExRootTreeBranch *branch) 59 59 { 60 TRootGenParticle *element;60 GenParticle *element; 61 61 62 62 Double_t signPz; … … 66 66 for(number = 0; number < myhepevt.nhep; ++number) 67 67 { 68 element = static_cast< TRootGenParticle*>(branch->NewEntry());68 element = static_cast<GenParticle*>(branch->NewEntry()); 69 69 70 70 element->PID = myhepevt.idhep[number]; … … 116 116 ExRootTreeBranch *branchGenEvent = treeWriter->NewBranch("Event", TRootGenEvent::Class()); 117 117 // generated particles from HEPEVT 118 ExRootTreeBranch *branchGenParticle = treeWriter->NewBranch("Particle", TRootGenParticle::Class());118 ExRootTreeBranch *branchGenParticle = treeWriter->NewBranch("Particle", GenParticle::Class()); 119 119 120 120 // Open a stream connected to an event file:
Note:
See TracChangeset
for help on using the changeset viewer.