2 void ConfigureEMCALRecoUtils(AliEMCALRecoUtils* reco,
5 Bool_t bNonLin= kFALSE,
11 // Configure RecoUtils with OADB objects
13 printf("**** Configure AliEMCALRecoUtils ***\n");
15 // Exotic cells removal
19 printf("Remove exotics in EMCAL\n");
20 reco->SwitchOnRejectExoticCell() ;
21 reco->SwitchOnRejectExoticCluster();
23 reco->SetExoticCellDiffTimeCut(10000); // Open
24 reco->SetExoticCellFractionCut(0.95); // 1-Ecross/Ecell > 0.95 -> out
25 reco->SetExoticCellMinAmplitudeCut(0.75); // 750 MeV
28 //Recalibration factors
32 reco->SwitchOnRecalibration();
35 // Remove EMCAL hot channels
39 reco->SwitchOnBadChannelsRemoval();
40 reco->SwitchOnDistToBadChannelRecalculation();
43 // *** Time recalibration settings ***
47 reco->SwitchOnTimeRecalibration();
52 reco->SetPositionAlgorithm(AliEMCALRecoUtils::kPosTowerGlobal);
58 if(!kSimulation) reco->SetNonLinearityFunction(AliEMCALRecoUtils::kBeamTestCorrected);
59 else reco->SetNonLinearityFunction(AliEMCALRecoUtils::kPi0MC);