message: Fixing PID case 13
diff: @@ -1182,34 +1182,14 @@ void AliRDHFCutsLctoV0::CheckPID(AliAODTrack *bachelor,
  nTPCsigmas = -999;
  tpcID = fPidHF->GetnSigmaTPC(bachelor, 4, nTPCsigmas);
  - isBachelorID1 = TMath::Abs(nTPCsigmas) < 3. && (TMath::Abs(nTOFsigmas) < 3. || nTOFsigmas == -999) && (tpcID == 1) && (tofID == 1);
  + isBachelorID1 = (tpcID == 1) && (TMath::Abs(nTPCsigmas) < 3.) && ((tofID == 1 && TMath::Abs(nTOFsigmas) < 3.) || tofID == -1);
  nTOFsigmas = -999;
  tofID = fPidHF->GetnSigmaTOF(bachelor, 2, nTOFsigmas);
  nTPCsigmas = -999;
  tpcID = fPidHF->GetnSigmaTPC(bachelor, 2, nTPCsigmas);
  - isBachelorID2 = TMath::Abs(nTPCsigmas) < 3. && (TMath::Abs(nTOFsigmas) < 3. || nTOFsigmas == -999) && (tpcID == 1) && (tofID == 1);
  - isBachelorID4 = isBachelorID2;
  -
  - break;
  -
  - case 14:
  -
  - // identify bachelor with an N-sigma cut - TOF required up to fLowPtCut
  - nTOFsigmas = -999;
  - tofID = fPidHF->GetnSigmaTOF(bachelor, 4, nTOFsigmas);
  - nTPCsigmas = -999;
  - tpcID = fPidHF->GetnSigmaTPC(bachelor, 4, nTPCsigmas);
  -
  - isBachelorID1 = (tpcID == 1) && (tofID == 1) && ( (bachelor->P() < fLowPtCut && TMath::Abs(nTPCsigmas) < 3. && TMath::Abs(nTOFsigmas) < 3.) || (bachelor->P() >= fLowPtCut && TMath::Abs(nTPCsigmas) < 3.) );
  -
  - nTOFsigmas = -999;
  - tofID = fPidHF->GetnSigmaTOF(bachelor, 2, nTOFsigmas);
  - nTPCsigmas = -999;
  - tpcID = fPidHF->GetnSigmaTPC(bachelor, 2, nTPCsigmas);
  -
  - isBachelorID2 = (tpcID == 1) && (tofID == 1) && ( (bachelor->P() < fLowPtCut && TMath::Abs(nTPCsigmas) < 3. && TMath::Abs(nTOFsigmas) < 3.) || (bachelor->P() >= fLowPtCut && TMath::Abs(nTPCsigmas) < 3.) );
  + isBachelorID1 = (tpcID == 1) && (TMath::Abs(nTPCsigmas) < 3.) && ((tofID == 1 && TMath::Abs(nTOFsigmas) < 3.) || tofID == -1);
  isBachelorID4 = isBachelorID2;
  break;
  