Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/online/decoder_maindaq/MainDaqParser.h>
Public Types | |
enum | SpillType_t { TYPE_BOS = 1 , TYPE_EOS = 2 } |
Public Member Functions | |
MainDaqParser () | |
~MainDaqParser () | |
CodaInputManager * | GetCoda () |
int | OpenCodaFile (const std::string fname, const long file_size_min=32768, const int sec_wait=15, const int n_wait=40) |
bool | NextPhysicsEvent (EventData *&ed, SpillData *&sd, RunData *&rd) |
RunData * | GetRunData () |
int | End () |
void | UseLocalSpillID (const bool use) |
bool | UseLocalSpillID () const |
void | ForceLocalSpillID (const bool force) |
bool | ForceLocalSpillID () const |
Public Attributes | |
DecoParam | dec_par |
DecoError | dec_err |
Definition at line 9 of file MainDaqParser.h.
Enumerator | |
---|---|
TYPE_BOS | |
TYPE_EOS |
Definition at line 77 of file MainDaqParser.h.
MainDaqParser::MainDaqParser | ( | ) |
Definition at line 30 of file MainDaqParser.cc.
MainDaqParser::~MainDaqParser | ( | ) |
Definition at line 52 of file MainDaqParser.cc.
int MainDaqParser::End | ( | ) |
A function that is called when one input file is finished reading. We might have to parse any remaining Coda events here as we did in the original decoder via CloseOutput(), although such events are most likely useless since their spill info is imcomplete.
Definition at line 202 of file MainDaqParser.cc.
References CodaInputManager::CloseFile(), dec_err, dec_par, DecoError::InitData(), DecoParam::is_online, RunData::n_evt_all, RunData::n_evt_dec, RunData::n_flush_evt, RunData::n_hit, RunData::n_hit_bad, RunData::n_phys_evt, RunData::n_t_hit, RunData::n_t_hit_bad, RunData::n_v1495, RunData::n_v1495_d1ad, RunData::n_v1495_d2ad, RunData::n_v1495_d3ad, NULL, DecoError::PrintData(), DecoParam::timeEnd, DecoParam::timeStart, and DecoParam::verb.
Referenced by Fun4AllEVIOInputManager::fileclose().
|
inline |
Definition at line 94 of file MainDaqParser.h.
|
inline |
Definition at line 93 of file MainDaqParser.h.
Referenced by Fun4AllEVIOInputManager::ForceLocalSpillID().
|
inline |
Definition at line 85 of file MainDaqParser.h.
Referenced by Fun4AllEVIOInputManager::SetOnline().
|
inline |
Definition at line 88 of file MainDaqParser.h.
Referenced by Fun4AllEVIOInputManager::fileclose().
Definition at line 79 of file MainDaqParser.cc.
References CodaInputManager::IsEnded().
Referenced by Fun4AllEVIOInputManager::run().
int MainDaqParser::OpenCodaFile | ( | const std::string | fname, |
const long | file_size_min = 32768 , |
||
const int | sec_wait = 15 , |
||
const int | n_wait = 40 |
||
) |
Definition at line 64 of file MainDaqParser.cc.
References dec_par, DecoParam::fn_in, NULL, CodaInputManager::OpenFile(), and DecoParam::timeStart.
Referenced by Fun4AllEVIOInputManager::fileopen().
|
inline |
Definition at line 92 of file MainDaqParser.h.
|
inline |
Definition at line 91 of file MainDaqParser.h.
Referenced by Fun4AllEVIOInputManager::UseLocalSpillID().
DecoError MainDaqParser::dec_err |
Definition at line 97 of file MainDaqParser.h.
Referenced by End().
DecoParam MainDaqParser::dec_par |
Definition at line 96 of file MainDaqParser.h.
Referenced by Fun4AllEVIOInputManager::DirParam(), End(), Fun4AllEVIOInputManager::EventSamplingFactor(), Fun4AllEVIOInputManager::fileopen(), OpenCodaFile(), Fun4AllEVIOInputManager::PretendSpillInterval(), Fun4AllEVIOInputManager::run(), and Fun4AllEVIOInputManager::SetOnline().