12 #ifndef ROOT_TGeoTrack 13 #define ROOT_TGeoTrack 15 #ifndef ROOT_TVirtualGeoTrack 19 #ifndef ROOT_TPolyLine3D Int_t SearchPoint(Double_t time, Int_t istart=0) const
Search index of track point having the closest time tag smaller than TIME.
TGeoTrack()
-*-*-*-*-*-*-*-*-*-*Tracks default constructor-*-*-*-*-*-*-*-* *-* ========================== ...
virtual void PaintCollectTrack(Double_t time, Double_t *box)
Paint just this track.
virtual void PaintCollect(Double_t time, Double_t *box)
Paint track and daughters.
virtual void Draw(Option_t *option="")
Draw this track overimposed on a geometry, according to option.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual void Paint(Option_t *option="")
Paint this track (and descendents) with current attributes.
virtual void ResetTrack()
Reset data for this track.
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)
Add a daughter track to this.
#define ClassDef(name, id)
Base class for user-defined tracks attached to a geometry.
TGeoTrack & operator=(const TGeoTrack &)
Assignment operator. NOT TO BE CALLED.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Event treatment.
virtual void PaintTrack(Option_t *option="")
Paint this track with its current attributes.
virtual void Print(Option_t *option="") const
Print some info about the track.
Using a TBrowser one can browse all ROOT objects.
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z, Double_t &t) const
Get coordinates for point I on the track.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Returns distance to track primitive for picking.
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)
Add a point on the track.
Int_t Size(Int_t &imin, Int_t &imax)
Return the number of points within the time interval specified by TGeoManager class and the correspon...
virtual void AnimateTrack(Double_t tmin=0, Double_t tmax=5E-8, Double_t nframes=200, Option_t *option="/*")
Draw animation of this track.
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
void Browse(TBrowser *b)
How-to-browse for a track.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Get some info about the track.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual ~TGeoTrack()
Destructor.
virtual Int_t GetNpoints() const
Int_t GetNdaughters() const
virtual void Sizeof3D() const
Returns 3D size for the track.
void PaintMarker(Double_t *point, Option_t *option="")
Paint current point of the track as marker.
void SetBits(Bool_t is_default=kTRUE, Bool_t is_onelevel=kFALSE, Bool_t is_all=kFALSE, Bool_t is_type=kFALSE)
Set drawing bits for this track.