Go to the documentation of this file. 1 #ifndef __JTRIGGER__JSUMMARYSLICEROUTER__
2 #define __JTRIGGER__JSUMMARYSLICEROUTER__
55 for (iterator i = this->begin(); i != this->end(); ++i) {
56 router.put(i->getModuleID(),
router.getDefaultAddress());
65 for (iterator i = this->begin(); i != this->end(); ++i) {
void setDAQChronometer(const JDAQChronometer &chronometer)
Set DAQ chronometer.
const JDAQSummaryFrame & getSummaryFrame(const JDAQModuleIdentifier &module) const
Get summary frame.
bool hasSummaryFrame(const JDAQModuleIdentifier &module) const
Has summary frame.
int getModuleID() const
Get module identifier.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
JTOOLS::JRouter< int > router
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Data storage class for rate measurements of all PMTs in one module.
JSummaryRouter()
Default constructor.
Auxiliary class to create summary data.
const int getAddress(const JDAQModuleIdentifier &module) const
Get address of module.
Router for fast addressing of summary data in JDAQSummaryslice data structure as a function of the op...
const JDAQChronometer & getDAQChronometer() const
Get DAQ chronometer.
void update(JDAQSummaryslice *ps)
Update router.