Adding a trigger selection combo-box to be used by the online display/reco. The combo...
[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;
e3310625 26 Float_t GetHighLowRatioEmc(Int_t module, Int_t column, Int_t row) const;
27 Float_t GetTimeShiftEmc(Int_t module, Int_t column, Int_t row) const;
bafc1087 28 Int_t GetAltroOffsetEmc(Int_t module, Int_t column, Int_t row) const;
fc6706cb 29 //
30 void SetADCchannelEmc(Int_t module, Int_t column, Int_t row, Float_t value);
31 void SetADCpedestalEmc(Int_t module, Int_t column, Int_t row, Float_t value);
e3310625 32 void SetHighLowRatioEmc(Int_t module, Int_t column, Int_t row, Float_t value);
33 void SetTimeShiftEmc(Int_t module, Int_t column, Int_t row, Float_t value);
bafc1087 34 void SetAltroOffsetEmc(Int_t module, Int_t column, Int_t row, Int_t value);
fc6706cb 35
36 protected:
37 Float_t fADCchannelEmc[5][56][64] ; // width of one EMC ADC channel in GeV ([mod][col][row])
38 Float_t fADCpedestalEmc[5][56][64] ; // value of the EMC ADC pedestal ([mod][col][row])
e3310625 39 Float_t fHighLowRatioEmc[5][56][64]; // ratio of High/Low gain ([mod][col][row])
40 Float_t fTimeShiftEmc[5][56][64] ; // channel-by-channel t0 shift ([mod][col][row])
bafc1087 41 UInt_t fAltroOffsets[5][56][64] ; // channel-by-channel offsets udes in ZS
fc6706cb 42 //
026e21e8 43 ClassDef(AliPHOSEmcCalibData,3) // PHOS EMC calibration data
fc6706cb 44};
45
46#endif