26 McParticle_t( Int_t pIdx, Int_t v1Idx, Int_t v2Idx, Long_t gPID, Long_t pPID, Float_t e,
const TVector3& mom,
27 Short_t sector_, Float_t uPos_, Float_t vPos_, Float_t uE_, Float_t vE_,
const TVector3& position,
28 Float_t eTow_, Float_t ePre1_, Float_t ePre2_, Float_t ePost_ );
31 void Clear(
const Option_t* );
49 Float_t eTow, ePre1, ePre2, ePost;
57 inline McParticle_t::McParticle_t( Int_t pIdx, Int_t v1Idx, Int_t v2Idx, Long_t gPID, Long_t pPID,
58 Float_t e,
const TVector3& mom, Short_t sector_,
59 Float_t uPos_, Float_t vPos_, Float_t uE_, Float_t vE_,
61 Float_t eTow_, Float_t ePre1_, Float_t ePre2_, Float_t ePost_ )
62 : parentIdx(pIdx), startVertexIdx(v1Idx), stopVertexIdx(v2Idx),
63 gId(gPID), pId(pPID), E(e), momentum(mom), sector(sector_),
64 uPos(uPos_), vPos(vPos_), uE(uE_), vE(vE_), position(pos),
65 eTow(eTow_), ePre1(ePre1_), ePre2(ePre2_), ePost(ePost_) { };
67 inline void McParticle_t::Clear(
const Option_t* ){
68 parentIdx = startVertexIdx = stopVertexIdx = -1;
73 uE = vE = eTow = ePre1 = ePre2 = ePost = 0;
75 momentum.SetXYZ(0,0,0);
76 position.SetXYZ(0,0,0);