BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTd1AdcGainCalModule


class description - source file - inheritance tree

class BrTd1AdcGainCalModule : public BrTofCalModule

    private:
void NormalizeHistos() virtual void ReadAscii() virtual void SaveAscii() public:
BrTd1AdcGainCalModule BrTd1AdcGainCalModule() BrTd1AdcGainCalModule BrTd1AdcGainCalModule(const Char_t* name, const Char_t* title) BrTd1AdcGainCalModule BrTd1AdcGainCalModule(BrTd1AdcGainCalModule&) virtual void ~BrTd1AdcGainCalModule() virtual void Begin() static TClass* Class() virtual void DefineHistograms() virtual void Event(BrEventNode* inNode, BrEventNode* outNode) virtual void Finish() virtual void Init() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const void SetAdcCut(Float_t c = 300) void SetDefaultParameters() void SetFitStart(Float_t s = 300) void SetFitStop(Float_t s = 300) void SetMaxGain(Float_t g = 6000) void SetMinGain(Float_t g = 600) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UseGap(Bool_t gap = kTRUE)

Data Members

    private:
Float_t fMinGain reasonable min limit Float_t fMaxGain reasonable max limit Float_t fFitStart start fit at histo_max - fFitStart Float_t fFitStop stop fit at histo_max - fFitStop Bool_t fUseGap Float_t fAdcCut effective cut above pedestal for incrementing histogram requirement. TH1F** fTopAdc TH1F** fBotAdc TH1F* fTSum TH1F* fBSum

Class Description

 Class BrTd1AdcGainCalModule

 Calibration of adc gains. Moduleis copied largely following the
 BrTofAdcGainCalModule and the BrBbAdcGainCalModule.
 The modules though has to take into account the gap values ,
 and has a (better?) method for picking up the first peak.
 Note this is almost like the AdcGAinModule for the tof stuff
 and the 'small' changes needed could probably be incorporated
 into those - but for now keep as is.




____________________________________________________________________

 $Id: BrTd1AdcGainCalModule.cxx,v 1.4 2002/04/23 15:38:48 videbaek Exp $
 $Author: videbaek $
 $Date: 2002/04/23 15:38:48 $
 $Copyright: (C) 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov>


BrTd1AdcGainCalModule() : BrTofCalModule()
 Default constructor. DO NOT USE

BrTd1AdcGainCalModule(const Char_t* name, const Char_t* title) : BrTofCalModule(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)
 Per event method

void Finish()
 Job-level finalisation

void NormalizeHistos()
 private

void SaveAscii()

void ReadAscii()
 read calibration from file created by this module

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 SetAdcCut(Float_t c = 300)
                         void SetFitStart(Float_t s = 300)
                         void SetFitStop(Float_t s = 300)
                         void SetMinGain(Float_t g = 600)
                         void SetMaxGain(Float_t g = 6000)
                         void UseGap(Bool_t gap = kTRUE)
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
        BrTd1AdcGainCalModule BrTd1AdcGainCalModule(BrTd1AdcGainCalModule&)
                         void ~BrTd1AdcGainCalModule()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/04/23 15:38:48 $ by videbaek $

Validate HTML
Validate CSS