message: PWGGA/GammaConv added arguement post calibration
diff: @@ -81,6 +81,8 @@ void AddTask_GammaConvV1_pp2( Int_t trainConfig = 1,
  TString fileNameInputForMultWeighing = "Multiplicity.root", //
  TString periodNameAnchor = "", //
  Bool_t runLightOutput = kFALSE, // switch to run light output (only essential histograms for afterburner)
  + Bool_t enableElecDeDxPostCalibration = kFALSE,
  + TString fileNameElecDeDxPostCalibration = "dEdxCorrectionMap_Period_Pass.root",
  TString additionalTrainConfig = "0" // additional counter for trainconfig, this has to be always the last parameter
  ) {
  @@ -360,6 +362,22 @@ void AddTask_GammaConvV1_pp2( Int_t trainConfig = 1,
  analysisCuts[i] = new AliConversionPhotonCuts();
  + if (enableElecDeDxPostCalibration>0){
  + if (isMC == 0){
  + if( analysisCuts[i]->InitializeElecDeDxPostCalibration(fileNameElecDeDxPostCalibration)){
  + analysisCuts[i]->SetDoElecDeDxPostCalibration(enableElecDeDxPostCalibration);
  + } else {
  + enableElecDeDxPostCalibration=kFALSE;
  + analysisCuts[i]->SetDoElecDeDxPostCalibration(enableElecDeDxPostCalibration);
  + }
  +
  + } else{
  + cout << "ERROR enableElecDeDxPostCalibration set to True even if MC file. Automatically reset to 0"<< endl;
  + enableElecDeDxPostCalibration=kFALSE;
  + analysisCuts[i]->SetDoElecDeDxPostCalibration(enableElecDeDxPostCalibration);
  + }
  + }
  +
  analysisCuts[i]->SetV0ReaderName(V0ReaderName);
  analysisCuts[i]->SetLightOutput(runLightOutput);
  analysisCuts[i]->InitializeCutsFromCutString((cuts.GetPhotonCut(i)).Data());
  