Fork me on GitHub

Changeset 270 in svn for trunk/src/STDHEPConverter.cc


Ignore:
Timestamp:
Feb 14, 2009, 2:06:20 AM (16 years ago)
Author:
severine ovyn
Message:

remove double GEN pfff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STDHEPConverter.cc

    r264 r270  
    5858void STDHEPConverter::AnalyseParticles(ExRootTreeBranch *branch)
    5959{
    60   TRootGenParticle *element;
     60  GenParticle *element;
    6161
    6262  Double_t signPz;
     
    6666  for(number = 0; number < myhepevt.nhep; ++number)
    6767  {
    68     element = static_cast<TRootGenParticle*>(branch->NewEntry());
     68    element = static_cast<GenParticle*>(branch->NewEntry());
    6969
    7070    element->PID = myhepevt.idhep[number];
     
    116116  ExRootTreeBranch *branchGenEvent = treeWriter->NewBranch("Event", TRootGenEvent::Class());
    117117  // generated particles from HEPEVT
    118   ExRootTreeBranch *branchGenParticle = treeWriter->NewBranch("Particle", TRootGenParticle::Class());
     118  ExRootTreeBranch *branchGenParticle = treeWriter->NewBranch("Particle", GenParticle::Class());
    119119 
    120120  // Open a stream connected to an event file:
Note: See TracChangeset for help on using the changeset viewer.