8 #ifndef StPicoMcVertex_h
9 #define StPicoMcVertex_h
27 virtual void Print(
const Char_t *option =
"")
const;
35 Int_t
id()
const {
return mId; }
43 Float_t
time()
const {
return mTime; }
45 TVector3
position()
const {
return TVector3(mVx, mVy, mVz); }
62 void setPosition(Float_t x, Float_t y, Float_t z) { mVx = x; mVy = y; mVz = z; }
68 UShort_t mNoDaughters;
86 #endif // #define StPicoMcVertex_h
Holds information about Monte Carlo vertex.
virtual ~StPicoMcVertex()
Destructor.
Int_t idOfParentTrack() const
ID of the parent track.
void setNumberOfDaughters(Int_t ntrk)
Set number of daughter tracks.
void setPosition(Float_t x, Float_t y, Float_t z)
Set vertex position.
void setTime(Float_t time)
Set GEANT production time (ns)
virtual void Print(const Char_t *option="") const
Print MC vertex parameters.
Int_t numberOfDaughters() const
Return number of daughters.
void setIsIntermediate(Int_t interim)
Set flag of the intermediate vertex.
void setIdOfParentTrack(Int_t id)
Set ID of the parent track.
Float_t time() const
Production time.
Int_t isIntermediate() const
Return if intermediate vertex.
StPicoMcVertex()
Default constructor.
void setId(Int_t id)
Set vertex ID.
TVector3 position() const
Vertex position.
Int_t id() const
Return ID of the vertex.