library: libGeom #include "TVirtualGeoTrack.h"

# TVirtualGeoTrack

class description - source file - inheritance tree (.pdf)

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

| Inheritance Chart:
`TObject`
`TGeoAtt`
`TAttLine`
`TAttMarker`
| <- | `TVirtualGeoTrack` |
<- |
`TGeoTrack` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        public:

                            virtual ~TVirtualGeoTrack()
          virtual TVirtualGeoTrack* AddDaughter(Int_t id, Int_t pdgcode, TObject* particle = 0)
                      virtual Int_t AddDaughter(TVirtualGeoTrack* other)
                       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
                  TVirtualGeoTrack& operator=(const TVirtualGeoTrack&)
                       virtual void Paint(Option_t* option = "")
                       virtual void PaintCollect(Double_t, Double_t*)
                       virtual void PaintCollectTrack(Double_t, Double_t*)
                       virtual void PaintTrack(Option_t* option = "")
                       virtual void ResetTrack()
                               void SetId(Int_t id)
                               void SetName(const char* name)
                               void SetParent(TVirtualGeoTrack* parent)
                       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

## 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)
                        Int_t AddDaughter(TVirtualGeoTrack* other)
                         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(Option_t* option = "")
                         void PaintCollect(Double_t, Double_t*)
                         void PaintCollectTrack(Double_t, Double_t*)
                         void PaintTrack(Option_t* option = "")
                         void ResetTrack()
                         void SetParticle(TObject* particle)
                         void SetParent(TVirtualGeoTrack* parent)
                         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)
            TVirtualGeoTrack& operator=(const TVirtualGeoTrack&)

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. *