8#include "FairMCPoint.h"
10#include "TLorentzVector.h"
14#include "TVirtualMC.h"
35 BmnHodoPoint(Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0 );
68 virtual void Print(
const Option_t* opt)
const;
70 void AddSTICK(Int_t trackID, Int_t detID, Int_t idsticksens, Int_t idstick, TVector3 pos,TVector3 mom,Double_t dt, Double_t dl, Double_t de) {
71 if(
nCopy != idsticksens)
72 cerr <<
"Warning: idsticksens not equal in BmnHodoPoint::AddSTICK";
74 cerr <<
"Warning: idstick not equal in BmnHodoPoint::AddSTICK";
75 fTrackID=trackID; fDetectorID=detID;
76 fX=pos.X();
fY=pos.Y();
fZ=pos.Z();
void MomentumOut(TVector3 &mom)
virtual void Print(const Option_t *opt) const
BmnHodoPoint(Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0)
void SetCopyMother(Short_t i)
void AddSTICK(Int_t trackID, Int_t detID, Int_t idsticksens, Int_t idstick, TVector3 pos, TVector3 mom, Double_t dt, Double_t dl, Double_t de)
Double_t GetLengthtrack() const
Short_t GetCopyMother() const
void PositionOut(TVector3 &pos)
BmnHodoPoint(const BmnHodoPoint &point)