Fork me on GitHub

Changeset 270 in svn for trunk/Examples/src


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/Examples/src/Analysis_Ex.cc

    r264 r270  
    145145      //*****************************************************
    146146      TIter itGen((TCollection*)GEN);
    147       TRootGenParticle *gen;
     147      GenParticle *gen;
    148148      itGen.Reset();
    149       while( (gen = (TRootGenParticle*) itGen.Next()) )
     149      while( (gen = (GenParticle*) itGen.Next()) )
    150150        {
    151151          PID      = gen->PID;      // particle HEP ID number
     
    155155          D1       = gen->D1;       // particle 1st daughter
    156156          D2       = gen->D2;       // particle 2nd daughter
    157           Charge = gen->getCharge();   // electrical charge
     157          Charge = gen->Charge;   // electrical charge
    158158         
    159159          T      = gen->T;        // particle vertex position (t component)
Note: See TracChangeset for help on using the changeset viewer.