]>
Commit | Line | Data |
---|---|---|
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 | // | |
29 | Int_t GetDetector(Int_t i) const {return fDetector[i];} | |
30 | Int_t GetSector(Int_t i) const {return fSector[i];} | |
31 | Float_t GetPMValue(Int_t i) const {return fPMValue[i];} | |
32 | Float_t GetPMWidth(Int_t i) const {return fPMWidth[i];} | |
33 | ||
34 | void SetDetector(Int_t i, Int_t ival) {fDetector[i] = ival;} | |
35 | void SetSector(Int_t i, Int_t ival) {fSector[i] = ival;} | |
36 | void SetfPMValue(Int_t i, Float_t ival) {fPMValue[i] = ival;} | |
37 | void SetfPMWidth(Int_t i, Float_t ival) {fPMWidth[i] = ival;} | |
38 | ||
39 | protected: | |
40 | Int_t fDetector[24];// detector code | |
41 | Int_t fSector[24]; // sector in detector (=5 for reference PMs) | |
42 | Float_t fPMValue[24]; // ADC spectrum mean value | |
43 | Float_t fPMWidth[24]; // ADC spectrum width | |
44 | // | |
45 | ClassDef(AliZDCLaserCalib,4) // ZDC LASER calibration data | |
46 | }; | |
47 | ||
48 | #endif |