|
BrBbDeltaTdcCalModuleclass description - source file - inheritance tree class BrBbDeltaTdcCalModule : public BrBbCalModule
private:
Data Members
private:
Class Description
Delta Tdc calibration module
* reference tube:
Left 37 by default
Right 31 by default
select hits in reference tubes according to
| (adc - ped) - adc MIP) | < fAdcSel * adc MIP
Fill histograms (TDC*TDCGain)i - (TDC*TDCGain)ref for hits i such
that adc/adcMIP > threshold
This module can also deal with the INEL counters that were used for
the pp running. Since they only have a TDC signal, but otherwise are
like the BB (having a left and Right modules) same data structure this is the
best palce to insert the stuff. It is concievabel ADC signals may be added
for subsequent run periods.
The ref tubes here is 13. Only tubes 13-16 can be used in the present algortihm.
Due to halo background the difference spectra has often two peaks. The alogorithm
selects a fir range. The offsets are kind of hard-wired into the setup. A better way
would be to find the first 'real' peak. For ring larger than the reference tube ring
it will be the top peak, and for rings lower it will be the lower peak.
BrBbDeltaTdcCalModule() : BrBbCalModule() Default constructor. DO NOT USE BrBbDeltaTdcCalModule(const Char_t* name, const Char_t* title) : BrBbCalModule(name, title) Named Constructor void SetDefaultParameters() 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) void Process(BrDataTable* hits, BrBbDig* ref) private method BrBbDig* FindReference(BrDataTable* hits) private method void End() Run-level finalisation void Finish() Job-level finalisation This module also is useful for the pp Inel counters The time differences can be pretty large, and in particular for the left rings the data were plagued by considerable amount of 'background ie. halo from the wrong direction. The correct peak was then NOT always the one at the maximum in the spectrum (but should usualy be). The algortim to find peaks is to use the TSpectrum class and looking for two peaks If there are two present it will pick the proper one by void SaveAscii() save pedestal to ascii file 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 Functions
void SetMinTdc(Float_t min = 10)
void SetMaxTdc(Float_t max = 3500)
void SetEnergyThreshold(Float_t t = 0.8)
void SetFitWindow(Float_t f = 5)
void SetAdcSel(Float_t s = 0.1)
void SetNtuple(Bool_t b = kFALSE)
void SetUseSlewing(Bool_t b = kFALSE)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrBbDeltaTdcCalModule BrBbDeltaTdcCalModule(BrBbDeltaTdcCalModule&)
void ~BrBbDeltaTdcCalModule()
|
||||||
|
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|