18 return tob1->Et() > tob2->Et();
41 m_numberOfJets = parameter(
"OutputWidth").value();
42 m_minEta = parameter(
"MinEta").value();
43 m_maxEta = parameter(
"MaxEta").value();
54 if (
parType_t(std::abs((*jet)-> eta())) < m_minEta)
continue;
55 if (
parType_t(std::abs((*jet)-> eta())) > m_maxEta)
continue;
64 int par = m_numberOfJets;
65 unsigned int maxNumberOfJets = std::clamp(
par, 0, std::abs(
par));
66 if(maxNumberOfJets>0) {
67 while(
output.size()> maxNumberOfJets ) {
68 if (
output.size() == (maxNumberOfJets+1)) {
69 bool isAmbiguous =
output[maxNumberOfJets-1].EtDouble() ==
output[maxNumberOfJets].EtDouble();
70 if (isAmbiguous) {
output.setAmbiguityFlag(
true); }