19 return tob1->Et() > tob2->Et();
43 m_numberOfjTaus = parameter(
"OutputWidth").value();
44 m_minEta = parameter(
"MinEta").value();
45 m_maxEta = parameter(
"MaxEta").value();
46 m_iso = parameter(
"Isolation").value();
47 m_passIsolation = parameter(
"passIsolation").value();
60 if (
parType_t(std::abs((*jtau)-> eta())) < m_minEta )
continue;
61 if (
parType_t(std::abs((*jtau)-> eta())) > m_maxEta )
continue;
62 if (! ( m_passIsolation || checkIsolation(*jtau) ) )
continue;
70 int par = m_numberOfjTaus;
71 unsigned int maxNumberOfJTaus = std::clamp(
par, 0, std::abs(
par));
72 if(maxNumberOfJTaus>0) {
73 while(
output.size()> maxNumberOfJTaus ) {
74 if (
output.size() == (maxNumberOfJTaus+1)) {
75 bool isAmbiguous =
output[maxNumberOfJTaus-1].Et() ==
output[maxNumberOfJTaus].Et();
76 if (isAmbiguous) {
output.setAmbiguityFlag(
true); }
87 if(m_passIsolation)
return true;
88 return jtau->
EtIso()*1024 < jtau->
Et()*m_iso;