BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTrackTree


class description - source file - inheritance tree

class BrTrackTree : public TObject


    public:
BrTrackTree BrTrackTree() BrTrackTree BrTrackTree(BrTrackTree&) virtual void ~BrTrackTree() void AddBfsTrack(BrBfsTrack* bfsTrack) void AddFfsTrack(BrFfsTrack* ffsTrack) void AddMrsTrack(BrMrsTrack* mrsTrack) void AddTD1Hit(BrTofDig* td1Hit) void AddTMRSHit(BrTofDig* tmrsHit) void AddTOF1Hit(BrTofDig* tof1Hit) void AddTOF2Hit(BrTofDig* tof2Hit) void AddTOFWCalHit(BrTofDig* tofwCalHit) void AddTOFWHit(BrTofDig* tofwHit) void AddTofwPid(BrTofPid* tofwPid) void AddTPM1Track(BrDetectorTrack* tpm1Track) void AddTPM2Track(BrDetectorTrack* tpm2Track) static TClass* Class() virtual void Clear(Option_t* option) BrBbVertex* GetBbVertex() BrBfsTrack* GetBfsTrack(const Int_t i) TClonesArray* GetBfsTrackList() BrDvDig* GetDvDig() BrFfsTrack* GetFfsTrack(const Int_t i) TClonesArray* GetFfsTrackList() BrTpcFibDig* GetFibTpm2B() BrTpcFibDig* GetFibTpm2F() BrVertex* GetMRSClusterVertex() BrMrsTrack* GetMrsTrack(const Int_t i) TClonesArray* GetMrsTrackList() BrVertex* GetMrsTrackVertex() Float_t GetMultCent() Float_t GetMultMult() Int_t GetNBfsTracks() Int_t GetNFfsTracks() Int_t GetNMrsTracks() Int_t GetNTD1Hits() Int_t GetNTMRSHits() Int_t GetNTOF1Hits() Int_t GetNTOF2Hits() Int_t GetNTOFWCalHits() Int_t GetNTOFWHits() Int_t GetNTofwPid() Int_t GetNTPM1Clusters() Int_t GetNTPM1Tracks() Int_t GetNTPM2Clusters() Int_t GetNTPM2Tracks() BrBbRdo* GetRdoBB() BrZdcRdo* GetRdoZDC() Float_t GetSiCent() Int_t GetSiMult() BrTofDig* GetTD1Hit(const Int_t i) TClonesArray* GetTD1HitList() Float_t GetTileCent() Int_t GetTileMult() BrTofDig* GetTMRSHit(const Int_t i) TClonesArray* GetTMRSHitList() BrTofDig* GetTOF1Hit(const Int_t i) TClonesArray* GetTOF1HitList() BrTofDig* GetTOF2Hit(const Int_t i) TClonesArray* GetTOF2HitList() BrTofDig* GetTOFWCalHit(const Int_t i) TClonesArray* GetTOFWCalHitList() BrTofDig* GetTOFWHit(const Int_t i) TClonesArray* GetTOFWHitList() BrTofPid* GetTofwPid(const Int_t i) TClonesArray* GetTofwPidList() BrDetectorTrack* GetTPM1Track(const Int_t i) TClonesArray* GetTPM1TrackList() BrDetectorTrack* GetTPM2Track(const Int_t i) TClonesArray* GetTPM2TrackList() virtual TClass* IsA() const void Reset(Option_t* option) void SetBbVertex(BrBbVertex* bbvtx) void SetDvDig(BrDvDig* dvm) void SetEventHeader(BrEventHeader* header) void SetFibTpm2B(BrTpcFibDig* fibTpm2) void SetFibTpm2F(BrTpcFibDig* fibTpm2) void SetMRSClusterVertex(BrVertex* vertex) void SetMrsTrackVertex(BrVertex* vertex) void SetMultCent(const Float_t cent) void SetMultMult(const Float_t mult) void SetRdoBB(BrBbRdo* rdoBB) void SetRdoZDC(BrZdcRdo* rdoZDC) void SetSiCent(const Float_t cent) void SetSiMult(const Int_t mult) void SetTileCent(const Float_t cent) void SetTileMult(const Int_t mult) void SetTPM1Clusters(const Int_t nclusters) void SetTPM2Clusters(const Int_t nclusters) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
BrEventHeader fEventHeader TClonesArray* fMrsTracks TClonesArray* fFfsTracks TClonesArray* fBfsTracks TClonesArray* fTOFWHits TClonesArray* fTPM1Tracks TClonesArray* fTPM2Tracks TClonesArray* fTofwPid TClonesArray* fTD1Hits TClonesArray* fTMRSHits TClonesArray* fTOF1Hits TClonesArray* fTOF2Hits TClonesArray* fTOFWCalHits static TClonesArray* fgMrsTracks static TClonesArray* fgTPM1Tracks static TClonesArray* fgTPM2Tracks static TClonesArray* fgFfsTracks static TClonesArray* fgBfsTracks static TClonesArray* fgTOFWHits static TClonesArray* fgTOF1Hits static TClonesArray* fgTOF2Hits static TClonesArray* fgTD1Hits static TClonesArray* fgTMRSHits static TClonesArray* fgTofwPid static TClonesArray* fgTOFWCalHits Int_t fNMrsTracks Int_t fNTPM1Tracks Int_t fNTPM2Tracks Int_t fNFfsTracks Int_t fNBfsTracks Int_t fNTOFWHits Int_t fNTofwPid Int_t fNTOF1Hits Int_t fNTOF2Hits Int_t fNTD1Hits Int_t fNTMRSHits Int_t fNTOFWCalHits Int_t fNTPM1Clusters Int_t fNTPM2Clusters Int_t fTileMult Int_t fSiMult Float_t fMultMult Float_t fMultCent Float_t fTileCent Float_t fSiCent BrBbRdo fRdoBB BrZdcRdo fRdoZDC BrVertex fMrsTrackVertex BrVertex fMRSClusterVertex BrBbVertex fBbVertex BrTpcFibDig fFibTpm2F BrTpcFibDig fFibTpm2B BrDvDig fDvDig

Class Description



BrTrackTree()
 Create an Event object.
 When the constructor is invoked for the first time, the class static
 variable fgTracks is 0 and the TClonesArray fgTracks is created.

~BrTrackTree()

void AddMrsTrack(BrMrsTrack *mrsTrack)
 Add a new track to the list of tracks for this event.
 To avoid calling the very time consuming operator new for each track,
 the standard but not well know C++ operator "new with placement"
 is called. If tracks[i] is 0, a new Track object will be created
 otherwise the previous Track[i] will be overwritten.

void AddTPM1Track(BrDetectorTrack *tpm1Track)
 Add a new track to the list of tracks for this event.
 To avoid calling the very time consuming operator new for each track,
 the standard but not well know C++ operator "new with placement"
 is called. If tracks[i] is 0, a new Track object will be created
 otherwise the previous Track[i] will be overwritten.

void AddTPM2Track(BrDetectorTrack *tpm2Track)
 Add a new track to the list of tracks for this event.
 To avoid calling the very time consuming operator new for each track,
 the standard but not well know C++ operator "new with placement"
 is called. If tracks[i] is 0, a new Track object will be created
 otherwise the previous Track[i] will be overwritten.

void AddFfsTrack(BrFfsTrack *ffsTrack)
 Add a new track to the list of tracks for this event.
 To avoid calling the very time consuming operator new for each track,
 the standard but not well know C++ operator "new with placement"
 is called. If tracks[i] is 0, a new Track object will be created
 otherwise the previous Track[i] will be overwritten.

void AddBfsTrack(BrBfsTrack *bfsTrack)
 Add a new track to the list of tracks for this event.
 To avoid calling the very time consuming operator new for each track,
 the standard but not well know C++ operator "new with placement"
 is called. If tracks[i] is 0, a new Track object will be created
 otherwise the previous Track[i] will be overwritten.

void AddTOFWHit(BrTofDig *tofwHit)
Add a new TOFW hit to list of tofw hits

void AddTOFWCalHit(BrTofDig *tofwCalHit)
Add a new TOFW hit to list of tofw hits

void AddTOF1Hit(BrTofDig *tof1Hit)
Add a new TOFW hit to list of tofw hits

void AddTOF2Hit(BrTofDig *tof2Hit)
Add a new TOFW hit to list of tofw hits

void AddTD1Hit(BrTofDig *td1Hit)
Add a new TOFW hit to list of tofw hits

void AddTMRSHit(BrTofDig *tmrsHit)
Add a new TOFW hit to list of tofw hits

void AddTofwPid(BrTofPid *tofwPid)
Add a new TOFW hit to list of tofw hits

void SetEventHeader(BrEventHeader *header)

void Clear(Option_t *option)

void Reset(Option_t *option)
 Static function to reset all static objects for this event
   fgTracks->Delete(option);



Inline Functions


                    void SetRdoBB(BrBbRdo* rdoBB)
                    void SetRdoZDC(BrZdcRdo* rdoZDC)
                    void SetMrsTrackVertex(BrVertex* vertex)
                    void SetMRSClusterVertex(BrVertex* vertex)
                    void SetBbVertex(BrBbVertex* bbvtx)
                    void SetTPM1Clusters(const Int_t nclusters)
                    void SetTPM2Clusters(const Int_t nclusters)
                    void SetMultCent(const Float_t cent)
                    void SetTileCent(const Float_t cent)
                    void SetSiCent(const Float_t cent)
                    void SetTileMult(const Int_t mult)
                    void SetSiMult(const Int_t mult)
                    void SetMultMult(const Float_t mult)
                    void SetFibTpm2F(BrTpcFibDig* fibTpm2)
                    void SetFibTpm2B(BrTpcFibDig* fibTpm2)
                    void SetDvDig(BrDvDig* dvm)
                   Int_t GetNTPM1Tracks()
                   Int_t GetNTPM2Tracks()
                   Int_t GetNMrsTracks()
                   Int_t GetNFfsTracks()
                   Int_t GetNBfsTracks()
                   Int_t GetNTOFWHits()
                   Int_t GetNTofwPid()
                   Int_t GetNTOF1Hits()
                   Int_t GetNTOF2Hits()
                   Int_t GetNTD1Hits()
                   Int_t GetNTMRSHits()
                   Int_t GetNTOFWCalHits()
                   Int_t GetNTPM1Clusters()
                   Int_t GetNTPM2Clusters()
                   Int_t GetTileMult()
                   Int_t GetSiMult()
                 Float_t GetMultMult()
                 Float_t GetMultCent()
                 Float_t GetTileCent()
                 Float_t GetSiCent()
                BrBbRdo* GetRdoBB()
               BrZdcRdo* GetRdoZDC()
               BrVertex* GetMrsTrackVertex()
               BrVertex* GetMRSClusterVertex()
             BrBbVertex* GetBbVertex()
            BrTpcFibDig* GetFibTpm2F()
            BrTpcFibDig* GetFibTpm2B()
                BrDvDig* GetDvDig()
             BrMrsTrack* GetMrsTrack(const Int_t i)
             BrFfsTrack* GetFfsTrack(const Int_t i)
             BrBfsTrack* GetBfsTrack(const Int_t i)
        BrDetectorTrack* GetTPM1Track(const Int_t i)
        BrDetectorTrack* GetTPM2Track(const Int_t i)
               BrTofDig* GetTOFWHit(const Int_t i)
               BrTofPid* GetTofwPid(const Int_t i)
               BrTofDig* GetTOF1Hit(const Int_t i)
               BrTofDig* GetTOF2Hit(const Int_t i)
               BrTofDig* GetTD1Hit(const Int_t i)
               BrTofDig* GetTMRSHit(const Int_t i)
               BrTofDig* GetTOFWCalHit(const Int_t i)
           TClonesArray* GetMrsTrackList()
           TClonesArray* GetFfsTrackList()
           TClonesArray* GetBfsTrackList()
           TClonesArray* GetTOFWHitList()
           TClonesArray* GetTOF1HitList()
           TClonesArray* GetTOF2HitList()
           TClonesArray* GetTD1HitList()
           TClonesArray* GetTMRSHitList()
           TClonesArray* GetTPM1TrackList()
           TClonesArray* GetTPM2TrackList()
           TClonesArray* GetTofwPidList()
           TClonesArray* GetTOFWCalHitList()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
             BrTrackTree BrTrackTree(BrTrackTree&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/03/21 21:26:42 $ by ejkim $

Validate HTML
Validate CSS