]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDCalibrator.h
This update contains the Full ACORDE Geometry and raw Data
[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;
9
10class AliPMDCalibData;
11
12class AliPMDCalibrator
13{
14 public:
15 AliPMDCalibrator() ; // ctor
a48edddd 16 AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator); // copy constructor
17 AliPMDCalibrator &operator=(const AliPMDCalibrator &pmdcalibrator); // assignment op
18
06810de6 19 virtual ~AliPMDCalibrator() ; // dtor
20 virtual void Exec();
21 void CalculateIsoCell(); //calculates gains
22 void Init();
23 Bool_t Store();
24
25 private:
06810de6 26
35535af7 27 enum
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 };
34 Float_t fGainFact[kDet][kMaxSMN][kMaxRow][kMaxCol];
35 TH1F *fHsmIso[kDet][kMaxSMN]; //histos of isolated cell modulewise
36 TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // histos of isolated cells cellwise
37
38 AliPMDCalibData *fCalibGain;
39
40ClassDef(AliPMDCalibrator,3) // description
06810de6 41};
42#endif // AliPMDCALIBRATOR_H