Skip to content

Commit 4acb78f

Browse files
authored
[PWGCF] Fix strongly intensive eta-gap histograms (#16688)
All checks passed. This is a small follow-up fix for the Hyperloop crash caused by obsolete inclusive eta-gap histogram filling.
1 parent b475885 commit 4acb78f

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

PWGCF/EbyEFluctuations/Tasks/stronglyIntensiveCorr.cxx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ struct StronglyIntensiveCorr {
4545
// ------------------------------------------------------------------
4646
// Configurables
4747
// ------------------------------------------------------------------
48-
Configurable<bool> cfgIsMC{"cfgIsMC", false, "Run MC histograms/processes"};
4948

5049
Configurable<float> cfgCutVertex{"cfgCutVertex", 10.0f, "Accepted z-vertex range"};
5150
Configurable<float> cfgCutEta{"cfgCutEta", 0.8f, "absolute eta cut"};
@@ -65,7 +64,7 @@ struct StronglyIntensiveCorr {
6564

6665
Configurable<float> cfgCentMin{"cfgCentMin", 0.0f, "Minimum centrality"};
6766
Configurable<float> cfgCentMax{"cfgCentMax", 90.0f, "Maximum centrality"};
68-
Configurable<int> cfgCentralityChoice{"cfgCentralityChoice", 0, "Centrality estimator: 0=FT0C, 1=FT0A, 2=FT0M, 3=FV0A"};
67+
Configurable<int> cfgCentralityChoice{"cfgCentralityChoice", 0, "Centrality estimator: 0=FT0C, 1=FT0M"};
6968
Configurable<float> cfgCentWindowWidth{"cfgCentWindowWidth", 10.0f, "Centrality window width around class centers"};
7069

7170
Configurable<int> cfgNSubsamples{"cfgNSubsamples", 20, "Number of subsamples; max is nSubsamplesMax"};
@@ -89,7 +88,7 @@ struct StronglyIntensiveCorr {
8988

9089
// F = (etaMin[i], etaMax[i]), B = (-etaMax[i], -etaMin[i])
9190
// Gap = 2*etaMin[i]. Last two bins are adjacent narrow windows around midrapidity.
92-
std::array<double, nEtaGaps> etaMin = {0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.0, 0.0};
91+
std::array<double, nEtaGaps> etaMin = {0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.0, -0.1};
9392
std::array<double, nEtaGaps> etaMax = {0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1};
9493

9594
std::array<double, nPtBins + 1> ptEdges = {0.2, 0.5, 0.8, 1.0, 1.5, 2.0, 5.0};
@@ -639,17 +638,10 @@ struct StronglyIntensiveCorr {
639638
std::array<double, nEtaGaps> const& nB)
640639
{
641640
for (int i = 0; i < nEtaGaps; ++i) {
642-
const double gap = 2.0 * etaMin[i];
643641

644642
histos.fill(HIST("QA/hNF"), nF[i]);
645643
histos.fill(HIST("QA/hNB"), nB[i]);
646644
histos.fill(HIST("QA/hNFvsNB"), nF[i], nB[i]);
647-
648-
histos.fill(HIST("SI/pNF_etaGap"), gap, nF[i]);
649-
histos.fill(HIST("SI/pNB_etaGap"), gap, nB[i]);
650-
histos.fill(HIST("SI/pNF2_etaGap"), gap, nF[i] * nF[i]);
651-
histos.fill(HIST("SI/pNB2_etaGap"), gap, nB[i] * nB[i]);
652-
histos.fill(HIST("SI/pNFNB_etaGap"), gap, nF[i] * nB[i]);
653645
}
654646
}
655647

0 commit comments

Comments
 (0)