1 #ifndef __JTRIGGER__JCHECKSUM__
2 #define __JTRIGGER__JCHECKSUM__
18 namespace JPP {
using namespace JTRIGGER; }
108 using namespace KM3NETDAQ;
118 if (!frame.testDAQStatus()) {
157 return get(frame).empty();
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
const JPMT & getPMT(const JPMTAddress &address) const
Get PMT parameters.
unsigned int JTDC_t
leading edge [ns]
static const JChecksum checksum
Function object to perform check-sum of raw data.
esac $JPP_DIR examples JDetector JTransitTime o $OUTPUT_FILE n N $NPE T $TTS_NS d $DEBUG for HISTOGRAM in tts tt2 pmt
Auxiliary class to perform check-sum on raw data.
double getFrameTime()
Get frame time duration.
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.
bool operator()(const JDAQSuperFrame &frame) const
Check sum.
std::vector< error > result_type
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.
Data frame of one optical module.