12 #ifndef ROOT_TVirtualGeoTrack 13 #define ROOT_TVirtualGeoTrack 52 virtual const char *
GetName()
const;
const Double_t * GetLastPoint() const
virtual const char * GetName() const
Get the PDG name.
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
virtual void SetPDG(Int_t pdgcode)
Bool_t IsInTimeRange() const
True if track TOF range overlaps with time interval of TGeoManager.
Visualization and tracking attributes for volumes and nodes.
TObject * GetParticle() const
TObject * At(Int_t idx) const
#define ClassDef(name, 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
virtual TVirtualGeoTrack * FindTrackWithId(Int_t id) const
Recursively search through this track for a daughter particle (at any depth) with the specified id...
Base class for user-defined tracks attached to a geometry.
Int_t GetParentId() const
Int_t GetLastPoint(Double_t &x, Double_t &y, Double_t &z, Double_t &t) const
TVirtualGeoTrack * GetMother() const
void SetName(const char *name)
Set a default name for this track.
Int_t GetEntriesFast() const
TObject * GetMotherParticle() const
TVirtualGeoTrack * GetDaughter(Int_t index) 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
const Double_t * GetFirstPoint() const
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
you should not use this method at all Int_t Int_t z
TVirtualGeoTrack()
Virtual tracks default constructor.
virtual Int_t GetNpoints() const =0
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)=0
virtual void SetParticle(TObject *particle)
Int_t GetNdaughters() const
TVirtualGeoTrack * fParent
void SetParent(TVirtualGeoTrack *parent)
virtual ~TVirtualGeoTrack()
Destructor.
virtual void PaintCollectTrack(Double_t, Double_t *)