Change for reprocessing 2010 data (Raphaelle)
authorcblume <Christoph.Blume@cern.ch>
Tue, 8 Jul 2014 11:18:57 +0000 (13:18 +0200)
committercblume <Christoph.Blume@cern.ch>
Tue, 8 Jul 2014 11:18:57 +0000 (13:18 +0200)
TRD/AliTRDPreprocessorOffline.cxx
TRD/AliTRDPreprocessorOffline.h

index 7066d8c..c1bca68 100644 (file)
@@ -99,6 +99,7 @@ ClassImp(AliTRDPreprocessorOffline)
   fSubVersionExBUsed(0),
   fNoExBUsedInReco(kFALSE),
   fSwitchOnValidation(kTRUE),
+  fSwitchOnChamberStatus(kTRUE),
   fVdriftValidated(kFALSE),
   fExBValidated(kFALSE),
   fT0Validated(kFALSE),
@@ -179,7 +180,7 @@ void AliTRDPreprocessorOffline::Process(const Char_t* file, Int_t startRunNumber
     
     CalibVdriftT0(file,startRunNumber,endRunNumber,ocdbStorage);
     CalibGain(file,startRunNumber,endRunNumber,ocdbStorage);
-    CalibChamberStatus(file,startRunNumber,endRunNumber,ocdbStorage);
+    if(fSwitchOnChamberStatus) CalibChamberStatus(file,startRunNumber,endRunNumber,ocdbStorage);
     CalibExbAlt(file,startRunNumber,endRunNumber,ocdbStorage);
 
   }
index e8d8be6..3502252 100644 (file)
@@ -75,6 +75,7 @@ public:
   void     SetBackCorrectVdrift(Bool_t backCorrectVdrift)            { fBackCorrectVdrift = backCorrectVdrift; }
   void     SetNoExBUsedInReco(Bool_t noExBUsedInReco)                { fNoExBUsedInReco    = noExBUsedInReco;   };
   void     SetSwitchOnValidation(Bool_t switchOnValidation)          { fSwitchOnValidation = switchOnValidation;};
+  void     SetSwitchOnChamberStatus(Bool_t switchOnChamberStatus)    { fSwitchOnChamberStatus = switchOnChamberStatus;};
   void     SetRMSBadCalibratedGain(Double_t rms)                     { fRMSBadCalibratedGain = rms;};
   void     SetRMSBadCalibratedVdrift(Double_t rms)                   { fRMSBadCalibratedVdrift = rms;};
   void     SetRMSBadCalibratedExB(Double_t rms)                      { fRMSBadCalibratedExB = rms;};
@@ -230,6 +231,7 @@ public:
   Int_t    fSubVersionExBUsed;            // SubVersionExBUsed
   Bool_t   fNoExBUsedInReco;              // ExB not used yet in the reco
   Bool_t   fSwitchOnValidation;           // Validation
+  Bool_t   fSwitchOnChamberStatus;        // ChamberStatus
   Bool_t   fVdriftValidated;              // Vdrift validation
   Bool_t   fExBValidated;                 // ExB validation
   Bool_t   fT0Validated;                  // T0 validation
@@ -278,7 +280,7 @@ private:
   Bool_t fPHQon;                 //switch of PHQ
   Bool_t fDebugPHQon;                 //switch of DebugPHQ
 
-  ClassDef(AliTRDPreprocessorOffline,4)
+  ClassDef(AliTRDPreprocessorOffline,5)
 };
 
 #endif