1#include "KV3DGeoTrack.h"
34 SetPoint(
n, point[0], point[1], point[2]);
94 pm->
SetPoint(0, coords[0], coords[1], coords[2]);
111 if (fZ == 0)
return kBlue;
112 else if (fZ == 1)
return kRed;
113 if (fZ == 2)
return kGreen;
116 if (fZ < 20)
return kCyan;
Visualise particle trajectories through array geometry.
virtual const Text_t * GetName() const
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual Text_t * GetObjectInfo(Int_t px, Int_t py) const
TVirtualGeoTrack * fTrack
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
void Draw(Option_t *option="")
Override Draw to add a TPolyMarker3D at the end of the track.
virtual Color_t GetLineColor() const
virtual void SetLineWidth(Width_t lwidth)
virtual void SetLineColor(Color_t lcolor)
virtual void SetMarkerColor(Color_t mcolor=1)
virtual void SetMarkerSize(Size_t msize=1)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual char * GetObjectInfo(Int_t px, Int_t py) const
virtual void SetPoint(Int_t point, Double_t x, Double_t y, Double_t z)
Int_t GetLastPoint() const
void Draw(Option_t *option="") override
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
void SetPoint(Int_t n, Double_t x, Double_t y, Double_t z)
virtual void SetName(const char *name)
void Draw(Option_t *option="") override
virtual Int_t GetNpoints() const=0
virtual const Double_t * GetPoint(Int_t i) const=0
const char * GetName() const override