Calibration objects for EMC and CPV
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEmcCalibData.h
CommitLineData
fc6706cb 1#ifndef ALIPHOSEMCCALIBDATA_H
2#define ALIPHOSEMCCALIBDATA_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 EMC calibration //
9////////////////////////////////////////////////
10
11#include "TNamed.h"
12
13class AliPHOSEmcCalibData: public TNamed {
14
15 public:
16 AliPHOSEmcCalibData();
17 AliPHOSEmcCalibData(const char* name);
18 AliPHOSEmcCalibData(const AliPHOSEmcCalibData &calibda);
19 AliPHOSEmcCalibData& operator= (const AliPHOSEmcCalibData &calibda);
20 virtual ~AliPHOSEmcCalibData();
21 void Reset();
22 virtual void Print(Option_t *option = "") const;
23 //
24 Float_t GetADCchannelEmc(Int_t module, Int_t column, Int_t row) const;
25 Float_t GetADCpedestalEmc(Int_t module, Int_t column, Int_t row) const;
26 //
27 void SetADCchannelEmc(Int_t module, Int_t column, Int_t row, Float_t value);
28 void SetADCpedestalEmc(Int_t module, Int_t column, Int_t row, Float_t value);
29
30 protected:
31 Float_t fADCchannelEmc[5][56][64] ; // width of one EMC ADC channel in GeV ([mod][col][row])
32 Float_t fADCpedestalEmc[5][56][64] ; // value of the EMC ADC pedestal ([mod][col][row])
33 //
34 ClassDef(AliPHOSEmcCalibData,1) // PHOS EMC calibration data
35};
36
37#endif