7#ifndef TRIGBUNCHCROSSINGTOOL_COUNT_BUNCH_NEIGHBORS_H
8#define TRIGBUNCHCROSSINGTOOL_COUNT_BUNCH_NEIGHBORS_H
29 int maxBunchSpacing );
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.