Skip to content

Commit 9e00e50

Browse files
Add 2D plot of Interaction rate Vs occupancy
1 parent 6a24033 commit 9e00e50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ struct derivedlambdakzeroanalysis {
461461
histos.add("hInteractionRate", "hInteractionRate", kTH1F, {axisIRBinning});
462462
histos.add("hCentralityVsInteractionRate", "hCentralityVsInteractionRate", kTH2F, {{101, 0.0f, 101.0f}, axisIRBinning});
463463

464+
histos.add("hInteractionRateVsOccupancy", "hInteractionRateVsOccupancy", kTH2F, {axisIRBinning, axisOccupancy});
465+
464466
// for QA and test purposes
465467
auto hRawCentrality = histos.add<TH1>("hRawCentrality", "hRawCentrality", kTH1F, {axisRawCentrality});
466468

@@ -1750,6 +1752,8 @@ struct derivedlambdakzeroanalysis {
17501752
histos.fill(HIST("hInteractionRate"), interactionRate);
17511753
histos.fill(HIST("hCentralityVsInteractionRate"), centrality, interactionRate);
17521754

1755+
histos.fill(HIST("hInteractionRateVsOccupancy"), interactionRate, collisionOccupancy);
1756+
17531757
// __________________________________________
17541758
// perform main analysis
17551759
int nK0Shorts = 0;
@@ -1835,6 +1839,8 @@ struct derivedlambdakzeroanalysis {
18351839
histos.fill(HIST("hInteractionRate"), interactionRate);
18361840
histos.fill(HIST("hCentralityVsInteractionRate"), centrality, interactionRate);
18371841

1842+
histos.fill(HIST("hInteractionRateVsOccupancy"), interactionRate, collisionOccupancy);
1843+
18381844
// __________________________________________
18391845
// perform main analysis
18401846
int nK0Shorts = 0;

0 commit comments

Comments
 (0)