|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/online/decoder_maindaq/DecoError.h>
Public Types | |
| enum | TdcError_t { WORD_ONLY89 = 0 , WORD_OVERFLOW = 1 , MULTIPLE_HEADER = 2 , EVT_ID_ONLY = 3 , START_WO_STOP = 4 , START_NOT_RISE = 5 , DIRTY_FINISH = 6 , N_TDC_ERROR = 7 , V1495_0BAD = 8 } |
Public Member Functions | |
| DecoError () | |
| ~DecoError () | |
| void | SetID (const int run_id, const int spill_id) |
| void | SetFlushError (const bool val) |
| bool | GetFlushError () |
| void | InitData () |
| void | CountFlush () |
| void | AddTdcError (const int event, const int roc, const TdcError_t type) |
| void | AggregateData () |
| void | PrintData (std::ostream &os=std::cout) |
This class manages errors found in the decoder. At present the decoder error is aggregated once per spill. Therefore
Definition at line 14 of file DecoError.h.
| Enumerator | |
|---|---|
| WORD_ONLY89 | |
| WORD_OVERFLOW | |
| MULTIPLE_HEADER | |
| EVT_ID_ONLY | |
| START_WO_STOP | |
| START_NOT_RISE | |
| DIRTY_FINISH | |
| N_TDC_ERROR | |
| V1495_0BAD | |
Definition at line 16 of file DecoError.h.
| DecoError::DecoError | ( | ) |
Definition at line 10 of file DecoError.cc.
References InitData().
Here is the call graph for this function:
|
inline |
Definition at line 41 of file DecoError.h.
| void DecoError::AddTdcError | ( | const int | event, |
| const int | roc, | ||
| const TdcError_t | type | ||
| ) |
Definition at line 41 of file DecoError.cc.
| void DecoError::AggregateData | ( | ) |
Definition at line 48 of file DecoError.cc.
References DbSvc::DB1, UtilOnline::GetSchemaMainDaq(), and DbSvc::UseSchema().
Here is the call graph for this function:| void DecoError::CountFlush | ( | ) |
Definition at line 35 of file DecoError.cc.
|
inline |
Definition at line 45 of file DecoError.h.
| void DecoError::InitData | ( | ) |
Definition at line 24 of file DecoError.cc.
References N_TDC_ERROR.
Referenced by DecoError(), and MainDaqParser::End().
Here is the caller graph for this function:| void DecoError::PrintData | ( | std::ostream & | os = std::cout | ) |
Definition at line 56 of file DecoError.cc.
References N_TDC_ERROR.
Referenced by MainDaqParser::End().
Here is the caller graph for this function:
|
inline |
Definition at line 44 of file DecoError.h.
| void DecoError::SetID | ( | const int | run_id, |
| const int | spill_id | ||
| ) |
Definition at line 18 of file DecoError.cc.