Skip to content

Commit aa67f2a

Browse files
JimunLeejimun_lee
andauthored
[PWGLF] Added the nEvents_Gen of processJetsGen of KstarInOO.cxx (#14977)
Co-authored-by: jimun_lee <jimun.lee@cern.ch>
1 parent 246af06 commit aa67f2a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ struct kstarInOO {
249249
if (cfgMCHistos) {
250250
histos.add("nEvents_Gen", "nEvents_Gen", kTH1F, {{4, 0.0, 4.0}});
251251
histos.add("hUSS_TrueRec", "hUSS_TrueRec", kTHnSparseF, {cfgCentAxis, ptAxis, minvAxis});
252+
histos.add("hGen_pT_Raw", "Gen_pT_Raw (GeV/c)", kTH1F, {{800, 0., 40.}});
252253
histos.add("hGen_pT_GoodEv", "hGen_pT_GoodEv", kTHnSparseF, {cfgCentAxis, ptAxis});
253254
}
254255
if (cfgJetHistos) {
@@ -1592,9 +1593,15 @@ struct kstarInOO {
15921593
if (goodEv) {
15931594
goodEv = jetderiveddatautilities::selectTrigger(recocoll, RealTriggerMaskBits);
15941595
}
1596+
if (cfgJetMCHistos) {
1597+
histos.fill(HIST("nEvents_Gen"), 1.5);
1598+
}
15951599
if (!goodEv)
15961600
return;
15971601
}
1602+
if (cfgJetMCHistos) {
1603+
histos.fill(HIST("nEvents_Gen"), 2.5);
1604+
}
15981605

15991606
for (auto& particle : mcParticles) {
16001607
if (particle.pdgCode() != 313)
@@ -1626,7 +1633,7 @@ struct kstarInOO {
16261633
*/
16271634

16281635
if (cfgJetMCHistos) {
1629-
histos.fill(HIST("nEvents_Gen"), 1.5);
1636+
histos.fill(HIST("nEvents_Gen"), 3.5);
16301637
histos.fill(HIST("hEffGen_pT"), particle.pt());
16311638
} // cfgJetMCHistos
16321639
} // loop over particles

0 commit comments

Comments
 (0)