21 #include "StMcVertex.hh"
22 #include "StMcTrack.hh"
34 mDecayMode = StDecayMode::Instance()->
Process(mcVertex);
36 mParentGeantId = mcVertex->parent()->geantId();
37 mPositiveGeantId = mcPositiveTrack->geantId();
38 mNegativeGeantId = mcNegativeTrack->geantId();
40 mParentMomentumX = mcVertex->parent()->momentum().x();
41 mParentMomentumY = mcVertex->parent()->momentum().y();
42 mParentMomentumZ = mcVertex->parent()->momentum().z();
44 mPositiveMomentumX = mcPositiveTrack->momentum().x();
45 mPositiveMomentumY = mcPositiveTrack->momentum().y();
46 mPositiveMomentumZ = mcPositiveTrack->momentum().z();
47 mPositiveCommonTpcHits = 0;
48 mPositiveSimTpcHits = mcPositiveTrack->tpcHits().size();
50 mNegativeMomentumX = mcNegativeTrack->momentum().x();
51 mNegativeMomentumY = mcNegativeTrack->momentum().y();
52 mNegativeMomentumZ = mcNegativeTrack->momentum().z();
53 mNegativeCommonTpcHits = 0;
54 mNegativeSimTpcHits = mcNegativeTrack->tpcHits().size();
56 mPositionX = mcVertex->position().x();
57 mPositionY = mcVertex->position().y();
58 mPositionZ = mcVertex->position().z();
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Int_t Process(StMcVertex *mcVertex)