message: true hypertriton selection only in MC
diff: @@ -337,11 +337,9 @@ void AliAnalysisTaskHypertriton3ML::UserExec(Option_t *) {
  if (std::abs(nSigmaTPCDeu) < fMaxNSigmaTPCDeu && dcaNorm > fMinDCA2PrimaryVtxDeu && track->Pt() < fMaxPtDeu) {
  bool TOFpid = std::abs(fPIDResponse->NumberOfSigmasTOF(track, AliPID::kDeuteron)) < fMaxNSigmaTOFDeu;
  if (fRequireDeuteronTOFpid) {
  - if (TOFpid)
  - fDeuVector.push_back(track);
  + if (TOFpid) fDeuVector.push_back(track);
  } else if (HasTOF(track)) {
  - if (TOFpid)
  - fDeuVector.push_back(track);
  + if (TOFpid) fDeuVector.push_back(track);
  } else {
  fDeuVector.push_back(track);
  }
  @@ -351,11 +349,9 @@ void AliAnalysisTaskHypertriton3ML::UserExec(Option_t *) {
  if (std::abs(nSigmaTPCP) < fMaxNSigmaTPCP && dcaNorm > fMinDCA2PrimaryVtxP && track->Pt() < fMaxPtP) {
  bool TOFpid = std::abs(fPIDResponse->NumberOfSigmasTOF(track, AliPID::kProton)) < fMaxNSigmaTOFP;
  if (fRequireProtonTOFpid) {
  - if (TOFpid)
  - fPVector.push_back(track);
  + if (TOFpid) fPVector.push_back(track);
  } else if (HasTOF(track)) {
  - if (TOFpid)
  - fPVector.push_back(track);
  + if (TOFpid) fPVector.push_back(track);
  } else {
  fPVector.push_back(track);
  }
  @@ -365,11 +361,9 @@ void AliAnalysisTaskHypertriton3ML::UserExec(Option_t *) {
  if (std::abs(nSigmaTPCPi) < fMaxNSigmaTPCPi && dcaNorm > fMinDCA2PrimaryVtxPi && track->Pt() < fMaxPtPi) {
  bool TOFpid = std::abs(fPIDResponse->NumberOfSigmasTOF(track, AliPID::kPion)) < fMaxNSigmaTOFPi;
  if (fRequirePionTOFpid) {
  - if (TOFpid)
  - fPiVector.push_back(track);
  + if (TOFpid) fPiVector.push_back(track);
  } else if (HasTOF(track)) {
  - if (TOFpid)
  - fPiVector.push_back(track);
  + if (TOFpid) fPiVector.push_back(track);
  } else {
  fPiVector.push_back(track);
  }
  @@ -401,8 +395,11 @@ void AliAnalysisTaskHypertriton3ML::UserExec(Option_t *) {
  float nSigmaPi = fPIDResponse->NumberOfSigmasTPC(pi, AliPID::kPion);
  - int momLab = IsTrueHyperTriton3Candidate(deu, p, pi, mcEvent);
  + int momLab = 0;
  + if (fMC) {
  + momLab = IsTrueHyperTriton3Candidate(deu, p, pi, mcEvent);
  if ((momLab == -1) && fOnlyTrueCandidates) continue;
  + }
  LVector_t deu4Vector, p4Vector, pi4Vector, hyp4Vector;
  