BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTofPedCalModule


class description - source file - inheritance tree

class BrTofPedCalModule : public BrTofCalModule


    protected:
virtual void ReadAscii() virtual void SaveAscii() public:
BrTofPedCalModule BrTofPedCalModule() BrTofPedCalModule BrTofPedCalModule(Char_t* Name, Char_t* Title) BrTofPedCalModule BrTofPedCalModule(BrTofPedCalModule&) virtual void ~BrTofPedCalModule() virtual void Begin() static TClass* Class() virtual void DefineHistograms() virtual void Event(BrEventNode*, BrEventNode*) virtual void Finish() virtual void Init() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const void SetFitWindow(Float_t w = 10) void SetWidthLimit(Float_t w = 10) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Float_t fFitWindow window for fit range around histo max Float_t fWidthLimit upper limit for reasonable ped. width TH1F** fTAdc arrays of ADC histograms TH1F** fBAdc TH1F* fTSum summary of ADC gain top tubes TH1F* fBSum summary of ADC gain bot tubes TH1F* fTSumW same for width TH1F* fBSumW idem

Class Description

 This module is devoted to the TOF detector pedestal calibration
 It initializes the calibration parameter (BrTofCalibration)
 Fill histograms during the event loops
 fit them with a gaussian during the finish method and put the
 result in the calibration parameter object

 depending on the user's desire, this module can save the stuff into
 an ascii file which can be committed to the DB
 (cf. brahms_app/do_app/tof/mm_scripts)

____________________________________________________________________

 $Id: BrTofPedCalModule.cxx,v 1.10 2002/03/21 15:04:25 ouerdane Exp $
 $Author: ouerdane $
 $Date: 2002/03/21 15:04:25 $
 $Copyright: (C) 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov>


BrTofPedCalModule() : BrTofCalModule()
 default constructor


BrTofPedCalModule(Char_t *Name, Char_t *Title) : BrTofCalModule(Name, Title)
 constructor for named object


~BrTofPedCalModule()
 destructor


void Init()
 ----------------------------------------------------------------
 Called once per session
 Get detectorParameters. Inform the parameterElementManeger about
 database tables to be used (i.e. filled).
 ----------------------------------------------------------------

void DefineHistograms()

void Begin()

void Event(BrEventNode* inNode, BrEventNode* outNode)
 Fill the histograms that hold the Pedestal spectra

 Required input e.g. : BrDataTable "DigTOF TOF1"



void Finish()
 called once per job


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 Functions


                     void SetFitWindow(Float_t w = 10)
                     void SetWidthLimit(Float_t w = 10)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        BrTofPedCalModule BrTofPedCalModule(BrTofPedCalModule&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/03/21 15:04:25 $ by ouerdane $

Validate HTML
Validate CSS