Skip to content

Commit 5e47db1

Browse files
committed
Lint
1 parent fded3b9 commit 5e47db1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGHF/D2H/Tasks/taskCharmResoToDTrkReduced.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ struct HfTaskCharmResoToDTrkReduced {
412412
std::array<float, 2> ptProngs = {particle.ptProng0(), particle.ptProng1()};
413413
std::array<float, 2> etaProngs = {particle.etaProng0(), particle.etaProng1()};
414414
bool const prongsInAcc = isProngInAcceptance(etaProngs[0], ptProngs[0]) && isProngInAcceptance(etaProngs[1], ptProngs[1]);
415-
if (fillOnlySignal) {
416-
if (Channel == DecayChannel::D0Kplus &&
415+
if constexpr (Channel == DecayChannel::D0Kplus) {
416+
if (fillOnlySignal &&
417417
!hf_decay::hf_cand_reso::particlesToD0Kplus.contains(static_cast<hf_decay::hf_cand_reso::DecayChannelMain>(std::abs(flag)))) {
418418
continue;
419419
}

0 commit comments

Comments
 (0)