@@ -1048,6 +1048,9 @@ struct Phik0shortanalysis {
10481048 if (fillMethodSingleWeight)
10491049 phiPurity = getPhiPurity (multiplicity, recPhi);
10501050
1051+ if (fillMethodMultipleWeights)
1052+ listrecPhi.push_back (recPhi);
1053+
10511054 counts.at (0 )++;
10521055 weights.at (0 ) *= (1 - phiPurity);
10531056 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
@@ -1058,9 +1061,6 @@ struct Phik0shortanalysis {
10581061 continue ;
10591062 counts.at (2 )++;
10601063 weights.at (2 ) *= (1 - phiPurity);
1061-
1062- if (fillMethodMultipleWeights)
1063- listrecPhi.push_back (std::move (recPhi));
10641064 }
10651065 }
10661066
@@ -1137,6 +1137,9 @@ struct Phik0shortanalysis {
11371137 if (fillMethodSingleWeight)
11381138 phiPurity = getPhiPurity (multiplicity, recPhi);
11391139
1140+ if (fillMethodMultipleWeights)
1141+ listrecPhi.push_back (recPhi);
1142+
11401143 counts.at (0 )++;
11411144 weights.at (0 ) *= (1 - phiPurity);
11421145 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
@@ -1147,9 +1150,6 @@ struct Phik0shortanalysis {
11471150 continue ;
11481151 counts.at (2 )++;
11491152 weights.at (2 ) *= (1 - phiPurity);
1150-
1151- if (fillMethodMultipleWeights)
1152- listrecPhi.push_back (std::move (recPhi));
11531153 }
11541154 }
11551155
@@ -1755,6 +1755,9 @@ struct Phik0shortanalysis {
17551755 if (fillMethodSingleWeight)
17561756 phiPurity = getPhiPurity (genmultiplicity, recPhi);
17571757
1758+ if (fillMethodMultipleWeights)
1759+ listrecPhi.push_back (recPhi);
1760+
17581761 counts.at (0 )++;
17591762 weights.at (0 ) *= (1 - phiPurity);
17601763 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
@@ -1765,9 +1768,6 @@ struct Phik0shortanalysis {
17651768 continue ;
17661769 counts.at (2 )++;
17671770 weights.at (2 ) *= (1 - phiPurity);
1768-
1769- if (fillMethodMultipleWeights)
1770- listrecPhi.push_back (std::move (recPhi));
17711771 }
17721772 }
17731773
@@ -1879,6 +1879,9 @@ struct Phik0shortanalysis {
18791879 if (fillMethodSingleWeight)
18801880 phiPurity = getPhiPurity (genmultiplicity, recPhi);
18811881
1882+ if (fillMethodMultipleWeights)
1883+ listrecPhi.push_back (recPhi);
1884+
18821885 counts.at (0 )++;
18831886 weights.at (0 ) *= (1 - phiPurity);
18841887 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
@@ -1889,9 +1892,6 @@ struct Phik0shortanalysis {
18891892 continue ;
18901893 counts.at (2 )++;
18911894 weights.at (2 ) *= (1 - phiPurity);
1892-
1893- if (fillMethodMultipleWeights)
1894- listrecPhi.push_back (std::move (recPhi));
18951895 }
18961896 }
18971897
0 commit comments