24 defineParameter(
"InputWidth", 3);
25 defineParameter(
"NumResultBits", 1);
26 defineParameter(
"MinET",1);
27 defineParameter(
"MinEta",0);
28 defineParameter(
"MaxEta",49);
29 defineParameter(
"MinMultiplicity",1);
31 setNumberOutputBits(1);
39 p_NumberLeading1 = parameter(
"InputWidth").value();
40 p_MinET = parameter(
"MinET").value();
41 p_Multiplicity = parameter(
"MinMultiplicity").value();
43 p_EtaMin = parameter(
"MinEta").value();
44 p_EtaMax = parameter(
"MaxEta").value();
60 const std::vector<TCS::TOBArray *> &
output,
70 const std::vector<TCS::TOBArray *> &
output,
74 if(
input.size() == 1) {
77 unsigned int nLeading = p_NumberLeading1;
80 unsigned int nmult = 0;
82 std::vector<TCS::GenericTOB*> TOBvector;
88 if (
parType_t(std::abs((*tob1)-> eta())) < p_EtaMin)
continue;
89 if (
parType_t(std::abs((*tob1)-> eta())) > p_EtaMax)
continue;
91 if(
parType_t((*tob1)->Et()) <= p_MinET )
continue;
96 TOBvector.push_back( *tob1 );
101 bool accept = nmult >= p_Multiplicity;