Jpp
debug
the software that should make you happy
|
Auxiliary class to perform check-sum on raw data. More...
#include <JChecksum.hh>
Classes | |
struct | error |
Error. More... | |
struct | result_type |
Auxiliary data structure for result of checksum. More... | |
Public Types | |
enum | error_types { EPMT_t = 1 , ETDC_t , TIME_t , EUDP_t , SIZE_t } |
Error types. More... | |
typedef result_type::const_iterator | const_iterator |
typedef result_type::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
JChecksum () | |
Default constructor. More... | |
const result_type & | operator() (const JDAQSuperFrame &frame) const |
Check sum. More... | |
Private Attributes | |
std::vector< JDAQHit::JTDC_t > | t0 |
result_type | buffer |
Auxiliary class to perform check-sum on raw data.
Definition at line 41 of file JChecksum.hh.
typedef result_type::const_iterator JTRIGGER::JChecksum::const_iterator |
Definition at line 119 of file JChecksum.hh.
typedef result_type::const_reverse_iterator JTRIGGER::JChecksum::const_reverse_iterator |
Definition at line 120 of file JChecksum.hh.
Error types.
Enumerator | |
---|---|
EPMT_t | PMT number error. |
ETDC_t | TDC value error. |
TIME_t | Time order error. |
EUDP_t | UDP packet error. |
SIZE_t | size error |
Definition at line 45 of file JChecksum.hh.
|
inline |
Default constructor.
Definition at line 126 of file JChecksum.hh.
|
inline |
Check sum.
The following checks are made:
frame | DAQ frame |
Definition at line 144 of file JChecksum.hh.
|
mutableprivate |
Definition at line 192 of file JChecksum.hh.
|
mutableprivate |
Definition at line 193 of file JChecksum.hh.