library: libGeom
#include "TVirtualGeoTrack.h"


class description - header file - source file
viewCVS header - viewCVS source

class TVirtualGeoTrack: public TObject, public TGeoAtt, public TAttLine, public TAttMarker

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

voidTObject::AbstractMethod(const char* method) const
virtual Int_tAddDaughter(TVirtualGeoTrack* other)
virtual TVirtualGeoTrack*AddDaughter(Int_t id, Int_t pdgcode, TObject* particle = 0)
virtual voidAddPoint(Double_t x, Double_t y, Double_t z, Double_t t)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TVirtualGeoTrack*GetDaughter(Int_t index) const
virtual Int_tGetDaughterId(Int_t index) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const Double_t*GetFirstPoint() const
virtual const char*TObject::GetIconName() const
Int_tGetId() const
const Double_t*GetLastPoint() const
Int_tGetLastPoint(Double_t& x, Double_t& y, Double_t& z, Double_t& t) const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
TVirtualGeoTrack*GetMother() const
TObject*GetMotherParticle() const
virtual const char*GetName() const
Int_tGetNdaughters() const
virtual Int_tGetNpoints() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetParentId() const
TObject*GetParticle() const
Int_tGetPDG() const
virtual const Double_t*GetPoint(Int_t i) const
virtual Int_tGetPoint(Int_t i, Double_t& x, Double_t& y, Double_t& z, Double_t& t) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasPoints() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tTGeoAtt::IsActive() const
Bool_tTGeoAtt::IsActiveDaughters() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsInTimeRange() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGeoAtt::IsVisBranch() const
Bool_tTGeoAtt::IsVisContainers() const
Bool_tTGeoAtt::IsVisDaughters() const
Bool_tTGeoAtt::IsVisible() const
Bool_tTGeoAtt::IsVisLeaves() const
Bool_tTGeoAtt::IsVisOnly() const
Bool_tTGeoAtt::IsVisRaytrace() const
Bool_tTGeoAtt::IsVisStreamed() const
Bool_tTGeoAtt::IsVisTouched() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TVirtualGeoTrack&operator=(const TVirtualGeoTrack&)
virtual voidPaint(Option_t* option = "")
virtual voidPaintCollect(Double_t, Double_t*)
virtual voidPaintCollectTrack(Double_t, Double_t*)
virtual voidPaintTrack(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTGeoAtt::ResetAttBit(UInt_t f)
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual voidResetTrack()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTGeoAtt::SetActiveDaughters(Bool_t flag = kTRUE)
voidTGeoAtt::SetActivity(Bool_t flag = kTRUE)
voidTGeoAtt::SetAttBit(UInt_t f)
voidTGeoAtt::SetAttBit(UInt_t f, Bool_t set)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetId(Int_t id)
virtual voidTAttLine::SetLineAttributes()
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
virtual voidTAttMarker::SetMarkerAttributes()
virtual voidTAttMarker::SetMarkerColor(Color_t tcolor = 1)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
voidSetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
voidTGeoAtt::SetOptimization(Option_t* option)
voidSetParent(TVirtualGeoTrack* parent)
virtual voidSetParticle(TObject* particle)
virtual voidSetPDG(Int_t pdgcode)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGeoAtt::SetVisContainers(Bool_t flag = kTRUE)
voidTGeoAtt::SetVisDaughters(Bool_t vis = kTRUE)
virtual voidTGeoAtt::SetVisibility(Bool_t vis = kTRUE)
virtual voidTGeoAtt::SetVisLeaves(Bool_t flag = kTRUE)
virtual voidTGeoAtt::SetVisOnly(Bool_t flag = kTRUE)
voidTGeoAtt::SetVisRaytrace(Bool_t flag = kTRUE)
voidTGeoAtt::SetVisStreamed(Bool_t vis = kTRUE)
voidTGeoAtt::SetVisTouched(Bool_t vis = kTRUE)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTGeoAtt::TestAttBit(UInt_t f) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
enum TGeoAtt::[unnamed] { kBitMask
enum TGeoAtt::EGeoVisibilityAtt { kVisOverride
enum TGeoAtt::EGeoActivityAtt { kActOverride
enum TGeoAtt::EGeoOptimizationAtt { kUseBoundingBox
enum TGeoAtt::EGeoSavePrimitiveAtt { kSavePrimitiveAtt
Int_tfPDGtrack pdg code
Int_tfIdtrack id
TVirtualGeoTrack*fParentid of parent
TObject*fParticleparticle for this track
TObjArray*fTracksdaughter tracks
UInt_tTGeoAtt::fGeoAttoption flags
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttMarker::fMarkerColorMarker color index
Style_tTAttMarker::fMarkerStyleMarker style
Size_tTAttMarker::fMarkerSizeMarker size

Class Description

const char * GetName()
 Get the PDG name.
Bool_t IsInTimeRange()
 True if track TOF range overlaps with time interval of TGeoManager
void SetName(const char *name)
 Set a default name for this track.
TVirtualGeoTrack * AddDaughter(Int_t id, Int_t pdgcode, TObject *particle=0)
Int_t AddDaughter(TVirtualGeoTrack *other)
void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)
Int_t GetId()
{return fId;}
Int_t GetDaughterId(Int_t index)
{return GetDaughter(index)->GetId();}
TVirtualGeoTrack * GetDaughter(Int_t index)
{return (TVirtualGeoTrack*)fTracks->At(index);}
TVirtualGeoTrack * GetMother()
{return fParent;}
TObject * GetMotherParticle()
{return (fParent)?fParent->GetParticle():0;}
Int_t GetNdaughters()
{return (fTracks)?fTracks->GetEntriesFast():0;}
Int_t GetNpoints()
Int_t GetParentId()
{return (fParent)?fParent->GetId():-1;}
TObject * GetParticle()
{return fParticle;}
Int_t GetPDG()
{return fPDG;}
Int_t GetLastPoint(Double_t &x, Double_t &y, Double_t &z, Double_t &t)
{return GetPoint(GetNpoints()-1,x,y,z,t);}
const Double_t * GetFirstPoint()
{return GetPoint(0);}
const Double_t * GetLastPoint()
{return GetPoint(GetNpoints()-1);}
Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z, Double_t &t)
const Double_t * GetPoint(Int_t i)
Bool_t HasPoints()
{return (GetNpoints()==0)?kFALSE:kTRUE;}
void Paint(Option_t *option="")
void PaintCollect(Double_t /*time*/, Double_t * /*box*/)
void PaintCollectTrack(Double_t /*time*/, Double_t * /*box*/)
void PaintTrack(Option_t *option="")
void ResetTrack()
void SetParticle(TObject *particle)
void SetParent(TVirtualGeoTrack *parent)
{fParent = parent;}
void SetId(Int_t id)
{fId = id;}
void SetPDG(Int_t pdgcode)
{fPDG = pdgcode;}

Author: Andrei Gheata 2003/04/10
Last update: root/geom:$Name: $:$Id: TVirtualGeoTrack.cxx,v 1.2 2005/11/18 16:07:59 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

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.