67 #include "StMcContainers.hh"
71 #include "StThreeVectorF.hh"
87 StPtrVecMcTrack& daughters() {
return *&mDaughters; }
88 const StPtrVecMcTrack& daughters()
const {
return *&mDaughters; }
89 unsigned int numberOfDaughters() {
return mDaughters.size(); }
90 unsigned int numberOfDaughters()
const {
return mDaughters.size(); }
91 StMcTrack* daughter(
unsigned int i) {
return (i < mDaughters.size() ? mDaughters[i] : 0); }
92 const StMcTrack* daughter(
unsigned int i)
const {
return (i < mDaughters.size() ? mDaughters[i] : 0); }
93 const StMcTrack* parent()
const {
return mParent; }
94 TString
const &geantVolume()
const {
return *&mGeantVolume; }
95 float tof()
const {
return mTof; }
96 long geantProcess()
const {
return mGeantProcess; }
97 long geantMedium()
const {
return mGeantMedium; }
98 long generatorProcess()
const {
return mGeneratorProcess; }
99 long key()
const {
return mKey; }
106 void setGeantVolume(
const Char_t *name);
108 void setGeantProcess(
int);
110 virtual void Print(Option_t *option=
"")
const;
114 StPtrVecMcTrack mDaughters;
116 TString mGeantVolume;
119 long mGeneratorProcess;
124 ostream& operator<<(ostream& os,
const StMcVertex&);
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...