class TTask;
class TObjArray;
class TH1F;
-
class AliPMDCalibData;
-
+class AliPMDPedestal;
class AliPMDCalibrator
{
public:
AliPMDCalibrator() ; // ctor
- virtual ~AliPMDCalibrator() ; // dtor
+ AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator);//copy constructor
+ AliPMDCalibrator &operator=
+ (const AliPMDCalibrator &pmdcalibrator);//assignment op
+
+ virtual ~AliPMDCalibrator() ;//destructor
virtual void Exec();
- void CalculateIsoCell(); //calculates gains
+ void CalculateIsoCell();//calculates gains
void Init();
Bool_t Store();
-
+ AliPMDPedestal *GetCalibPed() const {return fCalibPed;}
private:
- Float_t fGainFact[2][24][96][96];
- TH1F *fHsmIso[2][24]; //histos of isolated cell modulewise
- TH1F *fHadcIso[2][24][96][96]; // histos of isolated cells cellwise
- AliPMDCalibData *fCalibData;
-
-ClassDef(AliPMDCalibrator,1) // description
+
+ enum
+ {
+ kDet = 2, // Number of Planes
+ kMaxSMN = 24, // Number of Modules
+ kMaxRow = 48, // Number of Rows
+ kMaxCol = 96 // Number of Columns
+ };
+ Float_t fGainFact[kDet][kMaxSMN][kMaxRow][kMaxCol];
+ TH1F *fHdetIso[kDet];//histos of isolated cell planewise
+ TH1F *fHsmIso[kDet][kMaxSMN];//histos of isolated cell modulewise
+ TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol];// histos of isolated cells cellwise
+
+ AliPMDCalibData *fCalibGain;
+ AliPMDPedestal *fCalibPed; //Pedestal calibration data
+ClassDef(AliPMDCalibrator,4) //description
};
+
#endif // AliPMDCALIBRATOR_H