73 Error(
"GetDaughterId",
"No daughter track with index %d",
index);
76 return daughter->
GetId();
92 for (
Int_t i = 0; i < nd; i++)
95 for (
Int_t i = 0; i < nd; i++) {
140 if (!strcmp(
name,
"gamma")) {
147 if (!strcmp(
name,
"pi+") || !strcmp(
name,
"proton") || !strcmp(
name,
"K+")) {
153 if (!strcmp(
name,
"pi-") || !strcmp(
name,
"K-")) {
159 if (!strcmp(
name,
"pi0") || !strcmp(
name,
"K0")) {
165 if (!strcmp(
name,
"neutron")) {
172 if (!strcmp(
name,
"Alpha") || !strcmp(
name,
"Deuteron") || !strcmp(
name,
"Triton")) {
178 if (!strcmp(
name,
"e-") || !strcmp(
name,
"mu-")) {
185 if (!strcmp(
name,
"e+") || !strcmp(
name,
"mu+")) {
Option_t Option_t SetLineWidth
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t SetLineColor
R__EXTERN TGeoManager * gGeoManager
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
void SetPdgName(Int_t pdg, const char *name)
Set a name for a particle having a given pdg.
const char * GetPdgName(Int_t pdg) const
Get name for given pdg code;.
Bool_t GetTminTmax(Double_t &tmin, Double_t &tmax) const
Get time cut for drawing tracks.
void Delete(Option_t *option="") override
Remove all objects from the array AND delete all heap based objects.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Base class for user-defined tracks attached to a geometry.
const Double_t * GetFirstPoint() const
virtual Int_t GetDaughterId(Int_t index) const
Returns daughter id.
TVirtualGeoTrack * fParent
~TVirtualGeoTrack() override
Destructor.
void SetName(const char *name)
Set a default name for this track.
const Double_t * GetLastPoint() const
TVirtualGeoTrack * GetDaughter(Int_t index) const
TVirtualGeoTrack()
Virtual tracks default constructor.
virtual TVirtualGeoTrack * FindTrackWithId(Int_t id) const
Recursively search through this track for a daughter particle (at any depth) with the specified id.
Bool_t IsInTimeRange() const
True if track TOF range overlaps with time interval of TGeoManager.
const char * GetName() const override
Get the PDG name.
Int_t GetNdaughters() const