Skip to content

Commit

Permalink
adding QA histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
junleekim committed Oct 29, 2024
1 parent 9649dea commit 14b94cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PWGLF/Tasks/Strangeness/lambdapolarization.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ struct lambdapolarization {
{
AxisSpec cosAxis = {110, -1.05, 1.05};
AxisSpec centQaAxis = {80, 0.0, 80.0};
AxisSpec PVzQaAxis = {300, -15.0, 15.0};
AxisSpec epAxis = {6, 0.0, 2.0 * constants::math::PI};
AxisSpec epQaAxis = {100, -1.0 * constants::math::PI, constants::math::PI};

Expand All @@ -205,6 +206,7 @@ struct lambdapolarization {

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

histos.add("QA/nsigma_tpc_pt_ppr", "", {HistType::kTH2F, {ptAxis, pidAxis}});
histos.add("QA/nsigma_tpc_pt_ppi", "", {HistType::kTH2F, {ptAxis, pidAxis}});
Expand Down Expand Up @@ -618,6 +620,8 @@ struct lambdapolarization {
return;
}
histos.fill(HIST("QA/CentDist"), centrality, 1.0);
histos.fill(HIST("QA/PVzDist"), collision.posZ(), 1.0);

Check failure on line 624 in PWGLF/Tasks/Strangeness/lambdapolarization.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
if (cfgShiftCorr) {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
currentRunNumber = bc.runNumber();
Expand Down

0 comments on commit 14b94cc

Please sign in to comment.