|
23 | 23 |
|
24 | 24 | #include <string> |
25 | 25 | #include <vector> |
26 | | - |
27 | 26 | #include "PWGCF/FemtoUniverse/Core/FemtoUniverseObjectSelection.h" |
28 | 27 | #include "PWGCF/FemtoUniverse/Core/FemtoUniverseSelection.h" |
29 | 28 | #include "PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h" |
30 | | - |
31 | 29 | #include "Common/Core/RecoDecay.h" |
32 | 30 | #include "Framework/HistogramRegistry.h" |
33 | 31 | #include "ReconstructionDataFormats/PID.h" |
34 | 32 |
|
35 | | -namespace o2::analysis::femto_universe // o2-linter: disable=name/namespace |
| 33 | +namespace o2::analysis::femto_universe |
36 | 34 | { |
37 | | -namespace femto_universe_cascade_selection // o2-linter: disable=name/namespace |
| 35 | +namespace femto_universe_cascade_selection |
38 | 36 | { |
39 | 37 | /// The different selections this task is capable of doing |
40 | 38 | enum CascadeSel { |
@@ -430,6 +428,7 @@ bool FemtoUniverseCascadeSelection::isSelectedMinimal(Col const& col, Casc const |
430 | 428 | const float dcav0topv = cascade.dcav0topv(col.posX(), col.posY(), col.posZ()); |
431 | 429 | const float invMassLambda = cascade.mLambda(); |
432 | 430 | const float invMass = isCascOmega ? cascade.mOmega() : cascade.mXi(); |
| 431 | + const float nSigmaPIDMax = bachTrackSel.getSigmaPIDMax(); |
433 | 432 |
|
434 | 433 | if (invMassLambda < fV0InvMassLowLimit || invMassLambda > fV0InvMassUpLimit) { |
435 | 434 | return false; |
@@ -501,7 +500,7 @@ bool FemtoUniverseCascadeSelection::isSelectedMinimal(Col const& col, Casc const |
501 | 500 | if (!negDaughTrack.isSelectedMinimal(negTrack)) { |
502 | 501 | return false; |
503 | 502 | } |
504 | | - if (!bachTrack.hasTOF()) { |
| 503 | + if (bachTrack.hasTOF() && ((isCascOmega && bachTrack.tofNSigmaKa() > nSigmaPIDMax) || (!isCascOmega && bachTrack.tofNSigmaPi() > nSigmaPIDMax))) { |
505 | 504 | return false; |
506 | 505 | } |
507 | 506 | if (!bachTrackSel.isSelectedMinimal(bachTrack)) { |
|
0 commit comments