message: PWGHF: Apply the event selections before the MC matching
diff: @@ -1287,6 +1287,13 @@ void AliAnalysisTaskHFSimpleVertices::UserExec(Option_t*)
  return;
  }
  + if (fUseAliEventCuts) {
  + Bool_t alieventcut = fEventCuts.AcceptEvent(vevt);
  + if (!alieventcut)
  + return;
  + }
  + fHistNEvents->Fill(7);
  +
  // AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  // AliInputEventHandler *inputHandler=(AliInputEventHandler*)mgr->GetInputEventHandler();
  // AliPIDResponse *pidResp=inputHandler->GetPIDResponse();
  @@ -1391,13 +1398,6 @@ void AliAnalysisTaskHFSimpleVertices::UserExec(Option_t*)
  }
  fHistNEvents->Fill(1);
  - if (fUseAliEventCuts) {
  - Bool_t alieventcut = fEventCuts.AcceptEvent(vevt);
  - if (!alieventcut)
  - return;
  - }
  - fHistNEvents->Fill(7);
  -
  if (fSelectOnCentrality) {
  if (centr < fMinCentrality || centr > fMaxCentrality)
  return;
  