message: Remove in-bunch pileup events in MC
diff: @@ -1147,6 +1147,11 @@ void AliAnalysisTaskEHCorrel::UserExec(Option_t*)
  Bool_t test = GetNMCPartProduced(); ///Getting number of particles produced by the MC generator
  }
  + //////////Remove in bunch pileup events in MC///////////////
  + if(fRemovePileUpinMCGen){
  + if(AliAnalysisUtils::IsSameBunchPileupInGeneratedEvent(fMCHeader)) continue;
  + }
  +
  ///////////////////
  //PID initialised//
  ///////////////////
  