Skip to content

Commit c40a07e

Browse files
authored
[PWGJE] Adding trigger spectra (AliceO2Group#9330)
1 parent 3ec537f commit c40a07e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PWGJE/Tasks/jetHadronRecoil.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ struct JetHadronRecoil {
8383
{"hSignalPtDPhi", "jet p_{T} vs DPhi;#Delta#phi;p_{T,jet}", {HistType::kTH2F, {{100, 0, o2::constants::math::TwoPI}, {150, 0, 150}}}},
8484
{"hReferencePt", "jet p_{T};p_{T,jet};entries", {HistType::kTH1F, {{150, 0, 150}}}},
8585
{"hSignalPt", "jet p_{T};p_{T,jet};entries", {HistType::kTH1F, {{150, 0, 150}}}},
86+
{"hSignalTriggers", "trigger p_{T};p_{T,trig};entries", {HistType::kTH1F, {{150, 0, 150}}}},
87+
{"hReferenceTriggers", "trigger p_{T};p_{T,trig};entries", {HistType::kTH1F, {{150, 0, 150}}}},
8688
{"hSignalLeadingTrack", "leading track p_{T};p_{T,jet};#Delta#phi;leading track p_{T}", {HistType::kTH3F, {{150, 0, 150}, {100, 0, o2::constants::math::TwoPI}, {150, 0, 150}}}},
8789
{"hReferenceLeadingTrack", "leading track p_{T};p_{T,jet};#Delta#phi;leading track p_{T}", {HistType::kTH3F, {{150, 0, 150}, {100, 0, o2::constants::math::TwoPI}, {150, 0, 150}}}},
8890
{"hJetSignalMultiplicity", "jet multiplicity;N_{jets};entries", {HistType::kTH1F, {{10, 0, 10}}}},
@@ -165,10 +167,12 @@ struct JetHadronRecoil {
165167
}
166168
if (isSigCol && track.pt() < ptTTsigMax && track.pt() > ptTTsigMin) {
167169
phiTTAr.push_back(track.phi());
170+
registry.fill(HIST("hSignalPt"), track.pt(), weight);
168171
nTT++;
169172
}
170173
if (!isSigCol && track.pt() < ptTTrefMax && track.pt() > ptTTrefMin) {
171174
phiTTAr.push_back(track.phi());
175+
registry.fill(HIST("hReferencePt"), track.pt(), weight);
172176
nTT++;
173177
}
174178
registry.fill(HIST("hPtTrack"), track.pt(), weight);

0 commit comments

Comments
 (0)