Fork me on GitHub

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

remove double GEN pfff

Location:
trunk/Utilities/ExRootAnalysis/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/ExRootAnalysis/src/BlockClasses.cc

    r268 r270  
    3636
    3737TCompare *TRootGenParticle::fgCompare = 0;
     38TCompare *GenParticle::fgCompare = 0;
    3839TCompare *TRootElectron::fgCompare = TComparePT<TRootElectron>::Instance();
    3940TCompare *TRootMuon::fgCompare = TComparePT<TRootMuon>::Instance();
     
    9091   Px = PT*cos(Phi);
    9192   Py = PT*sin(Phi);
     93}
     94
     95TRootGenParticle::TRootGenParticle(GenParticle* part) :
     96PID(part->PID),Status(part->Status),M1(part->M1),M2(part->M2),D1(part->D1),D2(part->D2),
     97T(part->T),X(part->X),Y(part->Y),Z(part->Z),M(part->M){
     98    E=part->E;
     99    Px=part->Px;
     100    Py=part->Py;
     101    Pz=part->Pz;
     102    Eta=part->Eta;
     103    Phi=part->Phi;
     104    PT=part->PT;
     105    _initialised=false;
    92106}
    93107
  • trunk/Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h

    r268 r270  
    4242#pragma link C++ class TRootSelectorInfo;
    4343#pragma link C++ class TRootGenParticle;
     44#pragma link C++ class GenParticle;
    4445#pragma link C++ class TRootElectron;
    4546#pragma link C++ class TRootMuon;
Note: See TracChangeset for help on using the changeset viewer.