|
BrTpcTrackFollowModuleclass description - source file - inheritance tree class BrTpcTrackFollowModule : public BrTpcTrackModuleprivate: Data Membersprivate: Class DescriptionBrTpcTrackFollowModule() : BrTpcTrackModule() Default constructor. DO NOT USE BrTpcTrackFollowModule(const Char_t* name, const Char_t* title) : BrTpcTrackModule(name, title) Named Constructor void DefineHistograms() Define histograms. They are: <fill in here> void Init() Job-level initialisation Init BrTpcTrackModule as well void Event(BrEventNode* inNode, BrEventNode* outNode) Event method. First local tables and clonesarrays are cleared. Then hits are filled in the clonesarray for each row.. The algorithm loops over hits in the last row. looking at the next active row in a search window that covers the front of the TPC the following windows is determined by the fSearchWidthX - and Y - which are angles. After the tracking the outputnode is filled with the best tracks If the tracking fails because of too many local track candidates (> 5000) then the Status is set to 1 and can be accessed with GetStatus. 0 is okay. void FindTracks() Loop over rows to find tracks. Going from the back of the Tpc to the front void FindTracksFromRow(const Int_t istart, const Int_t ilast) This is the method that loops over the hits in a single row It calls BrTrackSingleHit for each hit void TrackSingleHit(const Int_t istart, const Int_t ilast) This routine tracks a single hit through all the remaining rows and forks the track candidate into more if more than 1 hit is found in the search window void FindHitsNextRow(const Int_t rowNo, const Float_t *proj, const Float_t dx1, const Float_t dx2, const Float_t dy1, const Float_t dy2, TObjArray &FoundHits) Loop over the hits in row rownumber-1 and accepts the hits in the interval proj[0] - dx1 < x < proj[0] + dx2 && proj[1] - dy1 < y < proj[1] + dy2 The hits are then stored in the array FoundHits A lot of diagnosic histograms are filled! 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 FunctionsInt_t GetMaxRowsMissed() const Double_t GetSearchWidthX() const Double_t GetSearchWidthY() const void SetMaxRowsMissed(Int_t val = 3) void SetSearchWidthX(Double_t val = 0.2) void SetSearchWidthY(Double_t val = 0.4) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrTpcTrackFollowModule BrTpcTrackFollowModule(BrTpcTrackFollowModule&) void ~BrTpcTrackFollowModule() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|