message: Added loading AOD using AODEvent() in case InputEvent() fails.
diff: @@ -1469,10 +1469,16 @@ Bool_t AliAnalysisTaskV0sInJetsEmcal::FillHistograms()
  fAODIn = dynamic_cast<AliAODEvent*>(InputEvent()); // input AOD
  if(!fAODIn)
  + {
  + AliWarning("Input AOD not available from InputEvent() trying with AODEvent().");
  + // Assume that the AOD is in the general output.
  + fAODIn = AODEvent();
  + if(!fAODIn)
  {
  AliError("No input AOD found!");
  return kFALSE;
  }
  + }
  if(fDebug > 1) printf("%s %s::%s: %s\n", GetName(), ClassName(), __func__, "Loading AOD OK");
  TClonesArray* arrayMC = 0; // array particles in the MC event
  