]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCdataQA.h
AliTPCCalibCE.cxx.diff Add ctor with configuration options; Bug fixes
[u/mrichter/AliRoot.git] / TPC / AliTPCdataQA.h
index 3c59e4b07c0476a639244bcfd056ce016383f57b..599f5f4a0551a5868576df98a7d98cee3280a437 100644 (file)
@@ -17,7 +17,8 @@ class AliTPCRawStream;
 class AliTPCRawStreamFast;
 class AliRawReader;
 class AliTPCAltroMapping;
-class AliTPCCalPad; 
+class AliTPCCalPad;
+class TMap; 
 struct eventHeaderStruct;
 
 class AliTPCdataQA : public TH1F {
@@ -25,6 +26,7 @@ class AliTPCdataQA : public TH1F {
 public:
   AliTPCdataQA();
   AliTPCdataQA(const AliTPCdataQA &ped);
+  AliTPCdataQA(TMap *config);
   virtual ~AliTPCdataQA();
 
   AliTPCdataQA& operator = (const  AliTPCdataQA &source);
@@ -65,12 +67,10 @@ public:
   Int_t  GetAdcMin()       const { return fAdcMin;       }
   Int_t  GetAdcMax()       const { return fAdcMax;       }
   Int_t  GetEventCounter() const { return fEventCounter; }
-  Bool_t GetOldRCUformat() const { return fOldRCUformat;   }
   Bool_t GetIsAnalysed()   const { return fIsAnalysed;   }
   void  SetRangeTime(Int_t tMin, Int_t tMax){ fFirstTimeBin=tMin; fLastTimeBin=tMax;}  // Set time bin range that is used for the pedestal calibration
   void  SetRangeAdc (Int_t aMin, Int_t aMax){ fAdcMin=aMin; fAdcMax=aMax; }  // Set adc range for the pedestal calibration
 
-  void  SetOldRCUformat(Bool_t format=kTRUE) { fOldRCUformat = format; }
 
 
 private:
@@ -91,7 +91,6 @@ private:
   Int_t fLastTimeBin;               //  Last Time bin needed for analysis
   Int_t fAdcMin;                    //  min adc channel of pedestal value
   Int_t fAdcMax;                    //  max adc channel of pedestal value
-  Bool_t  fOldRCUformat;            //! Should we use the old RCU format for data reading
 
   AliTPCAltroMapping **fMapping;    //! Altro Mapping object
   //
@@ -123,7 +122,7 @@ private:
 
 
 public:
-  ClassDef(AliTPCdataQA, 2)  // Implementation of the TPC pedestal and noise calibration
+  ClassDef(AliTPCdataQA, 3)  // Implementation of the TPC pedestal and noise calibration
 };