3 AliEMCALTenderSupply* ConfigEmcalTenderSupply(
4 Bool_t timeCut = kTRUE,
6 Bool_t recalibClus = kTRUE,
7 Bool_t recalcClusPos = kTRUE,
8 Bool_t nonLinearCorr = kTRUE,
9 Bool_t remExotic = kTRUE,
10 Bool_t fidRegion = kFALSE,
11 Bool_t calibEnergy = kTRUE,
12 Bool_t calibTime = kTRUE)
14 AliEMCALTenderSupply *EMCALSupply = new AliEMCALTenderSupply("EMCALtender");
15 EMCALSupply->SetDebugLevel(2);
17 AliEMCALRecParam *params = new AliEMCALRecParam();
18 params->SetClusteringThreshold(0.1); // 100 MeV
19 params->SetMinECut(0.05); //50 MeV
22 params->SetTimeCut(1e6); //Open this cut for AODs
23 params->SetTimeMin(-1); //Open this cut for AODs
24 params->SetTimeMax(1e6); //Open this cut for AODs
26 EMCALSupply->SetRecParam(params);
29 EMCALSupply->SwitchOnRecalDistBadChannel();
31 EMCALSupply->SwitchOffRecalDistBadChannel();
34 EMCALSupply->SwitchOnReCalibrateCluster();
35 EMCALSupply->SwitchOnUpdateCell();
38 EMCALSupply->SwitchOffReCalibrateCluster();
39 EMCALSupply->SwitchOffUpdateCell();
43 EMCALSupply->SwitchOnRecalculateClusPos();
45 EMCALSupply->SwitchOffRecalculateClusPos();
48 EMCALSupply->SetNonLinearityFunction(AliEMCALTenderSupply::kBeamTestCorrected);
49 EMCALSupply->SwitchOnNonLinearityCorrection();
52 EMCALSupply->SwitchOffNonLinearityCorrection();
56 EMCALSupply->SwitchOnClusterExoticChannelCheck();
58 EMCALSupply->SwitchOffClusterExoticChannelCheck();
61 EMCALSupply->SwitchOnCellFiducialRegion();
63 EMCALSupply->SwitchOffCellFiducialRegion();
66 EMCALSupply->SwitchOnCalibrateTime();
68 EMCALSupply->SwitchOffCalibrateTime();
71 EMCALSupply->SwitchOnCalibrateEnergy();
73 EMCALSupply->SwitchOffCalibrateEnergy();
75 EMCALSupply->SetMass(0.139);
76 EMCALSupply->SwitchOnCutEtaPhiSeparate();
77 EMCALSupply->SetEtaCut(0.025);
78 EMCALSupply->SetPhiCut(0.05);