File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -341,15 +341,14 @@ struct HfTreeCreatorDsToKKPi {
341341 int8_t originMc{0 };
342342 int8_t channelMc{0 };
343343 int8_t isSwapped{massHypo}; // 0 if KKPi, 1 if PiKK
344- float yCand = isSwapped ? candidate.y (invMassDs) : candidate.y (invMassDs);
345344 float eCand{0 .f };
346345 float ctCand{0 .f };
346+ float yCand = candidate.y (invMassDs);
347347 if constexpr (doMc) {
348348 flagMc = candidate.flagMcMatchRec ();
349349 originMc = candidate.originMcRec ();
350350 channelMc = candidate.flagMcDecayChanRec ();
351351 isSwapped = candidate.isCandidateSwapped ();
352- yCand = isSwapped ? candidate.y (invMassDs) : candidate.y (invMassDs);
353352 if (fillDplusMc && candidate.flagMcDecayChanRec () == channelsResonant[Mother::Dplus][decayChannel]) {
354353 eCand = hfHelper.eDplus (candidate);
355354 ctCand = hfHelper.ctDplus (candidate);
You can’t perform that action at this time.
0 commit comments