12#ifndef ROOT_TVirtualGeoTrack
13#define ROOT_TVirtualGeoTrack
52 virtual const char *
GetName()
const;
#define ClassDef(name, id)
Visualization and tracking attributes for volumes and nodes.
Int_t GetEntriesFast() const
TObject * At(Int_t idx) const
Mother of all ROOT objects.
Base class for user-defined tracks attached to a geometry.
const Double_t * GetFirstPoint() const
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
virtual Int_t AddDaughter(TVirtualGeoTrack *other)=0
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)=0
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)=0
void SetParent(TVirtualGeoTrack *parent)
void SetName(const char *name)
Set a default name for this track.
TVirtualGeoTrack * GetMother() const
virtual void Paint(Option_t *option="")=0
This method must be overridden if a class wants to paint itself.
virtual const char * GetName() const
Get the PDG name.
virtual void ResetTrack()=0
const Double_t * GetLastPoint() const
virtual void SetParticle(TObject *particle)
TVirtualGeoTrack * GetDaughter(Int_t index) const
TVirtualGeoTrack()
Virtual tracks default constructor.
virtual void PaintCollect(Double_t, Double_t *)
TVirtualGeoTrack & operator=(const TVirtualGeoTrack &)
Assignment operator. NOT TO BE CALLED.
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.
virtual ~TVirtualGeoTrack()
Destructor.
TObject * GetMotherParticle() const
virtual void PaintTrack(Option_t *option="")=0
virtual void PaintCollectTrack(Double_t, Double_t *)
Int_t GetNdaughters() const