Skip to content

Commit d8a604d

Browse files
committed
Add shifted rho data with TTRef
1 parent 911c7ff commit d8a604d

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

PWGJE/Tasks/recoilJets.cxx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,12 @@ struct RecoilJets {
561561
// Register TTRef recoil spectra with rho-shift correction.
562562
for (const auto& ea : eaRhoShifts) {
563563
spectra.add(Form("h%s_Recoil_JetPt_Corr_RhoShifted_TTRef", ea.label),
564-
Form("%s recoil jet p_{T} (rho shifted)", ea.label),
564+
Form("%s: recoil jet p_{T} (#rho shifted)", ea.label),
565565
kTH1F, {jetPTcorrFinnerBin}, hist.sumw2);
566+
567+
spectra.add(Form("h%s_RhoShifted_TTRef", ea.label),
568+
Form("%s: #rho shifted in events w. TT_{Ref}", ea.label),
569+
kTH1F, {rho}, hist.sumw2);
566570
}
567571
}
568572

@@ -1535,30 +1539,37 @@ struct RecoilJets {
15351539
switch (ea.interval) {
15361540
case kMB:
15371541
spectra.fill(HIST("hEA_MB_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1542+
spectra.fill(HIST("hEA_MB_RhoShifted_TTRef"), rhoRefShifted, weight);
15381543
break;
15391544

15401545
case kEA0_20:
15411546
spectra.fill(HIST("hEA_Perc_0_20_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1547+
spectra.fill(HIST("hEA_Perc_0_20_RhoShifted_TTRef"), rhoRefShifted, weight);
15421548
break;
15431549

15441550
case kEA0_10:
15451551
spectra.fill(HIST("hEA_Perc_0_10_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1552+
spectra.fill(HIST("hEA_Perc_0_10_RhoShifted_TTRef"), rhoRefShifted, weight);
15461553
break;
15471554

15481555
case kEA20_40:
15491556
spectra.fill(HIST("hEA_Perc_20_40_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1557+
spectra.fill(HIST("hEA_Perc_20_40_RhoShifted_TTRef"), rhoRefShifted, weight);
15501558
break;
15511559

15521560
case kEA60_80:
15531561
spectra.fill(HIST("hEA_Perc_60_80_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1562+
spectra.fill(HIST("hEA_Perc_60_80_RhoShifted_TTRef"), rhoRefShifted, weight);
15541563
break;
15551564

15561565
case kEA50_100:
15571566
spectra.fill(HIST("hEA_Perc_50_100_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1567+
spectra.fill(HIST("hEA_Perc_50_100_RhoShifted_TTRef"), rhoRefShifted, weight);
15581568
break;
15591569

15601570
case kEA80_100:
15611571
spectra.fill(HIST("hEA_Perc_80_100_Recoil_JetPt_Corr_RhoShifted_TTRef"), jetPtCorrShifted, weight);
1572+
spectra.fill(HIST("hEA_Perc_80_100_RhoShifted_TTRef"), rhoRefShifted, weight);
15621573
break;
15631574
}
15641575
}

0 commit comments

Comments
 (0)