#ifndef ROOT_TGeoTrack
#define ROOT_TGeoTrack
#ifndef ROOT_TVirtualGeoTrack
#include "TVirtualGeoTrack.h"
#endif
#ifndef ROOT_TPolyLine3D
#include "TPolyLine3D.h"
#endif
class TPolyMarker3D;
class TGeoTrack : public TVirtualGeoTrack
{
public:
enum EGeoParticleActions {
kGeoPDefault = BIT(7),
kGeoPOnelevel = BIT(8),
kGeoPAllDaughters = BIT(9),
kGeoPType = BIT(10),
kGeoPDrawn = BIT(11)
};
private :
Int_t fPointsSize;
Int_t fNpoints;
Double_t *fPoints;
public:
TGeoTrack();
TGeoTrack(Int_t id, Int_t pdgcode, TVirtualGeoTrack *parent=0, TObject *particle=0);
virtual ~TGeoTrack();
virtual TVirtualGeoTrack *AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0);
virtual Int_t AddDaughter(TVirtualGeoTrack *other);
virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t);
virtual void AnimateTrack(Double_t tmin=0, Double_t tmax=5E-8, Double_t nframes=200, Option_t *option="/*");
void Browse(TBrowser *b);
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t *option="");
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
virtual char *GetObjectInfo(Int_t px, Int_t py) const;
virtual Int_t GetNpoints() const {return (fNpoints>>2);}
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z, Double_t &t) const;
virtual const Double_t *GetPoint(Int_t i) const;
Int_t GetPoint(Double_t tof, Double_t *point, Int_t istart=0) const;
Bool_t IsFolder() const {return (GetNdaughters()>0)?kTRUE:kFALSE;}
virtual void Paint(Option_t *option="");
virtual void PaintCollect(Double_t time, Double_t *box);
virtual void PaintCollectTrack(Double_t time, Double_t *box);
void PaintMarker(Double_t *point, Option_t *option="");
virtual void PaintTrack(Option_t *option="");
virtual void Print(Option_t *option="") const;
virtual void ResetTrack();
Int_t SearchPoint(Double_t time, Int_t istart=0) const;
void SetBits(Bool_t is_default=kTRUE, Bool_t is_onelevel=kFALSE,
Bool_t is_all=kFALSE, Bool_t is_type=kFALSE);
Int_t Size(Int_t &imin, Int_t &imax);
virtual void Sizeof3D() const;
ClassDef(TGeoTrack, 1)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.