|
BrTofTimeOffsetCalModuleclass description - source file - inheritance tree class BrTofTimeOffsetCalModule : public BrTofCalModuleprivate: Data Membersprivate: Class DescriptionBrTofTimeOffsetCalModule: module for Tof Time correction The assumptiom made here is that all particles are pions with beta = 1 This means that the tof not calibrated will be aligned with t = L/c with L path length of the associated track t_not_cal = t + off => off = t_not_cal - off Select hits matcing tracks (X and Y) Cut in energy (from 0.8 to 2 MIP energy) - This cut is stiil on as default but can be disabled. It really does not make any significant differences and means that all Tof slats can be time-offset calibrated assuming the slats have been calibrated. Fill histograms with off for each tube and fit with gaussian around histo-max +/- fit window Cut in momentum is also needed (for MRS you do not want to contaminate with kaon's and protons). Such cut would also mean it can be used in FS without Cherenkov cut. ____________________________________________________________________ $Id: BrTofTimeOffsetCalModule.cxx,v 1.16 2002/08/30 16:16:40 hagel Exp $ $Author: hagel $ $Date: 2002/08/30 16:16:40 $ $Copyright: (C) 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov> ____________________________________________________________________ BrTofTimeOffsetCalModule() : BrTofCalModule() Default constructor. DO NOT USE BrTofTimeOffsetCalModule(const Char_t* name, const Char_t* title) : BrTofCalModule(name, title) Named Constructor void SetDefaultParameters() default parameters void DefineHistograms() Define histograms. They are: <fill in here> void Init() Job-level initialisation void Begin() Run-level initialisation void Event(BrEventNode* inNode, BrEventNode* outNode) Per event method Note the algortimh actually used is different if the t0 comes from either BB vertex or from the pp trigger start counters. void Finish() ----------------------------------------------------------- Fit histos with gaus ----------------------------------------------------------- void SaveAscii() void ReadAscii() 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 Functionsvoid SetMaxDY(Float_t dy = 1.) void SetMaxEnergy(Float_t e = 1.5) void SetFitWindow(Float_t f = 0.5) void SetMomentumCut(Float_t f = 1.8) void SetC1Threshold(Float_t t = 1.) void SetRichPionMass(Float_t pi = 0.1395679) void SetRichMassCut(Float_t cut = 0.05) void SetTrkCuts(Float_t dx = 100000, Float_t dy = 100000, Float_t dz = 100000) void SetTrkOffsets(Float_t x = 0, Float_t y = 0, Float_t z = 0) void SetUseBbVertex(Bool_t b = kTRUE) void SetUseTd1Time(Bool_t b = kFALSE) void SetUseTMrsTime(Bool_t b = kFALSE) void SetRequireAdc(Bool_t b = kTRUE) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrTofTimeOffsetCalModule BrTofTimeOffsetCalModule(BrTofTimeOffsetCalModule&) void ~BrTofTimeOffsetCalModule() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|