class TTask;
class TObjArray;
class TH1F;
-
class AliPMDCalibData;
-
+class AliPMDPedestal;
class AliPMDCalibrator
{
public:
AliPMDCalibrator() ; // ctor
- AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator); // copy constructor
- AliPMDCalibrator &operator=(const AliPMDCalibrator &pmdcalibrator); // assignment op
-
- 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:
-
+
enum
- {
- kDet = 2, // Number of Planes
- kMaxSMN = 24, // Number of Modules
- kMaxRow = 48, // Number of Rows
- kMaxCol = 96 // Number of Columns
- };
+ {
+ 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 *fHsmIso[kDet][kMaxSMN]; //histos of isolated cell modulewise
- TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // histos of isolated cells cellwise
-
+ 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;
-
-ClassDef(AliPMDCalibrator,3) // description
+ AliPMDPedestal *fCalibPed; //Pedestal calibration data
+ClassDef(AliPMDCalibrator,4) //description
};
+
#endif // AliPMDCALIBRATOR_H