config time calib
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Jun 2012 19:35:38 +0000 (19:35 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Jun 2012 19:35:38 +0000 (19:35 +0000)
PWGGA/EMCALTasks/macros/ConfigEmcalTenderSupply.C

index 73ce9b4..3e58c97 100644 (file)
@@ -6,8 +6,9 @@ AliEMCALTenderSupply* ConfigEmcalTenderSupply(
   Bool_t recalibClus   = kTRUE, 
   Bool_t recalcClusPos = kTRUE, 
   Bool_t nonLinearCorr = kTRUE, 
-  Bool_t remExotic     = kTRUE, 
-  Bool_t fidRegion     = kFALSE)
+  Bool_t remExotic     = kTRUE,
+  Bool_t fidRegion     = kFALSE,
+  Bool_t calibTime     = kTRUE)
 {
   AliEMCALTenderSupply *EMCALSupply = new AliEMCALTenderSupply("EMCALtender");  
   EMCALSupply->SetDebugLevel(2);
@@ -56,6 +57,11 @@ AliEMCALTenderSupply* ConfigEmcalTenderSupply(
   else
     EMCALSupply->SwitchOffCellFiducialRegion();
 
+  if (calibTime)
+    EMCALSupply->SwitchOnCalibrateTime();
+  else
+    EMCALSupply->SwitchOffCalibrateTime();
+
   EMCALSupply->SetMass(0.139);
   //EMCALSupply->SetStep(5);
   //EMCALSupply->SwitchOnCutEtaPhiSum();