1 #ifndef __JTRIGGER__JMODULECOUNTER__
2 #define __JTRIGGER__JMODULECOUNTER__
50 for (T i = __begin; i != __end; ++i, ++out) {
51 *out = i->getModuleID();
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
static const JModuleCounter getNumberOfModules
Function object to count unique modules.
Auxiliary class for counting unique modules.
std::vector< int > buffer
int operator()(T __begin, T __end) const
Count unique modules.
JModuleCounter()
Default constructor.