message: Add D0 and Dstar case in MLSelector
diff: @@ -216,12 +216,34 @@ void AliAnalysisTaskSECharmHadronMLSelector::UserExec(Option_t * /*option*/)
  {
  AliAODExtension *ext = dynamic_cast<AliAODExtension *>(aodHandler->GetExtensions()->FindObject("AliAOD.VertexingHF.root"));
  AliAODEvent *aodFromExt = ext->GetAOD();
  + switch (fDecChannel)
  + {
  + case kD0toKpi:
  + arrayCand = dynamic_cast<TClonesArray *>(aodFromExt->GetList()->FindObject("D0toKpi"));
  + break;
  + case kDplustoKpipi:
  arrayCand = dynamic_cast<TClonesArray *>(aodFromExt->GetList()->FindObject("Charm3Prong"));
  + break;
  + case kDstartoD0pi:
  + arrayCand = dynamic_cast<TClonesArray *>(aodFromExt->GetList()->FindObject("Dstar"));
  + break;
  + }
  }
  }
  else if (fAOD)
  {
  + switch (fDecChannel)
  + {
  + case kD0toKpi:
  + arrayCand = dynamic_cast<TClonesArray *>(fAOD->GetList()->FindObject("D0toKpi"));
  + break;
  + case kDplustoKpipi:
  arrayCand = dynamic_cast<TClonesArray *>(fAOD->GetList()->FindObject("Charm3Prong"));
  + break;
  + case kDstartoD0pi:
  + arrayCand = dynamic_cast<TClonesArray *>(fAOD->GetList()->FindObject("Dstar"));
  + break;
  + }
  }
  if (!fAOD || !arrayCand)
  