Skip to content

Commit 85abb91

Browse files
committed
Fixed error
1 parent 2ca9aad commit 85abb91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,11 @@ struct HfCorrelatorDsHadrons {
787787
0);
788788
entryDsHadronRecoInfo(MassDS, true, isDecayChan);
789789
entryDsHadronGenInfo(isDsPrompt, particleAssoc.isPhysicalPrimary(), trackOrigin);
790+
} // end loop generated particles
791+
if (numberOfCorrKaons == 0) {
792+
registry.fill(HIST("hDsWoKaons"), numberOfCorrKaons);
790793
}
791-
} // end loop generated particles
792-
if (numberOfCorrKaons == 0) {
793-
registry.fill(HIST("hDsWoKaons"), numberOfCorrKaons);
794-
}
794+
} // if statement for Ds selection
795795
} // end loop generated Ds
796796
} // end loop reconstructed collision
797797
} // end loop generated collision

0 commit comments

Comments
 (0)