#include <RBCEmulator.h>
Public Member Functions | |
void | emulate () |
void | emulate (RBCInput *) |
bool | getdecision (int idx) |
std::bitset< 6 > * | getlayersignal (int idx) |
bool | initialise () |
void | printinfo () |
void | printlayerinfo () |
RBCEmulator () | |
Standard constructor. More... | |
RBCEmulator (const char *) | |
RBCEmulator (const char *, const char *) | |
RBCEmulator (const char *, const char *, int, int *) | |
void | reset () |
void | setid (int, int *) |
void | setSpecifications (const RBCBoardSpecs *) |
virtual | ~RBCEmulator () |
Destructor. More... | |
Public Attributes | |
RBCId * | m_rbcinfo |
Private Attributes | |
int | m_bx |
bool | m_debug |
std::bitset< 2 > | m_decision |
RBCInput * | m_input |
std::bitset< 6 > * | m_layersignal [2] |
std::vector< std::bitset< 6 > * > | m_layersignalVec |
std::string | m_logtype |
RBCConfiguration * | m_rbcconf |
ProcessInputSignal * | m_signal |
RBCEmulator::RBCEmulator | ( | ) |
Standard constructor.
Definition at line 18 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcinfo, m_signal, NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
RBCEmulator::RBCEmulator | ( | const char * | logic_type | ) |
Definition at line 34 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcconf, m_rbcinfo, m_signal, NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
RBCEmulator::RBCEmulator | ( | const char * | f_name, |
const char * | logic_type | ||
) |
Definition at line 51 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcconf, m_rbcinfo, m_signal, and AlCaHLTBitMon_QueryRunRegistry::string.
RBCEmulator::RBCEmulator | ( | const char * | , |
const char * | , | ||
int | , | ||
int * | |||
) |
|
virtual |
Destructor.
Definition at line 71 of file RBCEmulator.cc.
References m_input, m_layersignalVec, m_rbcconf, m_rbcinfo, and m_signal.
void RBCEmulator::emulate | ( | ) |
Definition at line 112 of file RBCEmulator.cc.
References gather_cfg::cout, data, RBCLogicUnit::getlayersignal(), m_debug, m_input, m_layersignal, m_rbcconf, RBCConfiguration::m_rbclogic, m_signal, ProcessInputSignal::next(), printlayerinfo(), ProcessInputSignal::retrievedata(), and RBCLogicUnit::run().
void RBCEmulator::emulate | ( | RBCInput * | in | ) |
Definition at line 140 of file RBCEmulator.cc.
References gather_cfg::cout, RBCLogicUnit::getlayersignal(), m_debug, m_decision, m_input, m_layersignal, m_rbcconf, m_rbcinfo, RBCConfiguration::m_rbclogic, RBCConfiguration::preprocess(), printlayerinfo(), RBCLogicUnit::run(), RBCInput::setWheelId(), and RBCId::wheel().
|
inline |
Definition at line 51 of file RBCEmulator.h.
References training_settings::idx, m_decision, printinfo(), and printlayerinfo().
|
inline |
bool RBCEmulator::initialise | ( | ) |
Definition at line 92 of file RBCEmulator.cc.
References gather_cfg::cout, RBCConfiguration::initialise(), m_debug, m_rbcconf, and mps_update::status.
void RBCEmulator::printinfo | ( | ) |
Definition at line 187 of file RBCEmulator.cc.
References gather_cfg::cout, m_debug, m_rbcinfo, and RBCId::printinfo().
Referenced by getdecision().
void RBCEmulator::printlayerinfo | ( | ) |
Definition at line 197 of file RBCEmulator.cc.
References gather_cfg::cout, i, and m_layersignal.
Referenced by emulate(), and getdecision().
void RBCEmulator::reset | ( | void | ) |
void RBCEmulator::setid | ( | int | wh, |
int * | sec | ||
) |
void RBCEmulator::setSpecifications | ( | const RBCBoardSpecs * | rbcspecs | ) |
Definition at line 85 of file RBCEmulator.cc.
References m_rbcconf, and m_rbcinfo.
|
private |
Definition at line 77 of file RBCEmulator.h.
|
private |
Definition at line 81 of file RBCEmulator.h.
Referenced by emulate(), initialise(), printinfo(), and RBCEmulator().
|
private |
Definition at line 71 of file RBCEmulator.h.
Referenced by emulate(), getdecision(), and reset().
|
private |
Definition at line 67 of file RBCEmulator.h.
Referenced by emulate(), RBCEmulator(), and ~RBCEmulator().
|
private |
Definition at line 69 of file RBCEmulator.h.
Referenced by emulate(), getlayersignal(), printlayerinfo(), RBCEmulator(), and reset().
|
private |
Definition at line 73 of file RBCEmulator.h.
Referenced by RBCEmulator(), and ~RBCEmulator().
|
private |
Definition at line 79 of file RBCEmulator.h.
Referenced by RBCEmulator().
|
private |
Definition at line 65 of file RBCEmulator.h.
Referenced by emulate(), initialise(), RBCEmulator(), setSpecifications(), and ~RBCEmulator().
RBCId* RBCEmulator::m_rbcinfo |
Definition at line 57 of file RBCEmulator.h.
Referenced by emulate(), printinfo(), RBCEmulator(), setid(), setSpecifications(), and ~RBCEmulator().
|
private |
Definition at line 63 of file RBCEmulator.h.
Referenced by emulate(), RBCEmulator(), and ~RBCEmulator().