Skip to content

Commit 77b6db5

Browse files
authored
Fixing THnSparse filling for Data
1 parent 23a22ad commit 77b6db5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGHF/D2H/Tasks/taskXic.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,9 @@ struct HfTaskXic {
377377
outputFD = candidate.mlProbXicToPKPi()[2]; /// non-prompt score
378378
}
379379
/// Fill the ML outputScores and variables of candidate Xic
380-
registry.get<THnSparse>(HIST("hnXicVarsWithBdt"))->Fill(massXic, ptCandidate, outputBkg, outputPrompt, outputFD, 0, 0.0, 0.0, false);
380+
registry.get<THnSparse>(HIST("hnXicVarsWithBdt"))->Fill(massXic, ptCandidate, outputBkg, outputPrompt, outputFD, false);
381381
} else {
382-
registry.get<THnSparse>(HIST("hnXicVars"))->Fill(massXic, ptCandidate, candidate.chi2PCA(), candidate.decayLength(), candidate.decayLengthXY(), candidate.cpa(), 0, 0.0, 0.0, false);
382+
registry.get<THnSparse>(HIST("hnXicVars"))->Fill(massXic, ptCandidate, candidate.chi2PCA(), candidate.decayLength(), candidate.decayLengthXY(), candidate.cpa(), false);
383383
}
384384
}
385385
if (candidate.isSelXicToPiKP() >= selectionFlagXic) {
@@ -391,9 +391,9 @@ struct HfTaskXic {
391391
outputFD = candidate.mlProbXicToPiKP()[2]; /// non-prompt score
392392
}
393393
/// Fill the ML outputScores and variables of candidate
394-
registry.get<THnSparse>(HIST("hnXicVarsWithBdt"))->Fill(massXic, ptCandidate, outputBkg, outputPrompt, outputFD, 0, 0.0, 0.0, false);
394+
registry.get<THnSparse>(HIST("hnXicVarsWithBdt"))->Fill(massXic, ptCandidate, outputBkg, outputPrompt, outputFD, false);
395395
} else {
396-
registry.get<THnSparse>(HIST("hnXicVars"))->Fill(massXic, ptCandidate, candidate.chi2PCA(), candidate.decayLength(), candidate.decayLengthXY(), candidate.cpa(), 0, 0.0, 0.0, false);
396+
registry.get<THnSparse>(HIST("hnXicVars"))->Fill(massXic, ptCandidate, candidate.chi2PCA(), candidate.decayLength(), candidate.decayLengthXY(), candidate.cpa(), false);
397397
}
398398
}
399399
} // thn for Xic

0 commit comments

Comments
 (0)