Skip to content

Commit f97b373

Browse files
committed
Fix histogram filling
1 parent f91985f commit f97b373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,6 @@ struct HfDataCreatorJpsiHadReduced {
881881
pVecJpsi = RecoDecay::pVec(pVec0, pVec1);
882882
trackParCovBPlus = df3.createParentTrackParCov();
883883
trackParCovBPlus.setAbsCharge(0); // to be sure
884-
registry.fill(HIST("hMassJpsiKaon"), std::sqrt(invMass2JpsiHad));
885884

886885
if (!isBSelected(pVecBPlus, secondaryVertexBPlus, collision)) {
887886
continue;
@@ -891,6 +890,7 @@ struct HfDataCreatorJpsiHadReduced {
891890
if ((invMass2JpsiHad < invMass2JpsiHadMin) || (invMass2JpsiHad > invMass2JpsiHadMax)) {
892891
continue;
893892
}
893+
registry.fill(HIST("hMassJpsiKaon"), std::sqrt(invMass2JpsiHad));
894894

895895
// fill Kaon tracks table
896896
// if information on track already stored, go to next track

0 commit comments

Comments
 (0)