#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 19 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcinfo, m_signal, and NULL.
RBCEmulator::RBCEmulator | ( | const char * | logic_type | ) |
Definition at line 35 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcconf, m_rbcinfo, m_signal, and NULL.
RBCEmulator::RBCEmulator | ( | const char * | f_name, |
const char * | logic_type | ||
) |
Definition at line 52 of file RBCEmulator.cc.
References m_debug, m_input, m_layersignal, m_layersignalVec, m_logtype, m_rbcconf, m_rbcinfo, and m_signal.
RBCEmulator::RBCEmulator | ( | const char * | , |
const char * | , | ||
int | , | ||
int * | |||
) |
|
virtual |
Destructor.
Definition at line 72 of file RBCEmulator.cc.
References m_input, m_layersignalVec, m_rbcconf, m_rbcinfo, and m_signal.
void RBCEmulator::emulate | ( | ) |
Definition at line 113 of file RBCEmulator.cc.
References gather_cfg::cout, runTheMatrix::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 141 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 |
|
inline |
bool RBCEmulator::initialise | ( | ) |
Definition at line 93 of file RBCEmulator.cc.
References gather_cfg::cout, RBCConfiguration::initialise(), m_debug, m_rbcconf, and ntuplemaker::status.
void RBCEmulator::printinfo | ( | ) |
Definition at line 188 of file RBCEmulator.cc.
References gather_cfg::cout, m_debug, m_rbcinfo, and RBCId::printinfo().
void RBCEmulator::printlayerinfo | ( | ) |
Definition at line 198 of file RBCEmulator.cc.
References gather_cfg::cout, i, and m_layersignal.
Referenced by emulate().
void RBCEmulator::reset | ( | void | ) |
void RBCEmulator::setid | ( | int | wh, |
int * | sec | ||
) |
void RBCEmulator::setSpecifications | ( | const RBCBoardSpecs * | rbcspecs | ) |
Definition at line 86 of file RBCEmulator.cc.
References m_rbcconf, and m_rbcinfo.
|
private |
Definition at line 78 of file RBCEmulator.h.
|
private |
Definition at line 82 of file RBCEmulator.h.
Referenced by emulate(), initialise(), printinfo(), and RBCEmulator().
|
private |
Definition at line 72 of file RBCEmulator.h.
Referenced by emulate(), getdecision(), and reset().
|
private |
Definition at line 68 of file RBCEmulator.h.
Referenced by emulate(), RBCEmulator(), and ~RBCEmulator().
|
private |
Definition at line 70 of file RBCEmulator.h.
Referenced by emulate(), getlayersignal(), printlayerinfo(), RBCEmulator(), and reset().
|
private |
Definition at line 74 of file RBCEmulator.h.
Referenced by RBCEmulator(), and ~RBCEmulator().
|
private |
Definition at line 80 of file RBCEmulator.h.
Referenced by RBCEmulator().
|
private |
Definition at line 66 of file RBCEmulator.h.
Referenced by emulate(), initialise(), RBCEmulator(), setSpecifications(), and ~RBCEmulator().
RBCId* RBCEmulator::m_rbcinfo |
Definition at line 58 of file RBCEmulator.h.
Referenced by emulate(), printinfo(), RBCEmulator(), setid(), setSpecifications(), and ~RBCEmulator().
|
private |
Definition at line 64 of file RBCEmulator.h.
Referenced by emulate(), RBCEmulator(), and ~RBCEmulator().