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 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];}
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;}
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
45 ClassDef(AliZDCLaserCalib,4) // ZDC LASER calibration data