20 defineParameter(
"InputWidth", 32 );
21 defineParameter(
"InputWidth1stStage", 16 );
22 defineParameter(
"OutputWidth", 6 );
23 defineParameter(
"MinEta", 0 );
24 defineParameter(
"MaxEta", 196 );
25 defineParameter(
"InnerCoinCut", 0 );
26 defineParameter(
"FullStationCut", 0 );
27 defineParameter(
"GoodMFieldCut", 0 );
28 defineParameter(
"nDelayedMuons", 1 );
38 m_numberOfMuons = parameter(
"nDelayedMuons").value();
39 m_minEta = parameter(
"MinEta").value();
40 m_maxEta = parameter(
"MaxEta").value();
41 m_InnerCoinCut = parameter(
"InnerCoinCut").value();
42 m_FullStationCut = parameter(
"FullStationCut").value();
43 m_GoodMFieldCut = parameter(
"GoodMFieldCut").value();
62 if (
parType_t(std::abs((*lm)-> eta())) < m_minEta)
continue;
63 if (
parType_t(std::abs((*lm)-> eta())) > m_maxEta)
continue;
69 if(m_InnerCoinCut == 1 && ( ! (
static_cast<int>(
parType_t((*lm)->innerCoin())) ==
static_cast<int>(m_InnerCoinCut) ) ) )
continue;
70 if(m_FullStationCut == 1 && ( ! (
static_cast<int>(
parType_t((*lm)->bw2or3())) ==
static_cast<int>(m_FullStationCut) ) ) )
continue;
71 if(m_GoodMFieldCut == 1 && ( ! (
static_cast<int>(
parType_t((*lm)->goodMF())) ==
static_cast<int>(m_GoodMFieldCut) ) ) )
continue;
78 output.sort( [] (
auto tob1,
auto tob2) {
return tob1->Et() > tob2->Et();} );
81 if( m_numberOfMuons > 0) {
82 while(
output.size()> m_numberOfMuons ) {