Skip to content

Commit 46050fa

Browse files
author
Prottay Das
committed
corrected unused var
1 parent d358c36 commit 46050fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

PWGLF/Tasks/Resonances/phiflowder.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ struct phiflowder {
5555
ConfigurableAxis axisCent{"axisCent", {80, 0.f, 80.f}, "Centrality (%)"};
5656
ConfigurableAxis axisV1{"axisV1", {1000, -1.0f, 1.0f}, "v1"};
5757
ConfigurableAxis axisEta{"axisEta", {8, -0.8f, 0.8f}, "Eta"};
58-
ConfigurableAxis axisNKaons{"axisNKaons", {300, 0.f, 300.f}, "Number of stored kaons per event"};
5958
ConfigurableAxis axisNPairs{"axisNPairs", {500, 0.f, 5000.f}, "Number of K^{+}K^{-} pairs per event"};
6059

6160
Configurable<int> nEvtMixing{"nEvtMixing", 5, "Number of events to mix"};
@@ -84,6 +83,7 @@ struct phiflowder {
8483
histos.add("hpQxtvscent", "hpQxtvscent", HistType::kTHnSparseF, {axisCent, axisV1}, true);
8584
histos.add("hpQypvscent", "hpQypvscent", HistType::kTHnSparseF, {axisCent, axisV1}, true);
8685
histos.add("hpQytvscent", "hpQytvscent", HistType::kTHnSparseF, {axisCent, axisV1}, true);
86+
histos.add("hMixpairs", "hMixpairs", HistType::kTHnSparseF, {axisNPairs}, true);
8787
}
8888

8989
uint8_t getRequiredPidBit() const
@@ -461,6 +461,8 @@ struct phiflowder {
461461
negGroup1,
462462
centrality2, qxZDCA, qxZDCC, qyZDCA, qyZDCC);
463463
}
464+
465+
histos.fill(HIST("hMixpairs"), nMixedPairs);
464466
}
465467

466468
PROCESS_SWITCH(phiflowder, processMixedData, "Process mixed-event K+K- pairs", true);

0 commit comments

Comments
 (0)