Skip to content

Commit 87adc80

Browse files
Merge pull request #84 from alibuild/alibot-cleanup-17926
[PWGHF] Please consider the following formatting changes to #17926
2 parents 014c9b0 + 351fab3 commit 87adc80

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

PWGHF/D2H/Tasks/taskCd.cxx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,10 +913,17 @@ struct HfTaskCd {
913913
registry.fill(HIST("Data/hNsigmaTOFKaVsP"), prong1.tpcInnerParam() * prong1.sign(), nSigmaTofKa);
914914

915915
// Diagnostic categories only: preserve the existing selection predicates below.
916-
enum TofStatus { NoMatch, Nonfinite, Missing, WithinCut, OutsideCut };
916+
enum TofStatus { NoMatch,
917+
Nonfinite,
918+
Missing,
919+
WithinCut,
920+
OutsideCut };
917921
constexpr float MissingTofNSigma{-999.f};
918922
const int hypothesis = isDeKPi ? 0 : 1;
919-
const int tofStatus = !deuteronProng.hasTOF() ? NoMatch : !std::isfinite(nSigmaTofDe) ? Nonfinite : nSigmaTofDe <= MissingTofNSigma ? Missing : std::abs(nSigmaTofDe) <= cfgMaxDeuteronTofPidPreselection ? WithinCut : OutsideCut;
923+
const int tofStatus = !deuteronProng.hasTOF() ? NoMatch : !std::isfinite(nSigmaTofDe) ? Nonfinite
924+
: nSigmaTofDe <= MissingTofNSigma ? Missing
925+
: std::abs(nSigmaTofDe) <= cfgMaxDeuteronTofPidPreselection ? WithinCut
926+
: OutsideCut;
920927
registry.fill(HIST("Data/hDeuteronTofStatus"), tofStatus, hypothesis);
921928
registry.fill(HIST("Data/hTreeCutFlow"), 0, hypothesis);
922929
if (cfgUseTofPidForDeuteron && std::abs(nSigmaTofDe) > cfgMaxDeuteronTofPidPreselection) {

0 commit comments

Comments
 (0)