17 #include <TEvePathMark.h>
18 #include <TEveVector.h>
20 #include <TMathBase.h>
29 : TEveTrack(t, label, prop)
34 TEveTrack::SetPoint(0, pos.X(), pos.Y(), pos.Z());
36 Float_t point[3] = {(Float_t)pos.X(), (Float_t)pos.Y(), (Float_t)pos.Z()};
39 TEveVector Mom(mom.Px(), mom.Py(), mom.Pz());
47 if (TMath::Abs(point.X()) > world.X())
49 if (TMath::Abs(point.Y()) > world.Y())
51 if (TMath::Abs(point.Z()) > world.Z())
53 if (TMath::IsNaN(point.X()))
55 TEveTrack::SetNextPoint(point.X(), point.Y(), point.Z());
57 Float_t hit[3] = {(Float_t)point.X(), (Float_t)point.Y(), (Float_t)point.Z()};
TVector3 GetWorldSize() const
static FairEventManager * Instance()
void SetNextPoint(const TVector3 &point)
void SetFirstPoint(const TVector3 &mom, const TVector3 &pos)