]>
Commit | Line | Data |
---|---|---|
b1d0c8c5 | 1 | #ifndef ALIZDCLASERCALIB_H |
2 | #define ALIZDCLASERCALIB_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | ////////////////////////////////////////////////// | |
8 | // Class for ZDC signal stability monitor // | |
9 | // takes into account PTMs ageing effects // | |
10 | // used for fine adjustments in reconstruction // | |
11 | ////////////////////////////////////////////////// | |
12 | ||
13 | #include "TNamed.h" | |
14 | #include "AliCDBEntry.h" | |
15 | ||
16 | class AliZDC; | |
17 | ||
18 | class AliZDCLaserCalib: public TNamed { | |
19 | ||
20 | public: | |
21 | AliZDCLaserCalib(); | |
22 | AliZDCLaserCalib(const char* name); | |
23 | AliZDCLaserCalib(const AliZDCLaserCalib &calibda); | |
24 | AliZDCLaserCalib& operator= (const AliZDCLaserCalib &calibda); | |
25 | virtual ~AliZDCLaserCalib(); | |
26 | void Reset(); | |
27 | virtual void Print(Option_t *) const; | |
28 | // | |
b1d0c8c5 | 29 | Float_t GetSector(Int_t i) const {return fSector[i];} |
30 | Float_t GetGain(Int_t i) const {return fGain[i];} | |
31 | Float_t GetPMRefValue(Int_t i) const {return fPMRefValue[i];} | |
32 | Float_t GetPMRefWidth(Int_t i) const {return fPMRefWidth[i];} | |
33 | ||
b1d0c8c5 | 34 | void SetSector(Int_t i, Float_t ival) {fSector[i] = ival;} |
35 | void SetGain(Int_t i, Float_t ival) {fGain[i] = ival;} | |
36 | void SetfPMRefValue(Int_t i, Float_t ival){fPMRefValue[i] = ival;} | |
37 | void SetfPMRefWidth(Int_t i, Float_t ival){fPMRefWidth[i] = ival;} | |
38 | ||
39 | protected: | |
40 | // 2 reference ch. x 2 gain chain | |
6f427255 | 41 | Float_t fSector[4]; // sector fSector=1(side C), 4(sideA) |
42 | Float_t fGain[4]; // fGain=0 (high gain chain), 1 (low gain chain) | |
43 | Float_t fPMRefValue[4]; // ADC spectrum mean value | |
44 | Float_t fPMRefWidth[4]; // ADC spectrum width | |
b1d0c8c5 | 45 | // |
6f427255 | 46 | ClassDef(AliZDCLaserCalib,2) // ZDC LASER calibration data |
b1d0c8c5 | 47 | }; |
48 | ||
49 | #endif |