9 #ifndef STJ_MC_PARTICLE_TO_ST_MU_TRACK_FOUR_VEC_H
10 #define STJ_MC_PARTICLE_TO_ST_MU_TRACK_FOUR_VEC_H
12 #include "TLorentzVector.h"
13 #include "StMuTrackFourVec.h"
14 #include "StjMCParticleList.h"
20 p.SetPtEtaPhiM(mcparticle.pt,mcparticle.eta,mcparticle.phi,mcparticle.m);
22 mctrack->_pt = mcparticle.pt;
23 mctrack->_eta = mcparticle.eta;
24 mctrack->_phi = mcparticle.phi;
25 mctrack->_m = mcparticle.m;
26 mctrack->_e = mcparticle.e;
27 mctrack->_id = mcparticle.mcparticleId;
28 mctrack->_pdg = mcparticle.pdg;
29 mctrack->_status = mcparticle.status;
30 mctrack->_firstMother = mcparticle.firstMotherId;
31 mctrack->_lastMother = mcparticle.lastMotherId;
32 mctrack->_firstDaughter = mcparticle.firstDaughterId;
33 mctrack->_lastDaughter = mcparticle.lastDaughterId;
34 return new StMuTrackFourVec(0,0,mctrack,p,0,mcparticle.mcparticleId-1,kUnknownId);
38 #endif // STJ_MC_PARTICLE_TO_ST_MU_TRACK_FOUR_VEC_H