Skip to content

Commit 76a9e3e

Browse files
authored
Update dndetaMFTPbPb.cxx
Added configurable axis for track chi2 histograms
1 parent fdd6e3c commit 76a9e3e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ AxisSpec dcaxyAxis = {500, -1, 50};
6565
AxisSpec phiAxis = {629, 0, TwoPI, "Rad", "#phi"};
6666
AxisSpec etaAxis = {20, -4., -2.};
6767
AxisSpec centAxis{100, 0, 100, "centrality"};
68+
AxisSpec chiSqAxis = {100, 0., 1000.};
6869

6970
struct DndetaMFTPbPb {
7071
SliceCache cache;
@@ -275,10 +276,10 @@ struct DndetaMFTPbPb {
275276
qaregistry.add(
276277
{"Tracks/Chi2Eta",
277278
"; #chi^{2}; #it{#eta}; occupancy",
278-
{HistType::kTHnSparseF, {{600, 0, 20}, etaAxis, occupancyAxis}}});
279+
{HistType::kTHnSparseF, {chiSqAxis, etaAxis, occupancyAxis}}});
279280
qaregistry.add({"Tracks/Chi2",
280281
"; #chi^{2};",
281-
{HistType::kTH2F, {{600, 0, 20}, occupancyAxis}}});
282+
{HistType::kTH2F, {chiSqAxis, occupancyAxis}}});
282283
qaregistry.add(
283284
{"Tracks/NclustersEta",
284285
"; nClusters; #eta; occupancy",
@@ -376,11 +377,11 @@ struct DndetaMFTPbPb {
376377
{"Tracks/Centrality/Chi2Eta",
377378
"; #chi^{2}; #it{#eta}; centrality; occupancy",
378379
{HistType::kTHnSparseF,
379-
{{600, 0, 20}, etaAxis, centralityAxis, occupancyAxis}}});
380+
{chiSqAxis, etaAxis, centralityAxis, occupancyAxis}}});
380381
qaregistry.add({"Tracks/Centrality/Chi2",
381382
"; #chi^{2}; centrality; occupancy",
382383
{HistType::kTHnSparseF,
383-
{{600, 0, 20}, centralityAxis, occupancyAxis}}});
384+
{chiSqAxis, centralityAxis, occupancyAxis}}});
384385
qaregistry.add({"Tracks/Centrality/NclustersEta",
385386
"; nClusters; #eta; centrality; occupancy",
386387
{HistType::kTHnSparseF,

0 commit comments

Comments
 (0)