]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDCalibrator.h
Bug fix in the constructor (thanks to A.Marin)
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibrator.h
CommitLineData
06810de6 1#ifndef ALIPMDCALIBRATOR_H
2#define ALIPMDCALIBRATOR_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6class TTask;
7class TObjArray;
8class TH1F;
06810de6 9class AliPMDCalibData;
54a2e959 10class AliPMDPedestal;
06810de6 11class AliPMDCalibrator
12{
13 public:
14 AliPMDCalibrator() ; // ctor
54a2e959 15 AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator);//copy constructor
16 AliPMDCalibrator &operator=
17 (const AliPMDCalibrator &pmdcalibrator);//assignment op
18
19 virtual ~AliPMDCalibrator() ;//destructor
06810de6 20 virtual void Exec();
54a2e959 21 void CalculateIsoCell();//calculates gains
06810de6 22 void Init();
23 Bool_t Store();
aead62a8 24 AliPMDPedestal *GetCalibPed() const {return fCalibPed;}
06810de6 25 private:
54a2e959 26
35535af7 27 enum
54a2e959 28 {
29 kDet = 2, // Number of Planes
30 kMaxSMN = 24, // Number of Modules
31 kMaxRow = 48, // Number of Rows
32 kMaxCol = 96 // Number of Columns
33 };
35535af7 34 Float_t fGainFact[kDet][kMaxSMN][kMaxRow][kMaxCol];
54a2e959 35 TH1F *fHdetIso[kDet];//histos of isolated cell planewise
36 TH1F *fHsmIso[kDet][kMaxSMN];//histos of isolated cell modulewise
37 TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol];// histos of isolated cells cellwise
38
35535af7 39 AliPMDCalibData *fCalibGain;
54a2e959 40 AliPMDPedestal *fCalibPed; //Pedestal calibration data
41ClassDef(AliPMDCalibrator,4) //description
06810de6 42};
54a2e959 43
06810de6 44#endif // AliPMDCALIBRATOR_H