Skip to content

Commit

Permalink
[PWGLF] Add non-recoed collisions in histograms (#9370)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainschotter authored Jan 17, 2025
1 parent 7c180d6 commit 7216035
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ struct derivedlambdakzeroanalysis {
histos.get<TH1>(HIST("hEventSelection"))->GetXaxis()->SetBinLabel(19, "Above max occup.");
}

histos.add("hEventCentrality", "hEventCentrality", kTH1F, {{100, 0.0f, +100.0f}});
histos.add("hEventCentrality", "hEventCentrality", kTH1F, {{101, 0.0f, 101.0f}});
histos.add("hCentralityVsNch", "hCentralityVsNch", kTH2F, {axisCentrality, axisNch});

histos.add("hEventPVz", "hEventPVz", kTH1F, {{100, -20.0f, +20.0f}});
Expand All @@ -440,7 +440,7 @@ struct derivedlambdakzeroanalysis {

histos.add("hGapSide", "Gap side; Entries", kTH1F, {{5, -0.5, 4.5}});
histos.add("hSelGapSide", "Selected gap side; Entries", kTH1F, {axisSelGap});
histos.add("hEventCentralityVsSelGapSide", ";Centrality (%); Selected gap side", kTH2F, {{100, 0.0f, +100.0f}, axisSelGap});
histos.add("hEventCentralityVsSelGapSide", ";Centrality (%); Selected gap side", kTH2F, {{101, 0.0f, 101.0f}, axisSelGap});

// for QA and test purposes
auto hRawCentrality = histos.add<TH1>("hRawCentrality", "hRawCentrality", kTH1F, {axisRawCentrality});
Expand Down Expand Up @@ -710,12 +710,12 @@ struct derivedlambdakzeroanalysis {
histos.add("hGenEvents", "hGenEvents", kTH2F, {{axisNch}, {2, -0.5f, +1.5f}});
histos.get<TH2>(HIST("hGenEvents"))->GetYaxis()->SetBinLabel(1, "All gen. events");
histos.get<TH2>(HIST("hGenEvents"))->GetYaxis()->SetBinLabel(2, "Gen. with at least 1 rec. events");
histos.add("hGenEventCentrality", "hGenEventCentrality", kTH1F, {{100, 0.0f, +100.0f}});
histos.add("hGenEventCentrality", "hGenEventCentrality", kTH1F, {{101, 0.0f, 101.0f}});

histos.add("hCentralityVsNcoll_beforeEvSel", "hCentralityVsNcoll_beforeEvSel", kTH2F, {axisCentrality, {50, -0.5f, 49.5f}});
histos.add("hCentralityVsNcoll_afterEvSel", "hCentralityVsNcoll_afterEvSel", kTH2F, {axisCentrality, {50, -0.5f, 49.5f}});

histos.add("hCentralityVsMultMC", "hCentralityVsMultMC", kTH2F, {{100, 0.0f, 100.0f}, axisNch});
histos.add("hCentralityVsMultMC", "hCentralityVsMultMC", kTH2F, {{101, 0.0f, 101.0f}, axisNch});

histos.add("h2dGenK0Short", "h2dGenK0Short", kTH2D, {axisCentrality, axisPt});
histos.add("h2dGenLambda", "h2dGenLambda", kTH2D, {axisCentrality, axisPt});
Expand Down

0 comments on commit 7216035

Please sign in to comment.