Skip to content

Commit ce95aff

Browse files
authored
[PWGJE] Study EA vs centrality (#17728)
1 parent 73f63a7 commit ce95aff

1 file changed

Lines changed: 37 additions & 8 deletions

File tree

PWGJE/Tasks/recoilJets.cxx

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,20 +203,23 @@ struct RecoilJets {
203203

204204
ConfigurableAxis axisPtTrackEff{"axisPtTrackEff", {VARIABLE_WIDTH, 0.0, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.8, 1.0, 1.2, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 6.0, 8.0, 10.0, 12.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.0, 70.0, 100.0}, "#it{p}_{T} (GeV/#it{c})"};
205205

206-
ConfigurableAxis axisCentrality{"axisCentrality", {VARIABLE_WIDTH, -5.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0}, "Centrality (%)"};
206+
ConfigurableAxis axisCentrality{"axisCentrality", {VARIABLE_WIDTH, -5.0, 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0}, "Centrality (%)"};
207207
} hist;
208208

209209
// ---------- Rho-shift settings ----------
210210
struct RhoShift : ConfigurableGroup {
211211
std::string prefix = "rhoShiftTTRef";
212212

213-
Configurable<float> mb{"mb", 0.283998f, "Rho shift for MB"};
214-
Configurable<float> ea0To20{"ea0To20", 0.199249f, "Rho shift for EA 0-20%"};
215-
Configurable<float> ea0To10{"ea0To10", 0.186661f, "Rho shift for EA 0-10%"};
216-
Configurable<float> ea20To40{"ea20To40", 0.137945f, "Rho shift for EA 20-40%"};
217-
Configurable<float> ea60To80{"ea60To80", 0.0962535f, "Rho shift for EA 60-80%"};
218-
Configurable<float> ea50To100{"ea50To100", 0.106919f, "Rho shift for EA 50-100%"};
219-
Configurable<float> ea80To100{"ea80To100", 0.0871301f, "Rho shift for EA 80-100%"};
213+
// Values from train 747883
214+
Configurable<float> mb{"mb", 0.286292f, "Rho shift for MB"};
215+
Configurable<float> ea0To20{"ea0To20", 0.189813f, "Rho shift for EA 0-20%"};
216+
Configurable<float> ea0To10{"ea0To10", 0.180575f, "Rho shift for EA 0-10%"};
217+
Configurable<float> ea20To40{"ea20To40", 0.131103f, "Rho shift for EA 20-40%"};
218+
Configurable<float> ea60To80{"ea60To80", 0.092541f, "Rho shift for EA 60-80%"};
219+
Configurable<float> ea50To100{"ea50To100", 0.106569f, "Rho shift for EA 50-100%"};
220+
Configurable<float> ea80To100{"ea80To100", 0.0998433f, "Rho shift for EA 80-100%"};
221+
222+
Configurable<float> mbPart{"mbPart", 0.0f, "Rho shift for MB part. level MC"};
220223
} cfgRhoShift;
221224

222225
// Auxiliary variables
@@ -576,6 +579,10 @@ struct RecoilJets {
576579
kTH2F, {{centAxis.axis, centAxis.axisName}, scaledFT0M}, hist.sumw2);
577580
}
578581

582+
spectra.add("hCentFT0C_ScaledFT0C",
583+
"Correlation of CentFT0C vs. scaled FT0C",
584+
kTH2F, {{hist.axisCentrality, nameCentralityAxis}, scaledFT0C}, hist.sumw2);
585+
579586
// Register TTRef recoil spectra with rho-shift correction.
580587
for (const auto& ea : eaRhoShifts) {
581588
spectra.add(Form("h%s_Recoil_JetPt_Corr_RhoShifted_TTRef", ea.label),
@@ -767,6 +774,15 @@ struct RecoilJets {
767774
Form("MC events w. TT_{Sig}: %s & #it{p}_{T} of recoil jets", centAxis.label),
768775
kTH2F, {{centAxis.axis, centAxis.axisName}, jetPTcorrFinnerBin}, hist.sumw2);
769776
}
777+
778+
// Register TTRef recoil spectra with rho-shift correction
779+
spectra.add("hEA_MB_Recoil_JetPt_Corr_RhoShifted_TTRef_Part",
780+
"EA_MB: recoil jet #it{p}_{T} (#rho shifted)",
781+
kTH1F, {jetPTcorrFinnerBin}, hist.sumw2);
782+
783+
spectra.add("hEA_MB_RhoShifted_TTRef_Part",
784+
"EA_MB: #rho shifted in events w. TT_{Ref}",
785+
kTH1F, {rho}, hist.sumw2);
770786
}
771787

772788
// Jet matching analysis
@@ -1360,6 +1376,9 @@ struct RecoilJets {
13601376
spectra.fill(HIST("hCentFT0C_FT0MStar"), centFT0C, scaledFT0M, weight);
13611377
spectra.fill(HIST("hCentFT0M_FT0MStar"), centFT0M, scaledFT0M, weight);
13621378

1379+
// Correlation: centrality FT0C vs scaled FT0C
1380+
spectra.fill(HIST("hCentFT0C_ScaledFT0C"), centFT0C, ft0Metrics.multFT0C, weight);
1381+
13631382
// Z vertex position vs EA / centrality
13641383
spectra.fill(HIST("hScaledFT0C_vertexZ"), scaledFT0C, vertexZ, weight);
13651384
spectra.fill(HIST("hScaledFT0M_vertexZ"), scaledFT0M, vertexZ, weight);
@@ -1798,6 +1817,11 @@ struct RecoilJets {
17981817

17991818
spectra.fill(HIST("hCentFT0C_Rho_TTRef_Part"), centFT0C, rho, weight);
18001819
spectra.fill(HIST("hCentFT0M_Rho_TTRef_Part"), centFT0M, rho, weight);
1820+
1821+
//_____________________________________________________
1822+
// Fill EA-dependent rho spectra in events with TTRef with corresponding rho shift
1823+
const float rhoRefShifted = rho + cfgRhoShift.mbPart.value;
1824+
spectra.fill(HIST("hEA_MB_RhoShifted_TTRef_Part"), rhoRefShifted, weight);
18011825
}
18021826
}
18031827

@@ -1871,6 +1895,11 @@ struct RecoilJets {
18711895

18721896
if (bRecoilJet) {
18731897

1898+
// Fill EA-dependent TTRef recoil spectra using the corresponding rho shift
1899+
const float rhoRefShifted = rho + cfgRhoShift.mbPart.value;
1900+
const float jetPtCorrShifted = jetPt - rhoRefShifted * jetArea;
1901+
spectra.fill(HIST("hEA_MB_Recoil_JetPt_Corr_RhoShifted_TTRef_Part"), jetPtCorrShifted, weight);
1902+
18741903
// EA dependence
18751904
spectra.fill(HIST("hScaledFT0C_Recoil_JetPt_Corr_TTRef_Part"), scaledFT0C, jetPtCorr, weight);
18761905
spectra.fill(HIST("hScaledFT0M_Recoil_JetPt_Corr_TTRef_Part"), scaledFT0M, jetPtCorr, weight);

0 commit comments

Comments
 (0)