Skip to content

Commit d3a5567

Browse files
jikim1290junleekimalibuild
authored
[PWGLF] adding QA histogram (#8198)
Co-authored-by: junleekim <junleekim@maccbookjunlee2024.dyndns.cern.ch> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 904ee5e commit d3a5567

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PWGLF/Tasks/Strangeness/lambdapolarization.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ struct lambdapolarization {
180180
{
181181
AxisSpec cosAxis = {110, -1.05, 1.05};
182182
AxisSpec centQaAxis = {80, 0.0, 80.0};
183+
AxisSpec PVzQaAxis = {300, -15.0, 15.0};
183184
AxisSpec epAxis = {6, 0.0, 2.0 * constants::math::PI};
184185
AxisSpec epQaAxis = {100, -1.0 * constants::math::PI, constants::math::PI};
185186

@@ -205,6 +206,7 @@ struct lambdapolarization {
205206

206207
if (cfgQAv0) {
207208
histos.add("QA/CentDist", "", {HistType::kTH1F, {centQaAxis}});
209+
histos.add("QA/PVzDist", "", {HistType::kTH1F, {PVzQaAxis}});
208210

209211
histos.add("QA/nsigma_tpc_pt_ppr", "", {HistType::kTH2F, {ptAxis, pidAxis}});
210212
histos.add("QA/nsigma_tpc_pt_ppi", "", {HistType::kTH2F, {ptAxis, pidAxis}});
@@ -618,6 +620,8 @@ struct lambdapolarization {
618620
return;
619621
}
620622
histos.fill(HIST("QA/CentDist"), centrality, 1.0);
623+
histos.fill(HIST("QA/PVzDist"), collision.posZ(), 1.0);
624+
621625
if (cfgShiftCorr) {
622626
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
623627
currentRunNumber = bc.runNumber();

0 commit comments

Comments
 (0)