12#ifndef ROOT_TVirtualGeoTrack
13#define ROOT_TVirtualGeoTrack
48 const char *
GetName()
const override;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Visualization and tracking attributes for volumes and nodes.
Int_t GetEntriesFast() const
TObject * At(Int_t idx) const override
Mother of all ROOT objects.
Base class for user-defined tracks attached to a geometry.
const Double_t * GetFirstPoint() const
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=nullptr)=0
Int_t GetParentId() const
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
TObject * GetParticle() const
virtual Int_t GetNpoints() const =0
TVirtualGeoTrack * fParent
~TVirtualGeoTrack() override
Destructor.
virtual Int_t AddDaughter(TVirtualGeoTrack *other)=0
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)=0
void SetParent(TVirtualGeoTrack *parent)
void Paint(Option_t *option="") override=0
This method must be overridden if a class wants to paint itself.
void SetName(const char *name)
Set a default name for this track.
TVirtualGeoTrack * GetMother() const
virtual void ResetTrack()=0
const Double_t * GetLastPoint() const
TVirtualGeoTrack(const TVirtualGeoTrack &)=delete
virtual void SetParticle(TObject *particle)
TVirtualGeoTrack * GetDaughter(Int_t index) const
TVirtualGeoTrack()
Virtual tracks default constructor.
virtual void PaintCollect(Double_t, Double_t *)
virtual const Double_t * GetPoint(Int_t i) const =0
virtual TVirtualGeoTrack * FindTrackWithId(Int_t id) const
Recursively search through this track for a daughter particle (at any depth) with the specified id.
virtual void SetPDG(Int_t pdgcode)
Int_t GetLastPoint(Double_t &x, Double_t &y, Double_t &z, Double_t &t) const
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z, Double_t &t) const =0
Bool_t IsInTimeRange() const
True if track TOF range overlaps with time interval of TGeoManager.
TObject * GetMotherParticle() const
virtual void PaintTrack(Option_t *option="")=0
const char * GetName() const override
Get the PDG name.
virtual void PaintCollectTrack(Double_t, Double_t *)
TVirtualGeoTrack & operator=(const TVirtualGeoTrack &)=delete
Int_t GetNdaughters() const