Skip to content

Commit 2a95823

Browse files
committed
Fixing bugs
1 parent 009bba3 commit 2a95823

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

PWGJE/Tasks/jetHadronRecoil.cxx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,22 @@ struct JetHadronRecoil {
527527
registry.fill(HIST("hPtPartPtHard"), particle.pt(), particle.pt() / pTHat, weight);
528528
}
529529

530+
if (nTT > 0) {
531+
trigNumber = rand->Integer(nTT);
532+
phiTT = phiTTAr[trigNumber];
533+
ptTT = ptTTAr[trigNumber];
534+
if (isSigCol) {
535+
registry.fill(HIST("hNtrig"), 1.5, weight);
536+
registry.fill(HIST("hSigEventTriggers"), nTT, weight);
537+
registry.fill(HIST("hSignalTriggersPtHard"), ptTT / pTHat, weight);
538+
}
539+
if (!isSigCol) {
540+
registry.fill(HIST("hNtrig"), 0.5, weight);
541+
registry.fill(HIST("hRefEventTriggers"), nTT, weight);
542+
registry.fill(HIST("hReferenceTriggersPtHard"), ptTT / pTHat, weight);
543+
}
544+
}
545+
530546
for (const auto& jet : jets) {
531547
if (jet.pt() > leadingJetPt) {
532548
leadingJetPt = jet.pt();

0 commit comments

Comments
 (0)