@@ -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