Skip to content

Commit db5f21e

Browse files
authored
Add files via upload
1 parent 2aba209 commit db5f21e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

PWGJE/Tasks/jetChargedV2.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ struct JetChargedV2 {
260260
histosQA.add("histCent", "Centrality TrkProcess", HistType::kTH1F, {axisCent});
261261
//< Track efficiency plots >//
262262
registry.add("h_collisions", "event status;event status;entries", {HistType::kTH1F, {{4, 0.0, 4.0}}});
263+
registry.add("h_collisions_Zvertex", "position of collision ;#it{Z} (cm)", {HistType::kTH1F, {{300, -15.0, 15.0}}});
263264
//< fit quality >//
264265
registry.add("h_PvalueCDF_CombinFit", "cDF #chi^{2}; entries", {HistType::kTH1F, {{50, 0, 1}}});
265266
registry.add("h2_PvalueCDFCent_CombinFit", "p-value cDF vs centrality; centrality; p-value", {HistType::kTH2F, {{100, 0, 100}, {40, 0, 1}}});
@@ -367,6 +368,7 @@ struct JetChargedV2 {
367368
registry.get<TH1>(HIST("h_mcColl_counts"))->GetXaxis()->SetBinLabel(6, "centralitycut");
368369
registry.get<TH1>(HIST("h_mcColl_counts"))->GetXaxis()->SetBinLabel(7, "occupancycut");
369370
registry.add("h_mcColl_rho", "mc collision rho;#rho (GeV/#it{c}); counts", {HistType::kTH1F, {{500, 0.0, 500.0}}});
371+
registry.add("h_mc_zvertex", "position of collision ;#it{Z} (cm)", {HistType::kTH1F, {{300, -15.0, 15.0}}});
370372
}
371373

372374
if (doprocessJetsMatched) {
@@ -1057,7 +1059,7 @@ struct JetChargedV2 {
10571059
return;
10581060
}
10591061
registry.fill(HIST("h_collisions"), 2.5);
1060-
1062+
registry.fill(HIST("h_collisions_Zvertex"), collision.posZ());
10611063
double leadingJetPt = -1;
10621064
double leadingJetPhi = -1;
10631065
double leadingJetEta = -1;
@@ -1608,7 +1610,7 @@ struct JetChargedV2 {
16081610
}
16091611
registry.fill(HIST("h_mcColl_counts"), 6.5);
16101612
registry.fill(HIST("h_mcColl_rho"), mccollision.rho());
1611-
1613+
registry.fill(HIST("h_mc_zvertex"), mccollision.posZ());
16121614
for (auto const& jet : jets) {
16131615
if (!jetfindingutilities::isInEtaAcceptance(jet, jetEtaMin, jetEtaMax, trackEtaMin, trackEtaMax)) {
16141616
continue;
@@ -1717,7 +1719,7 @@ struct JetChargedV2 {
17171719
return;
17181720
}
17191721
registry.fill(HIST("h_mcColl_counts"), 6.5);
1720-
1722+
registry.fill(HIST("h_mc_zvertex"), mccollision.posZ());
17211723
for (auto const& jet : jets) {
17221724
if (!jetfindingutilities::isInEtaAcceptance(jet, jetEtaMin, jetEtaMax, trackEtaMin, trackEtaMax)) {
17231725
continue;

0 commit comments

Comments
 (0)