73 TGeoAtt::operator=(gv);
74 TAttLine::operator=(gv);
75 TAttMarker::operator=(gv);
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+")) {
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
Mother of all ROOT objects.
TVirtualGeoTrack()
Virtual tracks default constructor.
Int_t GetNdaughters() const
TVirtualGeoTrack * fParent
virtual ~TVirtualGeoTrack()
Destructor.