Skip to content

Commit 7ef5f9c

Browse files
authored
[PWGJE] Add histogram with q/pT vs phi for tracks (#8687)
1 parent 4bb2ae1 commit 7ef5f9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PWGJE/Tasks/ChJetTriggerQATask.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ struct ChJetTriggerQATask {
8989
ConfigurableAxis dcaXY_Binning{"dcaXY_Binning", {100, -5., 5.}, ""};
9090
ConfigurableAxis dcaZ_Binning{"dcaZ_Binning", {100, -3., 3.}, ""};
9191

92+
ConfigurableAxis xPhiAxis{"xPhiAxis", {180, 0., TMath::TwoPi()}, ""};
93+
ConfigurableAxis yQ1pTAxis{"yQ1pTAxis", {200, -0.5, 0.5}, ""};
94+
9295
float fiducialVolume; // 0.9 - jetR
9396

9497
HistogramRegistry spectra;
@@ -128,6 +131,7 @@ struct ChJetTriggerQATask {
128131
spectra.add("nITSClusters_TrackPt", "Number of ITS hits vs phi & pT of tracks", kTH3F, {{7, 1., 8.}, {60, 0., TMath::TwoPi()}, {100, 0., 100.}});
129132
spectra.add("ptphiQualityTracks", "pT vs phi of quality tracks", {HistType::kTH2F, {{100, 0., 100.}, {60, 0, TMath::TwoPi()}}});
130133
spectra.add("ptphiAllTracks", "pT vs phi of all tracks", {HistType::kTH2F, {{100, 0., +100.}, {60, 0, TMath::TwoPi()}}});
134+
spectra.add("phi_Q1pT", "Track phi vs. q/pT", kTH2F, {xPhiAxis, yQ1pTAxis});
131135

132136
// Supplementary plots
133137
if (bAddSupplementHistosToOutput) {
@@ -206,6 +210,7 @@ struct ChJetTriggerQATask {
206210
continue;
207211
}
208212

213+
spectra.fill(HIST("phi_Q1pT"), originalTrack.phi(), originalTrack.sign() / originalTrack.pt());
209214
spectra.fill(HIST("ptphiQualityTracks"), track.pt(), track.phi());
210215

211216
bool bDcaCondition = (fabs(track.dcaZ()) < dcaZ_cut) && (fabs(track.dcaXY()) < dcaXY_multFact * DcaXYPtCut(track.pt()));

0 commit comments

Comments
 (0)