Jpp
16.0.0-rc.2
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... | |
Public Types | |
enum | error_types { EPMT_t = 1, ETDC_t, TIME_t, EUDP_t, SIZE_t } |
Error types. More... | |
typedef std::vector< error > | result_type |
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 & | get (const JDAQSuperFrame &frame) const |
Check sum. More... | |
bool | 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 38 of file JChecksum.hh.
Definition at line 82 of file JChecksum.hh.
typedef result_type::const_iterator JTRIGGER::JChecksum::const_iterator |
Definition at line 83 of file JChecksum.hh.
typedef result_type::const_reverse_iterator JTRIGGER::JChecksum::const_reverse_iterator |
Definition at line 84 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 42 of file JChecksum.hh.
|
inline |
Default constructor.
Definition at line 90 of file JChecksum.hh.
|
inline |
Check sum.
The following checks are made:
frame | DAQ frame |
Definition at line 108 of file JChecksum.hh.
|
inline |
Check sum.
frame | DAQ frame |
Definition at line 162 of file JChecksum.hh.
|
mutableprivate |
Definition at line 168 of file JChecksum.hh.
|
mutableprivate |
Definition at line 169 of file JChecksum.hh.