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