18 defineParameter(
"InputWidth", 120 );
19 defineParameter(
"InputWidth1stStage", 30 );
20 defineParameter(
"OutputWidth", 6 );
21 defineParameter(
"MinET", 0 );
22 defineParameter(
"REtaMin", 0 );
23 defineParameter(
"RHadMin", 0 );
24 defineParameter(
"WsTotMin", 0 );
25 defineParameter(
"MinEta", 0 );
26 defineParameter(
"MaxEta", 196 );
35 m_numberOfeEms = parameter(
"OutputWidth").value();
36 m_et = parameter(
"MinET").value();
37 m_minREta = parameter(
"REtaMin").value();
38 m_minRHad = parameter(
"RHadMin").value();
39 m_minWsTot = parameter(
"WsTotMin").value();
51 if(
parType_t((*eem)->Et()) <= m_et )
continue;
53 if ( !
isocut(m_minREta, (*eem)->
Reta()) ) {
continue;}
54 if ( !
isocut(m_minRHad, (*eem)->
Rhad()) ) {
continue;}
55 if ( !
isocut(m_minWsTot, (*eem)-> Wstot()) ) {
continue;}
63 int par = m_numberOfeEms ;
64 unsigned int maxNumberOfeEms = std::clamp(
par, 0, std::abs(
par));
65 if(maxNumberOfeEms>0) {
67 if (
output.size()> maxNumberOfeEms) {setOverflow(
true);}
69 while(
output.size()> maxNumberOfeEms ) {