Commit e6cd050 1 parent 5ba3125 commit e6cd050 Copy full SHA for e6cd050
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ struct HfTaskDirectedFlowCharmHadrons {
247
247
case DecayChannel::D0ToPiK:
248
248
massCand = hfHelper.invMassD0ToPiK (candidate);
249
249
rapCand = hfHelper.yD0 (candidate);
250
- sign = 1 ;
250
+ sign = candidate. isSelD0bar () ? 3 : 1 ; // 3: reflected D0bar, 1: pure D0 excluding reflected D0bar
251
251
if constexpr (std::is_same_v<T1, CandD0DataWMl>) {
252
252
for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++)
253
253
outputMl[iclass] = candidate.mlProbD0 ()[classMl->at (iclass)];
@@ -256,7 +256,7 @@ struct HfTaskDirectedFlowCharmHadrons {
256
256
case DecayChannel::D0ToKPi:
257
257
massCand = hfHelper.invMassD0barToKPi (candidate);
258
258
rapCand = hfHelper.yD0 (candidate);
259
- sign = - 1 ;
259
+ sign = candidate. isSelD0 () ? 3 : 2 ; // 3: reflected D0, 2: pure D0bar excluding reflected D0
260
260
if constexpr (std::is_same_v<T1, CandD0DataWMl>) {
261
261
for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++)
262
262
outputMl[iclass] = candidate.mlProbD0bar ()[classMl->at (iclass)];
You can’t perform that action at this time.
0 commit comments