18 return tob1->Et() > tob2->Et();
43 m_numberOfJets = parameter(
"OutputWidth").value();
44 m_minEta = parameter(
"MinEta").value();
45 m_maxEta = parameter(
"MaxEta").value();
46 m_iso = parameter(
"IsoMin").value();
47 m_frac1 = parameter(
"Frac1Min").value();
48 m_frac2 = parameter(
"Frac2Min").value();
61 if ( !
isocut(m_iso, (*jet)-> isolation()) )
continue;
62 if ( !
isocut(m_frac1, (*jet)-> frac1()) )
continue;
63 if ( !
isocut(m_frac2, (*jet)-> frac2()) )
continue;
65 if (
parType_t(std::abs((*jet)-> eta())) < m_minEta )
continue;
66 if (
parType_t(std::abs((*jet)-> eta())) > m_maxEta )
continue;
75 int par = m_numberOfJets;
76 unsigned int maxNumberOfJets = std::clamp(
par, 0, std::abs(
par));
77 if(maxNumberOfJets>0) {
78 while(
output.size()> maxNumberOfJets ) {
79 if (
output.size() == (maxNumberOfJets+1)) {
80 bool isAmbiguous =
output[maxNumberOfJets-1].EtDouble() ==
output[maxNumberOfJets].EtDouble();
81 if (isAmbiguous) {
output.setAmbiguityFlag(
true); }