@@ -460,6 +460,14 @@ struct AntinucleiInJets {
460460 continue ;
461461 isAtLeastOneJetSelected = true ;
462462
463+ // perpendicular cone
464+ double coneRadius = std::sqrt (jet.area () / PI);
465+ TVector3 jetAxis (jet.px (), jet.py (), jet.pz ());// before or after subtraction of perpendicular cone?
466+ TVector3 ueAxis1 (0 , 0 , 0 );
467+ TVector3 ueAxis2 (0 , 0 , 0 );
468+ getPerpendicularAxis (jetAxis, ueAxis1, +1 );
469+ getPerpendicularAxis (jetAxis, ueAxis2, -1 );
470+
463471 // get jet constituents
464472 std::vector<fastjet::PseudoJet> jetConstituents = jet.constituents ();
465473 o2::aod::ITSResponse itsResponse;
@@ -541,14 +549,7 @@ struct AntinucleiInJets {
541549 }
542550 }
543551
544- // perpendicular cone
545- double coneRadius = std::sqrt (jet.area () / PI);
546- TVector3 jetAxis (jet.px (), jet.py (), jet.pz ());
547- TVector3 ueAxis1 (0 , 0 , 0 );
548- TVector3 ueAxis2 (0 , 0 , 0 );
549- getPerpendicularAxis (jetAxis, ueAxis1, +1 );
550- getPerpendicularAxis (jetAxis, ueAxis2, -1 );
551-
552+ // underlying event
552553 for (auto track : tracks) { // o2-linter: disable=[const-ref-in-for-loop]
553554
554555 // get corresponding track and apply track selection criteria
@@ -678,12 +679,14 @@ struct AntinucleiInJets {
678679 if ((std::fabs (jet.eta ()) + rJet) > (maxEta - 0.05 ))
679680 continue ;
680681 njetsInAcc++;
682+ registryQC.fill (HIST (" sumPtJetCone" ), jet.pt ());
681683
682684 // jet pt must be larger than threshold
683685 fastjet::PseudoJet jetMinusBkg = backgroundSub.doRhoAreaSub (jet, rhoPerp, rhoMPerp);
684686 if (getCorrectedPt (jetMinusBkg.pt ()) < minJetPt)
685687 continue ;
686688 njetsHighPt++;
689+ registryQC.fill (HIST (" sumPtJet" ), jet.pt ());
687690
688691 // jet properties and perpendicular cone
689692 std::vector<fastjet::PseudoJet> jetConstituents = jet.constituents ();
@@ -696,7 +699,6 @@ struct AntinucleiInJets {
696699
697700 registryQC.fill (HIST (" jetEffectiveArea" ), jet.area () / (PI * rJet * rJet));
698701 registryQC.fill (HIST (" NchJetCone" ), static_cast <int >(jetConstituents.size ()));
699- registryQC.fill (HIST (" sumPtJetCone" ), jet.pt ());
700702
701703 // loop over jet constituents
702704 for (const auto & particle : jetConstituents) { // o2-linter: disable=[const-ref-in-for-loop]
@@ -731,7 +733,6 @@ struct AntinucleiInJets {
731733 registryQC.fill (HIST (" NchUE" ), 0.5 * nParticlesPerp);
732734 registryQC.fill (HIST (" NchJet" ), static_cast <double >(jetConstituents.size ()) - 0.5 * nParticlesPerp);
733735 registryQC.fill (HIST (" sumPtUE" ), 0.5 * ptPerp);
734- registryQC.fill (HIST (" sumPtJet" ), jet.pt () - 0.5 * ptPerp);
735736 }
736737 registryQC.fill (HIST (" nJetsFound" ), static_cast <int >(jets.size ()));
737738 registryQC.fill (HIST (" nJetsInAcceptance" ), njetsInAcc);
0 commit comments