28 [ maxBunchSpacing, bunch ](
int b ) {
29 return ( Trig::distance( bunch, b ) <=
35 return ( neighbors - 1 );
const std::vector< int > & m_bunches
Filled bunches in the current configuration.
int operator()(int bunch) const
Count how many neighbors can be found for the specified bunch crossing.
count_bunch_neighbors(const std::vector< int > &bunches, int maxBunchSpacing)
Constructor with colliding bunches, and maximum bunch spacing.
const int m_maxBunchSpacing
Maximum bunch spacing to consider.
The common trigger namespace for trigger analysis tools.