Fork me on GitHub

Ignore:
Timestamp:
May 6, 2009, 8:59:32 PM (15 years ago)
Author:
severine ovyn
Message:

first test HepMC

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

Legend:

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

    r318 r351  
    3636
    3737TCompare *TRootGenParticle::fgCompare = 0;
    38 TCompare *GenParticle::fgCompare = 0;
     38TCompare *TRootC::GenParticle::fgCompare = 0;
    3939TCompare *TRootElectron::fgCompare = TComparePT<TRootElectron>::Instance();
    4040TCompare *TRootMuon::fgCompare = TComparePT<TRootMuon>::Instance();
     
    9393}
    9494
     95namespace TRootC {
    9596GenParticle::GenParticle(const TRootGenParticle& p) :
    9697 PID(p.PID), Status(p.Status), M1(p.M1), M2(p.M2), D1(p.D1), D2(p.D2), Charge(p.Charge),
    9798 T(p.T), X(p.X), Y(p.Y), Z(p.Z), M(p.M) {
    9899}
     100}
    99101
    100 TRootGenParticle::TRootGenParticle(GenParticle* part) :
     102TRootGenParticle::TRootGenParticle(TRootC::GenParticle* part) :
    101103PID(part->PID),Status(part->Status),M1(part->M1),M2(part->M2),D1(part->D1),D2(part->D2),
    102104T(part->T),X(part->X),Y(part->Y),Z(part->Z),M(part->M){
  • trunk/Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h

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