12 #ifndef ROOT_TVirtualGeoTrack
13 #define ROOT_TVirtualGeoTrack
15 #ifndef ROOT_TObjArray
27 #ifndef ROOT_TAttMarker
70 virtual const char *
GetName()
const;
Int_t GetNdaughters() const
Bool_t IsInTimeRange() const
True if track TOF range overlaps with time interval of TGeoManager.
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)
const Double_t * GetLastPoint() const
const Double_t * GetFirstPoint() const
Int_t GetEntriesFast() const
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z, Double_t &t) const =0
virtual void ResetTrack()=0
TObject * GetMotherParticle() const
TVirtualGeoTrack * GetMother() const
void SetName(const char *name)
Set a default name for this track.
TObject * GetParticle() const
virtual void PaintCollect(Double_t, Double_t *)
TVirtualGeoTrack & operator=(const TVirtualGeoTrack &)
Assignment operator. NOT TO BE CALLED.
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)=0
virtual void Paint(Option_t *option="")=0
This method must be overridden if a class wants to paint itself.
Mother of all ROOT objects.
virtual void PaintTrack(Option_t *option="")=0
TVirtualGeoTrack * GetDaughter(Int_t index) const
virtual Int_t GetNpoints() const =0
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)=0
virtual const char * GetName() const
Get the PDG name.
TObject * At(Int_t idx) const
Int_t GetParentId() const
virtual void SetParticle(TObject *particle)
Int_t GetLastPoint(Double_t &x, Double_t &y, Double_t &z, Double_t &t) const
TVirtualGeoTrack * fParent
void SetParent(TVirtualGeoTrack *parent)
virtual ~TVirtualGeoTrack()
Destructor.
virtual void PaintCollectTrack(Double_t, Double_t *)