#include <RBCEmulator.h>
Public Member Functions | |
void | emulate () |
void | emulate (RBCInput *) |
bool | getdecision (int idx) const |
std::bitset< 6 > * | getlayersignal (int idx) |
bool | initialise () |
void | printinfo () const |
void | printlayerinfo () const |
RBCEmulator () | |
Standard constructor. More... | |
RBCEmulator (const char *) | |
RBCEmulator (const char *, const char *) | |
RBCEmulator (const char *, const char *, int, int *) | |
const RBCId & | rbcinfo () const |
void | reset () |
void | setid (int, int *) |
void | setSpecifications (const RBCBoardSpecs *) |
Private Attributes | |
bool | m_debug |
std::bitset< 2 > | m_decision |
RBCInput | m_input |
std::bitset< 6 > * | m_layersignal [2] |
std::array< std::bitset< 6 >, 2 > | m_layersignalVec |
std::string | m_logtype |
std::unique_ptr< RBCConfiguration > | m_rbcconf |
RBCId | m_rbcinfo |
std::unique_ptr< ProcessInputSignal > | m_signal |
RBCEmulator::RBCEmulator | ( | ) |
RBCEmulator::RBCEmulator | ( | const char * | logic_type | ) |
Definition at line 23 of file RBCEmulator.cc.
RBCEmulator::RBCEmulator | ( | const char * | f_name, |
const char * | logic_type | ||
) |
Definition at line 34 of file RBCEmulator.cc.
RBCEmulator::RBCEmulator | ( | const char * | , |
const char * | , | ||
int | , | ||
int * | |||
) |
void RBCEmulator::emulate | ( | ) |
Definition at line 66 of file RBCEmulator.cc.
References gather_cfg::cout, data, m_debug, m_input, m_layersignal, m_rbcconf, m_signal, and printlayerinfo().
void RBCEmulator::emulate | ( | RBCInput * | in | ) |
Definition at line 91 of file RBCEmulator.cc.
References gather_cfg::cout, recoMuon::in, m_debug, m_decision, m_input, m_layersignal, m_rbcconf, m_rbcinfo, printlayerinfo(), and RBCId::wheel().
|
inline |
Definition at line 50 of file RBCEmulator.h.
References heavyIonCSV_trainingSettings::idx, and m_decision.
|
inline |
Definition at line 48 of file RBCEmulator.h.
References heavyIonCSV_trainingSettings::idx, and m_layersignal.
bool RBCEmulator::initialise | ( | ) |
Definition at line 50 of file RBCEmulator.cc.
References gather_cfg::cout, m_debug, m_rbcconf, and mps_update::status.
void RBCEmulator::printinfo | ( | ) | const |
Definition at line 136 of file RBCEmulator.cc.
References gather_cfg::cout, m_debug, m_rbcinfo, and RBCId::printinfo().
void RBCEmulator::printlayerinfo | ( | ) | const |
Definition at line 143 of file RBCEmulator.cc.
References gather_cfg::cout, mps_fire::i, and m_layersignal.
Referenced by emulate().
|
inline |
void RBCEmulator::reset | ( | void | ) |
Definition at line 130 of file RBCEmulator.cc.
References m_decision, and m_layersignal.
void RBCEmulator::setid | ( | int | wh, |
int * | sec | ||
) |
Definition at line 64 of file RBCEmulator.cc.
References m_rbcinfo, fileinputsource_cfi::sec, and RBCId::setid().
void RBCEmulator::setSpecifications | ( | const RBCBoardSpecs * | rbcspecs | ) |
|
private |
Definition at line 77 of file RBCEmulator.h.
Referenced by emulate(), initialise(), and printinfo().
|
private |
Definition at line 70 of file RBCEmulator.h.
Referenced by emulate(), getdecision(), and reset().
|
private |
Definition at line 66 of file RBCEmulator.h.
Referenced by emulate().
|
private |
Definition at line 68 of file RBCEmulator.h.
Referenced by emulate(), getlayersignal(), printlayerinfo(), and reset().
|
private |
Definition at line 72 of file RBCEmulator.h.
|
private |
Definition at line 75 of file RBCEmulator.h.
|
private |
Definition at line 64 of file RBCEmulator.h.
Referenced by emulate(), initialise(), and setSpecifications().
|
private |
Definition at line 60 of file RBCEmulator.h.
Referenced by emulate(), printinfo(), rbcinfo(), setid(), and setSpecifications().
|
private |
Definition at line 62 of file RBCEmulator.h.
Referenced by emulate().