@@ -674,46 +674,31 @@ struct FullJetSpectra {
674674 void processJetsData (soa::Filtered<EMCCollisionsData>::iterator const & collision, FullJetTableDataJoined const & jets, aod::JetTracks const &, aod::JetClusters const &)
675675 {
676676 bool eventAccepted = false ;
677- double weight = 1.0 ;
678- float pTHat = 10 . / (std::pow (weight, 1.0 / pTHatExponent));
679677
680678 registry.fill (HIST (" hDetcollisionCounter" ), 0.5 ); // allDetColl
681679 if (std::fabs (collision.posZ ()) > vertexZCut) {
682680 return ;
683681 }
684682 registry.fill (HIST (" hDetcollisionCounter" ), 1.5 ); // DetCollWithVertexZ
685683
686- // outlier check: for every outlier jet, reject the whole event
687- for (auto const & jet : jets) {
688- if (jet.pt () > pTHatMaxMCD * pTHat || pTHat < pTHatAbsoluteMin) { // for MCD jets only to remove outliers; setting pTHatMaxMCD = 1 improves purity
689- registry.fill (HIST (" hDetcollisionCounter" ), 2.5 ); // RejectedDetCollWithOutliers
690- return ;
691- }
692- // this cut only to be used for calculating Jet Purity and not for Response Matrix
693- // this is mainly applied to remove all high weight jets causing big fluctuations
694- if (jet.pt () > 1 * pTHat) {
695- registry.fill (HIST (" h_full_jet_pt_pTHatcut" ), jet.pt (), weight);
696- }
697- }
698-
699684 if (doMBGapTrigger && collision.subGeneratorId () == jetderiveddatautilities::JCollisionSubGeneratorId::mbGap) {
700- registry.fill (HIST (" hDetcollisionCounter" ), 3 .5 ); // MBRejectedDetEvents
685+ registry.fill (HIST (" hDetcollisionCounter" ), 2 .5 ); // MBRejectedDetEvents
701686 return ;
702687 }
703688 if (!jetderiveddatautilities::selectCollision (collision, eventSelectionBits, doMBGapTrigger)) {
704- registry.fill (HIST (" hDetcollisionCounter" ), 4 .5 ); // EventsNotSatisfyingEventSelection
689+ registry.fill (HIST (" hDetcollisionCounter" ), 3 .5 ); // EventsNotSatisfyingEventSelection
705690 return ;
706691 }
707692 if (doEMCALEventWorkaround) {
708693 if (collision.isEmcalReadout () && !collision.isAmbiguous ()) { // i.e. EMCAL has a cell content
709694 eventAccepted = true ;
710695 if (collision.alias_bit (kTVXinEMC )) {
711- registry.fill (HIST (" hDetcollisionCounter" ), 5 .5 ); // EMCreadoutDetEventsWithkTVXinEMC
696+ registry.fill (HIST (" hDetcollisionCounter" ), 4 .5 ); // EMCreadoutDetEventsWithkTVXinEMC
712697 }
713698 }
714699 } else {
715700 if (!collision.isAmbiguous () && jetderiveddatautilities::eventEMCAL (collision) && collision.alias_bit (kTVXinEMC )) {
716- registry.fill (HIST (" hDetcollisionCounter" ), 5 .5 ); // EMCreadoutDetEventsWithkTVXinEMC
701+ registry.fill (HIST (" hDetcollisionCounter" ), 4 .5 ); // EMCreadoutDetEventsWithkTVXinEMC
717702 eventAccepted = true ;
718703 }
719704 }
@@ -724,10 +709,10 @@ struct FullJetSpectra {
724709 fillRejectedJetHistograms (jet, 1.0 );
725710 }
726711 }
727- registry.fill (HIST (" hDetcollisionCounter" ), 6 .5 ); // AllRejectedDetEventsAfterEMCEventSelection
712+ registry.fill (HIST (" hDetcollisionCounter" ), 5 .5 ); // AllRejectedDetEventsAfterEMCEventSelection
728713 return ;
729714 }
730- registry.fill (HIST (" hDetcollisionCounter" ), 7 .5 ); // EMCAcceptedDetColl
715+ registry.fill (HIST (" hDetcollisionCounter" ), 6 .5 ); // EMCAcceptedDetColl
731716
732717 for (auto const & jet : jets) {
733718 if (!jetfindingutilities::isInEtaAcceptance (jet, jetEtaMin, jetEtaMax, trackEtaMin, trackEtaMax)) {
@@ -1410,21 +1395,13 @@ struct FullJetSpectra {
14101395 void processDataTracks (soa::Filtered<EMCCollisionsData>::iterator const & collision, soa::Filtered<aod::JetTracks> const & tracks, soa::Filtered<aod::JetClusters> const & clusters)
14111396 {
14121397 bool eventAccepted = false ;
1413- double weight = 1.0 ;
1414- float pTHat = 10 . / (std::pow (weight, 1.0 / pTHatExponent));
14151398
14161399 registry.fill (HIST (" hCollisionsUnweighted" ), 0.5 ); // allDetColl
14171400 if (std::fabs (collision.posZ ()) > vertexZCut) {
14181401 return ;
14191402 }
14201403 registry.fill (HIST (" hCollisionsUnweighted" ), 1.5 ); // DetCollWithVertexZ
14211404
1422- // for (auto const& track : tracks) {
1423- if (pTHat < pTHatAbsoluteMin) { // Track outlier rejection: should this be for every track iteration or for every collision?
1424- return ;
1425- }
1426- // }
1427-
14281405 if (doMBGapTrigger && collision.subGeneratorId () == jetderiveddatautilities::JCollisionSubGeneratorId::mbGap) {
14291406 registry.fill (HIST (" hCollisionsUnweighted" ), 2.5 ); // MBRejectedDetEvents
14301407 return ;
0 commit comments