Skipping some of the T0 calibration for 2010 data reprocessing (Alla Maevskaya)
authorzampolli <chiara.zampolli@cern.ch>
Wed, 23 Jul 2014 16:15:40 +0000 (18:15 +0200)
committerzampolli <chiara.zampolli@cern.ch>
Wed, 23 Jul 2014 16:15:40 +0000 (18:15 +0200)
PWGPP/CalibMacros/CPass0/makeOCDB.C

index f565276..c225d32 100644 (file)
@@ -100,7 +100,10 @@ void makeOCDB(Int_t runNumber, TString  targetOCDBstorage="", TString sourceOCDB
     Printf("\n******* Calibrating T0 *******");
     // Make  calibration of channels offset
     procesT0 = new AliT0PreprocessorOffline;
-    procesT0->Process("CalibObjects.root",runNumber, runNumber, targetStorage);
+    if(isLHC10)
+      procesT0->CalibOffsetChannels("CalibObjects.root",runNumber, runNumber, targetStorage);
+    else 
+      procesT0->Process("CalibObjects.root",runNumber, runNumber, targetStorage);
   }
 
   //TRD part