20 bx_window_size(ps.getParameter<
int>(
"bxWindowSize")) {
28 auto tpin = inlist.cbegin();
29 auto inend = inlist.cend();
30 for( ; tpin != inend; ++tpin ) {
35 outlist.push_back(*tpin);
36 auto toerase =
std::find(leftovers.begin(), leftovers.end(), *tpin);
37 if( toerase != leftovers.end() ) {
38 leftovers.erase(toerase);
45 auto tp_bx = leftovers.cbegin();
46 auto tp_bx_end = leftovers.cend();
47 for( ; tp_bx != tp_bx_end; ++tp_bx ) {
48 if( *tp_bx == *tpin )
continue;
66 for(
int i = 0;
i < 7; ++
i ) {
87 outlist.push_back(newtp);
89 auto phierase =
std::find(leftovers.begin(), leftovers.end(), *tpin);
90 auto theerase =
std::find(leftovers.begin(),leftovers.end(),*tp_bx);
91 if( phierase != leftovers.end() ) {
92 leftovers.erase(phierase);
94 if( theerase != leftovers.end() ) {
95 leftovers.erase(theerase);
103 auto lo_tp = leftovers.cbegin();
104 auto lo_end = leftovers.cend();
105 for( ; lo_tp != lo_end; ++lo_tp ) {
106 outlist.push_back(*lo_tp);
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
L1TMuon::TriggerPrimitiveCollection clean(const L1TMuon::TriggerPrimitiveCollection &) const
std::vector< TriggerPrimitive > TriggerPrimitiveCollection
Abs< T >::type abs(const T &t)
DTBunchCrossingCleaner(const edm::ParameterSet &)
char data[epos_bytes_allocation]
static int position[264][3]