3 void ConfigureEMCALRecoUtils(AliEMCALRecoUtils* reco,
6 Bool_t bNonLin= kFALSE,
12 // Configure RecoUtils with OADB objects
14 printf("**** Configure AliEMCALRecoUtils ***\n");
16 // Exotic cells removal
20 printf("Remove exotics in EMCAL\n");
21 reco->SwitchOnRejectExoticCell() ;
22 reco->SwitchOnRejectExoticCluster();
24 reco->SetExoticCellDiffTimeCut(50); // If |t cell max - t cell in cross| > 50 do not add its energy
25 reco->SetExoticCellFractionCut(0.97); // 1-Ecross/Ecell > 0.97 -> out
26 reco->SetExoticCellMinAmplitudeCut(4.); // 4 GeV
29 //Recalibration factors
33 reco->SwitchOnRecalibration();
34 reco->SwitchOnRunDepCorrection();
37 // Remove EMCAL hot channels
41 reco->SwitchOnBadChannelsRemoval();
42 reco->SwitchOnDistToBadChannelRecalculation();
45 // *** Time recalibration settings ***
49 reco->SwitchOnTimeRecalibration();
54 reco->SetPositionAlgorithm(AliEMCALRecoUtils::kPosTowerGlobal);
62 printf("xxx SET Non linearity correction kBeamTestCorrected xxx\n");
63 reco->SetNonLinearityFunction(AliEMCALRecoUtils::kBeamTestCorrectedv2);
67 printf("xxx SET Non linearity correction kPi0MCv3 xxx\n");
68 reco->SetNonLinearityFunction(AliEMCALRecoUtils::kPi0MCv3);
73 printf("xxx DON'T SET Non linearity correction xxx\n");
74 reco->SetNonLinearityFunction(AliEMCALRecoUtils::kNoCorrection);