TVirtualGeoTrack


class description - source file - inheritance tree

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


    public:
virtual ~TVirtualGeoTrack() virtual TVirtualGeoTrack* AddDaughter(Int_t id, Int_t pdgcode, TObject* particle = 0) virtual void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t) static TClass* Class() TVirtualGeoTrack* GetDaughter(Int_t index) const virtual Int_t GetDaughterId(Int_t index) const const Double_t* GetFirstPoint() const Int_t GetId() const Int_t GetLastPoint(Double_t& x, Double_t& y, Double_t& z, Double_t& t) const const Double_t* GetLastPoint() const TVirtualGeoTrack* GetMother() const TObject* GetMotherParticle() const virtual const char* GetName() const Int_t GetNdaughters() const virtual Int_t GetNpoints() const Int_t GetParentId() const TObject* GetParticle() const Int_t GetPDG() const virtual Int_t GetPoint(Int_t i, Double_t& x, Double_t& y, Double_t& z, Double_t& t) const virtual const Double_t* GetPoint(Int_t i) const Bool_t HasPoints() const virtual TClass* IsA() const Bool_t IsInTimeRange() const virtual void Paint(const Option_t* option) virtual void PaintCollect(Double_t time, Double_t* box) virtual void PaintCollectTrack(Double_t time, Double_t* box) virtual void PaintTrack(const Option_t* option) virtual void ResetTrack() void SetId(Int_t id) void SetName(const char* name) virtual void SetParticle(TObject* particle) virtual void SetPDG(Int_t pdgcode) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fPDG track pdg code Int_t fId track id TVirtualGeoTrack* fParent id of parent TObject* fParticle particle for this track TObjArray* fTracks daughter tracks


See also

TGeoTrack

Class Description


~TVirtualGeoTrack()

const char* GetName() const

Bool_t IsInTimeRange() const
 True if track TOF range overlaps with time interval of TGeoManager

void SetName(const char *name)



Inline Functions


        TVirtualGeoTrack* AddDaughter(Int_t id, Int_t pdgcode, TObject* particle = 0)
                     void AddPoint(Double_t x, Double_t y, Double_t z, Double_t t)
                    Int_t GetId() const
                    Int_t GetDaughterId(Int_t index) const
        TVirtualGeoTrack* GetDaughter(Int_t index) const
        TVirtualGeoTrack* GetMother() const
                 TObject* GetMotherParticle() const
                    Int_t GetNdaughters() const
                    Int_t GetNpoints() const
                    Int_t GetParentId() const
                 TObject* GetParticle() const
                    Int_t GetPDG() const
                    Int_t GetLastPoint(Double_t& x, Double_t& y, Double_t& z, Double_t& t) const
          const Double_t* GetFirstPoint() const
          const Double_t* GetLastPoint() const
                    Int_t GetPoint(Int_t i, Double_t& x, Double_t& y, Double_t& z, Double_t& t) const
          const Double_t* GetPoint(Int_t i) const
                   Bool_t HasPoints() const
                     void Paint(const Option_t* option)
                     void PaintCollect(Double_t time, Double_t* box)
                     void PaintCollectTrack(Double_t time, Double_t* box)
                     void PaintTrack(const Option_t* option)
                     void ResetTrack()
                     void SetParticle(TObject* particle)
                     void SetId(Int_t id)
                     void SetPDG(Int_t pdgcode)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)


Author: Andrei Gheata 2003/04/10
Last update: root/geom:$Name: $:$Id: TVirtualGeoTrack.cxx,v 1.1 2003/05/07 13:32:39 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.