Go to the documentation of this file. 1 #ifndef __JTRIGGER__JCHECKSUM__
2 #define __JTRIGGER__JCHECKSUM__
148 return get(frame).empty();
result_type::const_iterator const_iterator
Exception for accessing an index in a collection that is outside of its range.
result_type::const_reverse_iterator const_reverse_iterator
int getFrameIndex() const
Get frame index.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
error(const int pos, const int type)
Constructor.
double getFrameTime()
Get frame time duration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JDAQFrame::const_iterator const_iterator
const result_type & get(const JDAQSuperFrame &frame) const
Check sum.
Auxiliary class to perform check-sum on raw data.
Exception for accessing a value in a collection that is outside of its range.
std::vector< error > result_type
static const JChecksum checksum
Function object to perform check-sum of raw data.
double getTimeSinceRTS(const int frame_index)
Get time in ns since last RTS for a given frame index.
unsigned int JTDC_t
leading edge [ns]
KM3NeT DAQ data structures and auxiliaries.
std::vector< JDAQHit::JTDC_t > t0
Data frame of one optical module.
time-over-threshold error
const_iterator begin() const
JChecksum()
Default constructor.
bool operator()(const JDAQSuperFrame &frame) const
Check sum.
const_iterator end() const
error()
Default constructor.