Skip to content

Commit b5f4799

Browse files
authored
[PWGJE] emcalCorrectionTask: Make Cluster and cell per DF axis config… (#16617)
1 parent 572e544 commit b5f4799

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

PWGJE/TableProducer/emcalCorrectionTask.cxx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ struct EmcalCorrectionTask {
141141
Configurable<bool> applySoftwareTriggerSelection{"applySoftwareTriggerSelection", false, "Apply software trigger selection"};
142142
Configurable<std::string> softwareTriggerSelection{"softwareTriggerSelection", "fGammaHighPtEMCAL,fGammaHighPtDCAL", "Default: fGammaHighPtEMCAL,fGammaHighPtDCAL"};
143143
Configurable<bool> storePerDFInfo{"storePerDFInfo", false, "store addition information per DF."};
144+
ConfigurableAxis thConfigAxisClusters{"thConfigAxisClusters", {1000, 0.5f, 1000.5f}, ""};
145+
ConfigurableAxis thConfigAxisCells{"thConfigAxisCells", {1000, 0.5f, 1000.5f}, ""};
144146
// cross talk emulation configs
145147
EmcCrossTalkConf emcCrossTalkConf;
146148

@@ -311,11 +313,12 @@ struct EmcalCorrectionTask {
311313
sigmaLongAxis{100, 0., 1.0, "#sigma^{2}_{long}"},
312314
sigmaShortAxis{100, 0., 1.0, "#sigma^{2}_{short}"},
313315
nCellAxis{60, -0.5, 59.5, "#it{n}_{cells}"},
314-
nClusterAxis{10001, -0.5, 10000.5, "#it{N}_{cluster}"},
315316
energyDenseAxis = {7000, 0.f, 70.f, "#it{E}_{cell} (GeV)"};
316317
o2::framework::AxisSpec axisDeltaEta{400, -0.2, 0.2, "#Delta#eta"};
317318
o2::framework::AxisSpec axisDeltaPhi{400, -0.2, 0.2, "#Delta#varphi (rad)"};
318319
o2::framework::AxisSpec axisNCluster{1000, 0, 1000, "#it{N}_{clus.}"};
320+
const o2::framework::AxisSpec nClusterDFAxis{thConfigAxisClusters, "#it{N}_{cluster}"};
321+
const o2::framework::AxisSpec nCellsDFAxis{thConfigAxisCells, "#it{N}_{cells}"};
319322
mHistManager.add("hCellE", "hCellE", O2HistType::kTH1D, {energyAxis});
320323
mHistManager.add("hCellTowerID", "hCellTowerID", O2HistType::kTH1D, {{20000, 0, 20000}});
321324
mHistManager.add("hCellEtaPhi", "hCellEtaPhi", O2HistType::kTH2F, {etaAxis, phiAxis});
@@ -388,9 +391,9 @@ struct EmcalCorrectionTask {
388391
mExtraTimeShiftRunRanges.emplace_back(559544, 559856); // PbPb 2024
389392

390393
if (storePerDFInfo.value) {
391-
mHistManager.add("hNClusterDF", "hNClusterDF", O2HistType::kTH1D, {nClusterAxis});
392-
mHistManager.add("hNClusterAmbigousDF", "hNClusterAmbigousDF", O2HistType::kTH1D, {nClusterAxis});
393-
mHistManager.add("hNCellDF", "hNCellDF", O2HistType::kTH1D, {nClusterAxis});
394+
mHistManager.add("hNClusterDF", "hNClusterDF", O2HistType::kTH1D, {nClusterDFAxis});
395+
mHistManager.add("hNClusterAmbigousDF", "hNClusterAmbigousDF", O2HistType::kTH1D, {nClusterDFAxis});
396+
mHistManager.add("hNCellDF", "hNCellDF", O2HistType::kTH1D, {nCellsDFAxis});
394397
}
395398
}
396399

0 commit comments

Comments
 (0)