Jpp
|
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, ETOT_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 36 of file JChecksum.hh.
Definition at line 78 of file JChecksum.hh.
typedef result_type::const_iterator JTRIGGER::JChecksum::const_iterator |
Definition at line 79 of file JChecksum.hh.
typedef result_type::const_reverse_iterator JTRIGGER::JChecksum::const_reverse_iterator |
Definition at line 80 of file JChecksum.hh.
Error types.
Enumerator | |
---|---|
EPMT_t | PMT error. |
ETDC_t | TDC error. |
ETOT_t | time-over-threshold error |
Definition at line 40 of file JChecksum.hh.
|
inline |
Default constructor.
Definition at line 86 of file JChecksum.hh.
|
inline |
Check sum.
frame | DAQ frame |
Definition at line 98 of file JChecksum.hh.
|
inline |
Check sum.
frame | DAQ frame |
Definition at line 146 of file JChecksum.hh.
|
mutableprivate |
Definition at line 153 of file JChecksum.hh.
|
mutableprivate |
Definition at line 154 of file JChecksum.hh.