]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
switching on calculation of distance to bad channel and cell time recalibration
authormcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2012 12:12:09 +0000 (12:12 +0000)
committermcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2012 12:12:09 +0000 (12:12 +0000)
PWGGA/EMCALTasks/macros/AddTaskEMCALTender.C

index 1b967e31072c82d0286d3c98cf7b13414680e736..da051dc54b72b3e50facfb0cce1b8d179c92747f 100644 (file)
@@ -41,7 +41,7 @@ AliTender *AddTaskEMCALTender(const char *geoname="EMCAL_COMPLETEV1", const char
     if (1){//datatype == "pp") {
       //::Info("AddTaskEMCALTender", "USING pp data configuration...");
       //params->SetClusterizerFlag(AliEMCALRecParam::kClusterizerv2); //Std for pbpb
-      EMCALSupply->SwitchOffRecalDistBadChannel();
+      EMCALSupply->SwitchOnRecalDistBadChannel();
       EMCALSupply->SwitchOnReCalibrateCluster();
       EMCALSupply->SwitchOnRecalculateClusPos();
       //EMCALSupply->SetNonLinearityFunction(AliEMCALTenderSupply::kBeamTestCorrected);
@@ -50,6 +50,7 @@ AliTender *AddTaskEMCALTender(const char *geoname="EMCAL_COMPLETEV1", const char
     } else {
       //::Info("AddTaskEMCALTender", "USING PbPb data configuration...");
       //params->SetClusterizerFlag(AliEMCALRecParam::kClusterizerv2); //Std for pbpb
+      EMCALSupply->SwitchOnCalibrateTime(); // 
       EMCALSupply->SwitchOnUpdateCell(); // will update cells and reclusterize
       //EMCALSupply->SwitchOnReclustering(); //SwitchOnReclustering if needed      
     }