|
BrMrsTofMatchingModuleclass description - source file - inheritance tree class BrMrsTofMatchingModule : public BrModuleprivate: Data Membersprivate: Class DescriptionClass BrMrsTofMatchingModule Module scanning the global track table and picking up those matching valid tof hits. Selected pairs saved into table of BrTofTrackMatch named "MRS Matching" Algorithm (Event method): ------------------------- 1- pick up tables of TOFW hits and MRS tracks if one of them missing, return 2- 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) Note: due to the problem in the TPM2 tracks (slopes) that causes tracks to be off at the slats at the edge, an effective correction to the hit pos is introduced. to correct the Hit - used in finding the 'best' hit. ____________________________________________________________________ $Id: BrMrsTofMatchingModule.cxx,v 1.9 2002/08/30 16:27:09 hagel Exp $ $Author: hagel $ $Date: 2002/08/30 16:27:09 $ $Copyright: (C) 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov> BrMrsTofMatchingModule() : BrModule() Default constructor. DO NOT USE BrMrsTofMatchingModule(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 InitGeo() private void CheckTofCal() void Begin() Run-level initialisation void Event(BrEventNode* inNode, BrEventNode* outNode) Per event method void Finish() Int_t GetPanelId(Int_t slat) ----------------------------------------- returns TOFW panel id given a slat number ----------------------------------------- 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 SetTpm2PanXOffset(Int_t pn, Float_t x = 0) void SetNoPedWidth(Int_t n = 50) void SetNtuple(Bool_t b = kFALSE) void SetMaxAdc(Double_t max = 100000) void SetMaxDX(Float_t dx = 1.5) void SetXHitCorr(Float_t da = 0.0095) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrMrsTofMatchingModule BrMrsTofMatchingModule(BrMrsTofMatchingModule&) void ~BrMrsTofMatchingModule() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|