105 Error(
"GetDaughterId",
"No daughter track with index %d", index);
108 return daughter->
GetId();
125 for (
Int_t i=0; i<nd; i++) {
150 if (!timecut)
return kTRUE;
152 if (!point)
return kFALSE;
153 if (point[3]>tmax)
return kFALSE;
155 if (point[3]<tmin)
return kFALSE;
165 if (!strcmp(name,
"gamma")) {
172 if (!strcmp(name,
"pi+") || !strcmp(name,
"proton") || !strcmp(name,
"K+")) {
178 if (!strcmp(name,
"pi-") || !strcmp(name,
"K-")) {
184 if (!strcmp(name,
"pi0") || !strcmp(name,
"K0")) {
190 if (!strcmp(name,
"neutron")) {
197 if (!strcmp(name,
"Alpha") || !strcmp(name,
"Deuteron") || !strcmp(name,
"Triton")) {
203 if (!strcmp(name,
"e-") || !strcmp(name,
"mu-")) {
210 if (!strcmp(name,
"e+") || !strcmp(name,
"mu+")) {
const Double_t * GetLastPoint() const
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
Bool_t GetTminTmax(Double_t &tmin, Double_t &tmax) const
Get time cut for drawing tracks.
virtual const char * GetName() const
Get the PDG name.
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
Bool_t IsInTimeRange() const
True if track TOF range overlaps with time interval of TGeoManager.
Visualization and tracking attributes for volumes and nodes.
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
const char * GetPdgName(Int_t pdg) const
Get name for given pdg code;.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual TVirtualGeoTrack * FindTrackWithId(Int_t id) const
Recursively search through this track for a daughter particle (at any depth) with the specified id...
TObject & operator=(const TObject &rhs)
TObject assignment operator.
Base class for user-defined tracks attached to a geometry.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
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.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TVirtualGeoTrack * GetDaughter(Int_t index) const
R__EXTERN TGeoManager * gGeoManager
TVirtualGeoTrack & operator=(const TVirtualGeoTrack &)
Assignment operator. NOT TO BE CALLED.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
const Double_t * GetFirstPoint() const
Binding & operator=(OUT(*fun)(void))
Mother of all ROOT objects.
TVirtualGeoTrack()
Virtual tracks default constructor.
Int_t GetNdaughters() const
TVirtualGeoTrack * fParent
virtual ~TVirtualGeoTrack()
Destructor.