]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDCalibrator.h
defects fixed
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibrator.h
index 2b9849f9b7e39b32ff9ff8b46d8d001b5d3a8a6c..32d5b96564e2f1ec9ef6b504206e00eb6232ca24 100644 (file)
@@ -6,37 +6,39 @@
 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