message: Fix initialisation of ML handler
diff: @@ -88,13 +88,6 @@ void AliAnalysisTaskSECheckCharmHadronBkg::Init()
  fListCuts->SetOwner();
  fListCuts->Add(analysis);
  - //Loading of ML models
  - if (fApplyML)
  - {
  - fMLResponse = new AliHFMLResponseDplustoKpipi("DplustoKpipiMLResponse", "DplustoKpipiMLResponse", fConfigPath.Data());
  - fMLResponse->MLResponseInit();
  - }
  -
  PostData(2, fListCuts);
  return;
  @@ -133,6 +126,13 @@ void AliAnalysisTaskSECheckCharmHadronBkg::UserCreateOutputObjects()
  }
  CreateSparse();
  + //Loading of ML models
  + if (fApplyML)
  + {
  + fMLResponse = new AliHFMLResponseDplustoKpipi("DplustoKpipiMLResponse", "DplustoKpipiMLResponse", fConfigPath.Data());
  + fMLResponse->MLResponseInit();
  + }
  +
  PostData(1, fOutput);
  return;
  