File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -291,8 +291,8 @@ struct HfTreeCreatorTccToD0D0Pi {
291291 candFlagD1 = (candidateD1.isSelD0bar ()) ? 3 : 1 ;
292292 std::copy (candidateD1.mlProbD0 ().begin (), candidateD1.mlProbD0 ().end (), std::back_inserter (mlScoresD1));
293293 massD01 = hfHelper.invMassD0ToPiK (candidateD1);
294- } else if (candidateD1. isSelD0bar ()) {
295- candFlagD1 = (candidateD1.isSelD0 ()) ? 4 : 2 ;
294+ }
295+ if (candidateD1.isSelD0bar ()) {
296296 std::copy (candidateD1.mlProbD0bar ().begin (), candidateD1.mlProbD0bar ().end (), std::back_inserter (mlScoresD1));
297297 massD01 = hfHelper.invMassD0barToKPi (candidateD1);
298298 }
@@ -301,9 +301,8 @@ struct HfTreeCreatorTccToD0D0Pi {
301301 candFlagD2 = (candidateD2.isSelD0bar ()) ? 3 : 1 ;
302302 std::copy (candidateD2.mlProbD0 ().begin (), candidateD2.mlProbD0 ().end (), std::back_inserter (mlScoresD2));
303303 massD02 = hfHelper.invMassD0ToPiK (candidateD2);
304-
305- } else if (candidateD2.isSelD0bar ()) {
306- candFlagD2 = (candidateD2.isSelD0 ()) ? 4 : 2 ;
304+ }
305+ if (candidateD2.isSelD0bar ()) {
307306 std::copy (candidateD2.mlProbD0bar ().begin (), candidateD2.mlProbD0bar ().end (), std::back_inserter (mlScoresD2));
308307 massD02 = hfHelper.invMassD0barToKPi (candidateD2);
309308 }
You can’t perform that action at this time.
0 commit comments