#include <RBCLogicUnit.h>
Public Member Functions | |
std::bitset< 6 > * | getlayersignal (int _idx) |
bool | initialise () |
bool | isTriggered () |
RBCLogicUnit () | |
Standard constructor. More... | |
RBCLogicUnit (const char *) | |
void | run (const RBCInput &, std::bitset< 2 > &) |
void | setBoardSpecs (const RBCBoardSpecs::RBCBoardConfig &) |
void | setlogic (const char *) |
~RBCLogicUnit () override | |
Destructor. More... | |
Public Member Functions inherited from RPCLogicUnit | |
RPCLogicUnit () | |
Standard constructor. More... | |
RPCLogicUnit (int, int, int) | |
virtual | ~RPCLogicUnit () |
Destructor. More... | |
Private Attributes | |
bool | m_debug |
std::bitset< 6 > * | m_layersignal [2] |
RBCLogic * | m_logic |
LogicTool< RBCLogic > * | m_logtool |
std::string | m_logtype |
Additional Inherited Members | |
Public Attributes inherited from RPCLogicUnit | |
int | m_propA |
int | m_propB |
int | m_propC |
Definition at line 19 of file RBCLogicUnit.h.
RBCLogicUnit::RBCLogicUnit | ( | ) |
Standard constructor.
Definition at line 17 of file RBCLogicUnit.cc.
References m_debug, and m_logtool.
RBCLogicUnit::RBCLogicUnit | ( | const char * | logic_type | ) |
Definition at line 24 of file RBCLogicUnit.cc.
References m_debug, m_logtool, m_logtype, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Destructor.
Definition at line 34 of file RBCLogicUnit.cc.
References LogicTool< GenLogic >::endjob(), and m_logtool.
|
inline |
Definition at line 36 of file RBCLogicUnit.h.
References m_layersignal.
Referenced by RBCEmulator::emulate().
bool RBCLogicUnit::initialise | ( | ) |
Definition at line 44 of file RBCLogicUnit.cc.
References gather_cfg::cout, LogicTool< GenLogic >::initialise(), m_debug, m_logic, m_logtool, m_logtype, LogicTool< GenLogic >::retrieve(), and mps_update::status.
Referenced by RBCBasicConfig::initialise().
|
inline |
void RBCLogicUnit::run | ( | const RBCInput & | _input, |
std::bitset< 2 > & | _decision | ||
) |
Definition at line 76 of file RBCLogicUnit.cc.
References RBCLogic::getlayersignal(), m_layersignal, m_logic, and RBCLogic::process().
Referenced by RBCEmulator::emulate().
void RBCLogicUnit::setBoardSpecs | ( | const RBCBoardSpecs::RBCBoardConfig & | specs | ) |
Definition at line 69 of file RBCLogicUnit.cc.
References m_logic, and RBCLogic::setBoardSpecs().
Referenced by RBCBasicConfig::initialise().
void RBCLogicUnit::setlogic | ( | const char * | _logic | ) |
Definition at line 64 of file RBCLogicUnit.cc.
References m_logtype, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by RBCBasicConfig::initialise().
|
private |
Definition at line 54 of file RBCLogicUnit.h.
Referenced by initialise(), and RBCLogicUnit().
|
private |
Definition at line 48 of file RBCLogicUnit.h.
Referenced by getlayersignal(), and run().
|
private |
Definition at line 50 of file RBCLogicUnit.h.
Referenced by initialise(), isTriggered(), run(), and setBoardSpecs().
Definition at line 52 of file RBCLogicUnit.h.
Referenced by initialise(), RBCLogicUnit(), and ~RBCLogicUnit().
|
private |
Definition at line 40 of file RBCLogicUnit.h.
Referenced by initialise(), RBCLogicUnit(), and setlogic().