Skip to content

Commit fe4e6a1

Browse files
SuJeong-Jialibuild
andauthored
[PWGLF] Added histograms for primary particles (#14880)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent bd9d282 commit fe4e6a1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

PWGLF/Tasks/Resonances/chk892pp.cxx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,13 @@ struct Chk892pp {
444444
histos.add("EffK0s/recoK0s", "Reco K0s (|y<0.8|)", HistType::kTH2F, {ptAxis, centAxis});
445445

446446
histos.add("EffKstar/genKstar", "Gen Kstar (|y|<0.5)", HistType::kTH2F, {ptAxis, centAxis});
447+
histos.add("EffKstar/genKstar_pri", "Gen primary Kstar (|y|<0.5)", HistType::kTH2F, {ptAxis, centAxis});
447448
histos.add("EffKstar/recoKstar", "Kstar Reco matched (final all)", HistType::kTH2F, {ptAxis, centAxis});
448449

449450
histos.add("Correction/sigLoss_den", "Gen Kstar (|y|<0.5) in truth class", HistType::kTH2F, {ptAxis, centAxis});
451+
histos.add("Correction/sigLoss_den_pri", "Gen primary Kstar (|y|<0.5) in truth class", HistType::kTH2F, {ptAxis, centAxis});
450452
histos.add("Correction/sigLoss_num", "Gen Kstar (|y|<0.5, selected events) in reco class", HistType::kTH2F, {ptAxis, centAxis});
453+
histos.add("Correction/sigLoss_num_pri", "Gen primary Kstar (|y|<0.5, selected events) in reco class", HistType::kTH2F, {ptAxis, centAxis});
451454
histos.add("Correction/EF_den", "Gen events (truth class)", HistType::kTH1F, {centAxis});
452455
histos.add("Correction/EF_num", "Reco events (selected events)", HistType::kTH1F, {centAxis});
453456
histos.add("Correction/MCTruthCent_all", "MC truth FT0M centrality (all mcCollisions)", HistType::kTH1F, {centAxis});
@@ -964,6 +967,10 @@ struct Chk892pp {
964967
const float lCentrality = iter->second;
965968

966969
histos.fill(HIST("EffKstar/genKstar"), part.pt(), lCentrality);
970+
971+
if (part.vt() == 0) {
972+
histos.fill(HIST("EffKstar/genKstar_pri"), part.pt(), lCentrality);
973+
}
967974
}
968975
} // effKstarProcessGen
969976

@@ -1052,6 +1059,9 @@ struct Chk892pp {
10521059
const float lCentrality = iter->second;
10531060

10541061
histos.fill(HIST("Correction/sigLoss_num"), part.pt(), lCentrality);
1062+
if (part.vt() == 0) {
1063+
histos.fill(HIST("Correction/sigLoss_num_pri"), part.pt(), lCentrality);
1064+
}
10551065
}
10561066
} // fillSigLossNum
10571067

@@ -1076,6 +1086,9 @@ struct Chk892pp {
10761086
const float lCentrality = iter->second;
10771087

10781088
histos.fill(HIST("Correction/sigLoss_den"), part.pt(), lCentrality);
1089+
if (part.vt() == 0) {
1090+
histos.fill(HIST("Correction/sigLoss_den_pri"), part.pt(), lCentrality);
1091+
}
10791092
}
10801093
} // fillSigLossDen
10811094

0 commit comments

Comments
 (0)