|
BrBfsTofMatchingModuleclass description - source file - inheritance tree class BrBfsTofMatchingModule : public BrModuleprivate: Data Membersprivate: Class DescriptionClass BrBfsTofMatchingModule Module scanning the FS track table and picking up those matching valid tof hits. Selected tracks saved into a table of BrTofTrackMatch named "BFS Matching" Algorithm (Event method): ------------------------- 1- pick up tables of H2 hits and FS tracks if one of them missing, return 2- Call method MatchTof(...) a- Select tof hits by checking the TDCs and ADCs of both tubes b- loop over tracks and sub-loop over hits i - evaluate the dX between track projection and hit position ii - minimize this distance and store the "winner" hit slat number in an array that has the dimension of the track table. It might be that the minimal dX is beyond the matching criterium, then, the hit id is -1 c- check "multiple hits" when more than 1 track share the same hit. In that case, ignore these tracks (it doesn't remove completely multiple hits since there might be one track only pointing to such hits - the other tracks having not been reconstructed) d- loop over remaining matchings and store result into table of BrTofTrackMatch object (cf class implementation file) 3- If FFS and BFS are aligned and if there are some matchings in H2 (a bit strict but ...), try the same game with H1 hits BrBfsTofMatchingModule() : BrModule() Default constructor. DO NOT USE BrBfsTofMatchingModule(const Char_t* name, const Char_t* title) : BrModule(name, title) void SetDefaultParameters() default parameters void DefineHistograms() Define histograms. They are: <fill in here> void Init() Job-level initialisation void InitParams() void CheckTofCal() void Begin() Run-level initialisation void Event(BrEventNode* inNode, BrEventNode* outNode) Per event method void CheckEfficiency(BrDataTable* trks, BrDataTable* hits) private Int_t MatchTof(ETofId id, BrDataTable* hitTab, BrDataTable* trkTab, Int_t* matchId, BrTofDig** hits, Int_t* h2Id) Int_t SelectHits(ETofId id, BrDataTable* hits, BrTofDig** sel) 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 FunctionsBool_t IsValid(Double_t x) void SetTdcRange(Double_t min = 10, Double_t max = 4000) void SetNoPedWidth(Int_t n = 50) void SetNtuple(Bool_t b = kFALSE) void SetMaxAdc(Double_t max = 100000) void SetMaxH1DX(Float_t dx = 0.5) void SetMaxH2DX(Float_t dx = 0.75) void SetT5H2XOffset(Float_t x = 0) void SetT2H1XOffset(Float_t x = 0) void SetT3H1XOffset(Float_t x = 0) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrBfsTofMatchingModule BrBfsTofMatchingModule(BrBfsTofMatchingModule&) void ~BrBfsTofMatchingModule() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|