1 #ifndef __JTRIGGER__JCHECKSUM__
2 #define __JTRIGGER__JCHECKSUM__
110 if (mask.
has(i->type)) {
KM3NeT DAQ constants, bit handling, etc.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
Exception for accessing an index in a collection that is outside of its range.
Exception for accessing a value in a collection that is outside of its range.
int getFrameIndex() const
Get frame index.
bool testDAQStatus() const
Test DAQ status of packets.
const_iterator end() const
const_iterator begin() const
unsigned int JTDC_t
leading edge [ns]
Data frame of one optical module.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
static const JChecksum checksum
Function object to perform check-sum of raw data.
static int MAXIMAL_FRAME_SIZE
Maximal frame size.
KM3NeT DAQ data structures and auxiliaries.
double getFrameTime()
Get frame time duration.
double getTimeSinceRTS(const int frame_index)
Get time in ns since last RTS for a given frame index.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Auxiliary class for handling status.
bool has(const int bit) const
Test PMT status.
error()
Default constructor.
error(const int pos, const int type)
Constructor.
Auxiliary data structure for result of checksum.
bool has(const JStatus &mask) const
Check for errors with given error mask.
Auxiliary class to perform check-sum on raw data.
result_type::const_reverse_iterator const_reverse_iterator
@ EUDP_t
UDP packet error.
@ EPMT_t
PMT number error.
@ TIME_t
Time order error.
std::vector< JDAQHit::JTDC_t > t0
result_type::const_iterator const_iterator
const result_type & operator()(const JDAQSuperFrame &frame) const
Check sum.
JChecksum()
Default constructor.