#include <RBCChamberORLogic.h>
Public Types | |
typedef std::map< std::string, bool >::iterator | itr2chambers |
typedef std::vector < std::string >::iterator | itr2names |
Public Member Functions | |
void | copymap (const std::bitset< 15 > &) |
void | createmap (const std::bitset< 15 > &) |
bool | evaluateLayerOR (const char *, const char *) |
std::bitset< 6 > * | getlayersignal (int _idx) |
void | process (const RBCInput &, std::bitset< 2 > &) |
RBCChamberORLogic () | |
Standard constructor. More... | |
void | reset () |
void | setBoardSpecs (const RBCBoardSpecs::RBCBoardConfig &) |
void | setmaxlevel (int _mx) |
virtual | ~RBCChamberORLogic () |
Destructor. More... | |
Public Member Functions inherited from RBCLogic | |
virtual | ~RBCLogic () |
Public Attributes | |
std::bitset< 6 > * | m_layersignal |
Public Attributes inherited from RBCLogic | |
bool | m_triggersignal |
Private Attributes | |
std::map< std::string, bool > | m_chamber |
int | m_maxcb |
int | m_maxlevel |
std::vector< std::string > | m_rbname |
This class works out the mapping of inputs to chambers and applies a Coincidence Logic. The criteria for coincidence is set by the parameter m_maxlevel.
email: aosor io@u niand es.e du.co
Definition at line 27 of file RBCChamberORLogic.h.
typedef std::map<std::string,bool>::iterator RBCChamberORLogic::itr2chambers |
Definition at line 41 of file RBCChamberORLogic.h.
typedef std::vector<std::string>::iterator RBCChamberORLogic::itr2names |
Definition at line 38 of file RBCChamberORLogic.h.
RBCChamberORLogic::RBCChamberORLogic | ( | ) |
Standard constructor.
Definition at line 16 of file RBCChamberORLogic.cc.
References m_chamber, m_layersignal, m_maxcb, m_maxlevel, m_rbname, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
void RBCChamberORLogic::copymap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 145 of file RBCChamberORLogic.cc.
References m_chamber, and m_rbname.
Referenced by process().
void RBCChamberORLogic::createmap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 164 of file RBCChamberORLogic.cc.
References m_chamber, and m_rbname.
Referenced by process().
bool RBCChamberORLogic::evaluateLayerOR | ( | const char * | _chA, |
const char * | _chB | ||
) |
Definition at line 202 of file RBCChamberORLogic.cc.
References gather_cfg::cout, m_chamber, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by process().
|
inlinevirtual |
|
virtual |
Implements RBCLogic.
Definition at line 60 of file RBCChamberORLogic.cc.
References funct::abs(), copymap(), KineDebug3::count(), createmap(), evaluateLayerOR(), RBCInput::input_sec, relval_2017::k, m_layersignal, m_maxlevel, RBCInput::needmapping, reset(), mps_update::status, and RBCInput::wheelId().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void RBCChamberORLogic::reset | ( | void | ) |
Definition at line 183 of file RBCChamberORLogic.cc.
References m_chamber, and m_rbname.
Referenced by process().
|
virtual |
Implements RBCLogic.
Definition at line 138 of file RBCChamberORLogic.cc.
References m_maxlevel, and RBCBoardSpecs::RBCBoardConfig::m_MayorityLevel.
|
inline |
|
private |
Definition at line 61 of file RBCChamberORLogic.h.
Referenced by copymap(), createmap(), evaluateLayerOR(), RBCChamberORLogic(), and reset().
std::bitset<6>* RBCChamberORLogic::m_layersignal |
Definition at line 51 of file RBCChamberORLogic.h.
Referenced by process(), RBCChamberORLogic(), and ~RBCChamberORLogic().
|
private |
Definition at line 63 of file RBCChamberORLogic.h.
Referenced by RBCChamberORLogic().
|
private |
Definition at line 65 of file RBCChamberORLogic.h.
Referenced by process(), RBCChamberORLogic(), setBoardSpecs(), and setmaxlevel().
|
private |
Definition at line 59 of file RBCChamberORLogic.h.
Referenced by copymap(), createmap(), RBCChamberORLogic(), and reset().