New version of the PMD DA avoiding the creation of huge amount of histograms. Now...
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibPedestal.h
index 2fc5cd6006152b131f096df77e76c9963b486755..861c557dad07c8333a50ff6156c9a68232f537ed 100644 (file)
@@ -7,6 +7,7 @@
 
 class TH1F;
 class AliRawReader;
+class TTree;
 
 class AliPMDCalibPedestal : public TObject {
 
@@ -21,10 +22,20 @@ public:
 
 private:
 
-  TH1F *fPedHisto[2][24][48][96];
+  enum
+      {
+         kDet    = 2,   // Number of Planes
+         kMaxSMN = 24,  // Number of Modules
+         kMaxRow = 48,  // Number of Rows
+         kMaxCol = 96   // Number of Columns
+      };
 
+  Float_t fPedVal[kDet][kMaxSMN][kMaxRow][kMaxCol];
+  Float_t fPedValSq[kDet][kMaxSMN][kMaxRow][kMaxCol];
+  Float_t fPedCount[kDet][kMaxSMN][kMaxRow][kMaxCol];
+  
 
-  ClassDef(AliPMDCalibPedestal,2)
+  ClassDef(AliPMDCalibPedestal,3)
 };