1 #ifndef ALIZDCLASERCALIB_H
2 #define ALIZDCLASERCALIB_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //////////////////////////////////////////////////
8 // Class for ZDC signal stability monitor //
9 // takes into account PTMs ageing effects //
10 // used for fine adjustments in reconstruction //
11 //////////////////////////////////////////////////
14 #include "AliCDBEntry.h"
18 class AliZDCLaserCalib: public TNamed {
22 AliZDCLaserCalib(const char* name);
23 AliZDCLaserCalib(const AliZDCLaserCalib &calibda);
24 AliZDCLaserCalib& operator= (const AliZDCLaserCalib &calibda);
25 virtual ~AliZDCLaserCalib();
27 virtual void Print(Option_t *) const;
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];}
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;}
40 // 2 reference ch. x 2 gain chain
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
46 ClassDef(AliZDCLaserCalib,2) // ZDC LASER calibration data