Skip to content

Commit 497726f

Browse files
committed
Please consider the following formatting changes
1 parent f57fb58 commit 497726f

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

PWGHF/HFC/TableProducer/derivedDataCreatorCorrelationsReduced.cxx

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -266,20 +266,21 @@ struct HfDerivedDataCreatorCorrelationsReduced {
266266
/// Cut on rapidity of the candidate
267267
/// \param candidate is the charm hadron candidate
268268
template <CandidateType CandType, typename TCand>
269-
bool cutCandRapidity(const TCand& candidate) {
270-
double y = 0.0;
271-
if constexpr (CandType == CandidateType::DsToKKPi || CandType == CandidateType::DsToPiKK) {
272-
y = HfHelper::yDs(candidate);
273-
} else if constexpr (CandType == CandidateType::DplusToPiKPi) {
274-
y = HfHelper::yDplus(candidate);
275-
} else if constexpr (CandType == CandidateType::D0ToPiK || CandType == CandidateType::D0ToKPi) {
276-
y = HfHelper::yD0(candidate);
277-
} else if constexpr (CandType == CandidateType::LcToPKPi) {
278-
y = HfHelper::yLc(candidate);
279-
} else {
280-
return true;
281-
}
282-
return std::fabs(y) < yCandMax;
269+
bool cutCandRapidity(const TCand& candidate)
270+
{
271+
double y = 0.0;
272+
if constexpr (CandType == CandidateType::DsToKKPi || CandType == CandidateType::DsToPiKK) {
273+
y = HfHelper::yDs(candidate);
274+
} else if constexpr (CandType == CandidateType::DplusToPiKPi) {
275+
y = HfHelper::yDplus(candidate);
276+
} else if constexpr (CandType == CandidateType::D0ToPiK || CandType == CandidateType::D0ToKPi) {
277+
y = HfHelper::yD0(candidate);
278+
} else if constexpr (CandType == CandidateType::LcToPKPi) {
279+
y = HfHelper::yLc(candidate);
280+
} else {
281+
return true;
282+
}
283+
return std::fabs(y) < yCandMax;
283284
}
284285

285286
/// Check event selections for collision and fill the collision table

0 commit comments

Comments
 (0)