60 fParent(other.fParent),
61 fParticle(other.fParticle),
62 fTracks(other.fTracks)
103 Error(
"GetDaughterId",
"No daughter track with index %d", index);
106 return daughter->
GetId();
123 for (
Int_t i=0; i<nd; i++) {
148 if (!timecut)
return kTRUE;
150 if (!point)
return kFALSE;
151 if (point[3]>tmax)
return kFALSE;
153 if (point[3]<tmin)
return kFALSE;
163 if (!strcmp(name,
"gamma")) {
170 if (!strcmp(name,
"pi+") || !strcmp(name,
"proton") || !strcmp(name,
"K+")) {
176 if (!strcmp(name,
"pi-") || !strcmp(name,
"K-")) {
182 if (!strcmp(name,
"pi0") || !strcmp(name,
"K0")) {
188 if (!strcmp(name,
"neutron")) {
195 if (!strcmp(name,
"Alpha") || !strcmp(name,
"Deuteron") || !strcmp(name,
"Triton")) {
201 if (!strcmp(name,
"e-") || !strcmp(name,
"mu-")) {
208 if (!strcmp(name,
"e+") || !strcmp(name,
"mu+")) {
virtual void SetLineWidth(Width_t lwidth)
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 Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
const Double_t * GetLastPoint() const
const Double_t * GetFirstPoint() const
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
ClassImp(TVirtualGeoTrack) TVirtualGeoTrack
*-*-*-*-*-*-*-*-*-*-*Virtual tracks default constructor*-*-*-*-*-*-*-*-* *-* ========================...
virtual void SetMarkerColor(Color_t mcolor=1)
TObject & operator=(const TObject &rhs)
TObject assignment operator.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void SetLineColor(Color_t lcolor)
void SetPdgName(Int_t pdg, const char *name)
Set a name for a particle having a given pdg.
void SetName(const char *name)
Set a default name for this track.
const char * GetPdgName(Int_t pdg) const
Get name for given pdg code;.
R__EXTERN TGeoManager * gGeoManager
TVirtualGeoTrack & operator=(const TVirtualGeoTrack &)
Assignment operator. NOT TO BE CALLED.
virtual void SetLineStyle(Style_t lstyle)
Binding & operator=(OUT(*fun)(void))
Mother of all ROOT objects.
TVirtualGeoTrack * GetDaughter(Int_t index) const
virtual const char * GetName() const
Get the PDG name.
TVirtualGeoTrack * fParent
Bool_t GetTminTmax(Double_t &tmin, Double_t &tmax) const
Get time cut for drawing tracks.
virtual ~TVirtualGeoTrack()
Destructor.