message: Add protection for check on pileup based on generator name
diff: #include "AliAnalysisVertexingHF.h"
  #include "AliPIDResponse.h"
  #include "AliAnalysisUtils.h"
  +#include "AliGenEventHeader.h"
  //__________________________________________________________________________
  AliCFTaskVertexingHF::AliCFTaskVertexingHF() :
  @@ -715,11 +716,26 @@ void AliCFTaskVertexingHF::UserExec(Option_t *)
  }
  // reject / keep events with simulated OOB pileup
  + Bool_t isHijing = kFALSE;
  + // check if Hijing is among the generators used in the MC simulation
  + TList *lgen = mcHeader->GetCocktailHeaders();
  + for(Int_t i=0;i<lgen->GetEntries();i++){
  + AliGenEventHeader* gh=(AliGenEventHeader*)lgen->At(i);
  + TString genname=gh->GetName();
  + if(genname.Contains("Hijing"))
  + {
  + isHijing = kTRUE;
  + break;
  + }
  + }
  +
  + if(isHijing) {
  Bool_t isPileUp = AliAnalysisUtils::IsPileupInGeneratedEvent(mcHeader, "Hijing");
  if(isPileUp && fRejectOOBPileUpEvents)
  return;
  if(!isPileUp && fKeepOnlyOOBPileupEvents)
  return;
  + }
  fHistEventsProcessed->Fill(0.5);
  