message: Fix ML selection and warnings
diff: @@ -1088,7 +1088,6 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t * /*option*/)
  Int_t orig = -1;
  Bool_t isPrimary = kFALSE;
  Bool_t isFeeddown = kFALSE;
  - Float_t pdgCode = -2;
  Float_t trueImpParXY = 0.;
  Double_t ptB = -1.5;
  Bool_t isCandInjected = kFALSE;
  @@ -1099,7 +1098,6 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t * /*option*/)
  {
  AliAODMCParticle *partDp = (AliAODMCParticle *)arrayMC->At(labDp);
  orig = AliVertexingHFUtils::CheckOrigin(arrayMC, partDp, fUseQuarkTagInKine); //Prompt = 4, FeedDown = 5
  - pdgCode = TMath::Abs(partDp->GetPdgCode());
  if (orig == 4)
  {
  isPrimary = kTRUE;
  @@ -1112,14 +1110,6 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t * /*option*/)
  trueImpParXY = GetTrueImpactParameter(mcHeader, arrayMC, partDp) * 10000.;
  ptB = AliVertexingHFUtils::GetBeautyMotherPt(arrayMC, partDp);
  }
  - else
  - {
  - pdgCode = -3;
  - }
  - }
  - else
  - {
  - pdgCode = -1;
  }
  }
  @@ -1179,6 +1169,8 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t * /*option*/)
  isMLsel = fMLResponse->IsSelectedML(modelPred, d, aod->GetMagneticField(), Pid_HF);
  }
  + if(isMLsel)
  + {
  //for all THnSparses except for FD
  Double_t arrayForSparse[kVarForSparse] = {invMass, ptCand, TMath::Abs(impparXY), resSel, minPtDau, sigvert, cosp, cospxy, dlen, dlenxy, ndlenxy, dd0max, modelPred};
  //for THnSparses for FD
  @@ -1373,6 +1365,7 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t * /*option*/)
  PostData(4, fMLtree);
  }
  }
  + }
  if (recVtx)
  fRDCutsAnalysis->CleanOwnPrimaryVtx(d, aod, origownvtx);
  if (unsetvtx)
  