]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDPreprocessorOffline.h
Introduction of online gain factors (Theo)
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessorOffline.h
index 4a2370c0accf18da379a2eae74e6fd98b748dfdd..895846677d1bed4bc89cdc49a5837a2f447bec68 100644 (file)
@@ -72,18 +72,21 @@ public:
   
   void UpdateOCDBT0(Int_t startRunNumber, Int_t endRunNumber, const char* storagePath);
   void UpdateOCDBVdrift(Int_t startRunNumber, Int_t endRunNumber, const char* storagePath);
+  void UpdateOCDBExB(Int_t startRunNumber, Int_t endRunNumber, const Char_t *storagePath);
   void UpdateOCDBGain(Int_t  startRunNumber, Int_t endRunNumber, const char* storagePath);
   void UpdateOCDBPRF(Int_t  startRunNumber, Int_t endRunNumber, const char* storagePath);
   void UpdateOCDBChamberStatus(Int_t startRunNumber, Int_t endRunNumber, const Char_t *storagePath);
 
-  Bool_t ValidateGain() const;
+  Bool_t ValidateGain();
   Bool_t ValidateVdrift();
   Bool_t ValidateT0();
   Bool_t ValidatePRF() const;
   Bool_t ValidateChamberStatus() const;
 
+  Int_t    GetStatus() const                                         { return fStatus;                 }
   Int_t    GetVersionGainUsed() const                                { return fVersionGainUsed;        }
   Int_t    GetSubVersionGainUsed() const                             { return fSubVersionGainUsed;     }
+  Int_t    GetFirstRunVdriftUsed() const                             { return fFirstRunVdriftUsed;     }
   Int_t    GetVersionVdriftUsed() const                              { return fVersionVdriftUsed;      }
   Int_t    GetSubVersionVdriftUsed() const                           { return fSubVersionVdriftUsed;   }
 
@@ -91,6 +94,8 @@ public:
   void     SetMinStatsVdriftLinear(Int_t minStatsVdriftLinear)       { fMinStatsVdriftLinear = minStatsVdriftLinear; }  
   void     SetMinStatsGain(Int_t minStatsGain)                       { fMinStatsGain = minStatsGain; }  
   void     SetMinStatsPRF(Int_t minStatsPRF)                         { fMinStatsPRF = minStatsPRF; }  
+  void     SetBackCorrectGain(Bool_t backCorrectGain)                { fBackCorrectGain = backCorrectGain; }
+  void     SetBackCorrectVdrift(Bool_t backCorrectVdrift)            { fBackCorrectVdrift = backCorrectVdrift; }
 
  
   
@@ -109,6 +114,7 @@ public:
   TObjArray * fCalibObjects;              // array with calibration objects 
   Int_t    fVersionGainUsed;              // VersionGainUsed 
   Int_t    fSubVersionGainUsed;           // SubVersionGainUsed
+  Int_t    fFirstRunVdriftUsed;           // FirstRunVdrift 
   Int_t    fVersionVdriftUsed;            // VersionVdriftUsed 
   Int_t    fSubVersionVdriftUsed;         // SubVersionVdriftUsed
   Bool_t   fSwitchOnValidation;           // Validation
@@ -118,17 +124,23 @@ public:
   Int_t    fMinStatsVdriftLinear;         // MinStats Vdrift Linear
   Int_t    fMinStatsGain;                 // MinStats Gain
   Int_t    fMinStatsPRF;                  // MinStats PRF
+  Bool_t   fBackCorrectGain;              // Back correction afterwards gain  
+  Bool_t   fBackCorrectVdrift;            // Back correction afterwards vdrift
+  Bool_t   fNotEnoughStatisticsForTheGain;// Take the chamber per chamber distribution from the default distribution
+  Bool_t   fNotEnoughStatisticsForTheVdriftLinear;// Take the chamber per chamber distribution from the default distribution
+  Int_t    fStatus;                       // Status of the TRD offline preprocessor: -1 nothing but do not worry; 0 everything ok; 1 not enough stat vdrift, 2 not enough stat to, 3 not enough stat gain and chammber status, 4 not enough stat vdrift but could put a mean, 5 not enough stat gain but could put a mean
 
 
   Int_t GetSubVersion(TString name) const;
   Int_t GetVersion(TString name) const;
+  Int_t GetFirstRun(TString name) const;
 
   
 
 private:
   AliTRDPreprocessorOffline& operator=(const AliTRDPreprocessorOffline&); // not implemented
   AliTRDPreprocessorOffline(const AliTRDPreprocessorOffline&); // not implemented
-  ClassDef(AliTRDPreprocessorOffline,1)
+  ClassDef(AliTRDPreprocessorOffline,2)
 };
 
 #endif