BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTpcTrackModule


class description - source file - inheritance tree

class BrTpcTrackModule : public BrModule


    protected:
virtual BrTpcTrackCandidate* AddNewTrackCandidate() virtual BrTpcTrackCandidate* AddNewTrackCandidate(BrTpcTrackCandidate* original) virtual void Clear() virtual void DeleteBadTracks() virtual void FillTrackGroups() virtual void SelectBestTracks(BrEventNode* outNode) virtual void SortHitsIntoRowTable() public:
virtual void ~BrTpcTrackModule() static TClass* Class() virtual void DefineHistograms() virtual void Event(BrEventNode* inNode, BrEventNode* outNode) virtual Int_t GetNTrackCandidates() virtual BrTpcTrackCandidate* GetTrackCandidateAt(Int_t i) virtual void Init() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const virtual void SetGhostCutOff(Int_t cut = 4) virtual void SetMaxTrackCandidates(Int_t max = 5000) virtual void SetUseCL(Bool_t value = kFALSE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Bool_t fUseCL Get Confindence Level instead of Chi2 Int_t fGhostCutOff No. of identical hits for defining two tracks as identical (same TrackGroup) Int_t fMaxTrackCandidates max number of track candidates BrDataTable* fTrackTable Output data table TObjArray* fTrackCandidates track candidates Int_t fNTrackCandidates Number of track candidates TObjArray* fTrackGroups track groups Int_t fNTrackGroups Number of TrackGroups TH1F* hNtracks No of track pr event TH1F* hNhits No of hits pr track TH1F* hChi2 Chi^2 for each track TH1F* hCL Confidence Level for each track TH1F* hVecErrX Error on the slope (x) TH1F* hVecErrY Error on slope (y) TH1F* hdevx Deviation of hits from fit (x) TH1F* hdevy Deviation of hits from fit (y) TH2F* hdevxvsrow Deviation of hits from fit (x) TH2F* hdevyvsrow Deviation of hits from fit (y) TH1F* hdevRowx[20] Deviation of hits from fit vs row (x) TH1F* hdevRowy[20] Deviation of hits from fit vs row (y) TH1F* hX Distribution in X TH1F* hY Distribution in Y protected:
BrDataTable* fHitTable Input data table (BrTpcHit) BrDetectorParamsTPC* fParams Tpc Detector Parameters TObjArray* fHitsInRow Array of Hits for each active row. Int_t fStatus Status of tracking (0=ok, 1=failed) TH1F* hStatus Status of tracking code


See also

BrTpcTrackFollowModule

Class Description

 This is the base class for doing all tracking in the Tpcs
 The methods are used by the 2 track classes
 BrTpcTrackFollowModule
 BrTpcTrackStringModule


~BrTpcTrackModule()

void DefineHistograms()
 The dir should be choosen elsewhere fx BrTpcTrackFollow/String.


void Init()
 Job-level initialisation

AddNewTrackCandidate()
 Add new track to candidate list if max is not exceeded

AddNewTrackCandidate(BrTpcTrackCandidate *original)
 Add new copy of track to candidate list if max is not exceeded

DeleteBadTracks()
 Find tracks marked in track table as bad, delete them,
 and compress the track table

void Clear()
 Delete entries of BrClonesArray(s) owned by this module.


void FillTrackGroups()
 Create the different groups of tracks group. i.e. those localtracks
 that has overlapping hits. Tracks in a track group are considered
 identical (only 1 is real, the rest being ghosts).
 The ghost busting is done at a later stage when the DetectorTracks
 are filled.
 For this method to work the ghost cut off should be related
 to the number of planes etc.

 The algorithm could be refined since it is only the first track
 in a track group that is matched to the rest.


void SelectBestTracks(BrEventNode *outNode)
 Method to add the best tracks to the output node
 This method assumes that the tracks have been grouped into track
 groups of similar tracks (tracks sharing many (>= fGhostCutOff)
 hits with FillTrackGroups
 Among these the track with the lowest chi**2 is selected and
 added to the out table

SortHitsIntoRowTable()
 Organize the list of sorted hits into the TobjArray of
 hits per row.

 Algorithm:
  Loop over all Hits. Lookup active row number from actual number.
  Add Hits to the array of fRowHits
  Initial implementation uses rownumbers not active row numbers. This
  implies a few more (empty) TObArray that are created but bot used.


void Print(Option_t* option) const
 Print module information
 See BrModule::Print for options.
 In addition this module defines the Option:
 <fill in here>



Inline Functions


                       Int_t GetNTrackCandidates()
        BrTpcTrackCandidate* GetTrackCandidateAt(Int_t i)
                        void Event(BrEventNode* inNode, BrEventNode* outNode)
                        void SetGhostCutOff(Int_t cut = 4)
                        void SetMaxTrackCandidates(Int_t max = 5000)
                        void SetUseCL(Bool_t value = kFALSE)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/06/13 18:49:10 $ by videbaek $

Validate HTML
Validate CSS