#define ClassDef(name, id)
Using a TBrowser one can browse all ROOT objects.
Class for user-defined tracks attached to a geometry.
virtual void Print(Option_t *option="") const
Print some info about the track.
virtual void Sizeof3D() const
Returns 3D size for the track.
virtual void Paint(Option_t *option="")
Paint this track (and descendents) with current attributes.
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 PaintCollectTrack(Double_t time, Double_t *box)
Paint just this track.
Int_t SearchPoint(Double_t time, Int_t istart=0) const
Search index of track point having the closest time tag smaller than TIME.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Event treatment.
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.
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Returns distance to track primitive for picking.
TGeoTrack & operator=(const TGeoTrack &)
Assignment operator. NOT TO BE CALLED.
virtual ~TGeoTrack()
Destructor.
virtual void Draw(Option_t *option="")
Draw this track over-imposed on a geometry, according to option.
TGeoTrack()
Default constructor.
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Get some info about the track.
virtual Int_t GetNpoints() const
void PaintMarker(Double_t *point, Option_t *option="")
Paint current point of the track as marker.
virtual TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)
Add a daughter track to this.
void Browse(TBrowser *b)
How-to-browse for a track.
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 void PaintCollect(Double_t time, Double_t *box)
Paint track and daughters.
virtual void ResetTrack()
Reset data for this track.
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)
Add a point on the track.
virtual void PaintTrack(Option_t *option="")
Paint this track with its current attributes.
virtual void AnimateTrack(Double_t tmin=0, Double_t tmax=5E-8, Double_t nframes=200, Option_t *option="/*")
Draw animation of this track.
Mother of all ROOT objects.
Base class for user-defined tracks attached to a geometry.
Int_t GetNdaughters() const
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
constexpr Double_t E()
Base of natural log: