//-*- mode:c++ -*- // // $Id: BrTofPedCalModule.h,v 1.4 2001/10/15 23:16:41 ouerdane Exp $ // $Author: ouerdane $ // $Date: 2001/10/15 23:16:41 $ // #ifndef BRAT_BrTofPedCalModule #define BRAT_BrTofPedCalModule #ifndef ROOT_TProfile #include "TProfile.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif #ifndef BRAT_BrTofCalibration #include "BrTofCalibration.h" #endif #ifndef BRAT_BrDetectorParamsTof #include "BrDetectorParamsTof.h" #endif #ifndef BRAT_BrTofCalModule #include "BrTofCalModule.h" #endif #ifndef ROOT_TString #include "TString.h" #endif #ifndef ROOT_TH1 #include "TH1.h" #endif class BrTofPedCalModule : public BrTofCalModule { protected: virtual void SaveAscii(); virtual void ReadAscii(); public: BrTofPedCalModule(); BrTofPedCalModule(Char_t *Name, Char_t *Title); virtual ~BrTofPedCalModule(); virtual void DefineHistograms(); virtual void Init(); virtual void Begin(); virtual void Event(BrEventNode*, BrEventNode*); virtual void Finish(); virtual void Print(Option_t* option="B") const; // *MENU* void SetFitWindow(Float_t w = 10) { fFitWindow = w; } void SetWidthLimit(Float_t w = 10) { fWidthLimit = w; } 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 ClassDef(BrTofPedCalModule,0) // Tof pedestal Module }; #endif //////////////////////////////////////////////////// // // $Log: BrTofPedCalModule.h,v $ // Revision 1.4 2001/10/15 23:16:41 ouerdane // small changes // // Revision 1.3 2001/10/02 01:53:28 ouerdane // Added SetSaveAscii, SetLoadAscii, SetCommitAscii and updated the way parameters are tagged for Use // // Revision 1.2 2001/07/31 09:21:56 ouerdane // Removed all references to a TList member, replaced // by histogram members, declare ntuple if fNtuple is true (set // via SetNtuple) // // Revision 1.1.1.1 2001/06/21 14:55:05 hagel // Initial revision of brat2 // // Revision 1.1 2001/06/19 12:44:52 ouerdane // Added calibration classes and reconstruction classes. // Brat compiles but these classes haven't been tested in this // context. Be careful if you use them before I (DO) check if // all is ok. // // Revision 1.2 2001/06/01 10:07:48 ouerdane // This module now derives from BrTofCalModule // // Revision 1.1 2001/05/30 17:20:52 ouerdane // The TOF detector calibration package is released! // To have all kind of details about it, please consult the README file. // For trouble-shooting, bugs, comments, send email to ouerdane@nbi.dk // or brahms-tof-l@bnl.gov // Enjoy! //