#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) override |
void | process (const RBCInput &, std::bitset< 2 > &) override |
RBCChamberORLogic () | |
Standard constructor. More... | |
void | reset () |
void | setBoardSpecs (const RBCBoardSpecs::RBCBoardConfig &) override |
void | setmaxlevel (int _mx) |
Public Member Functions inherited from RBCLogic | |
virtual | ~RBCLogic () |
Public Attributes | |
std::array< std::bitset< 6 >, 2 > | 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 39 of file RBCChamberORLogic.h.
typedef std::vector<std::string>::iterator RBCChamberORLogic::itr2names |
Definition at line 36 of file RBCChamberORLogic.h.
RBCChamberORLogic::RBCChamberORLogic | ( | ) |
Standard constructor.
Definition at line 15 of file RBCChamberORLogic.cc.
References m_chamber, m_maxcb, m_maxlevel, and m_rbname.
void RBCChamberORLogic::copymap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 119 of file RBCChamberORLogic.cc.
References m_chamber, and m_rbname.
Referenced by process().
void RBCChamberORLogic::createmap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 135 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 166 of file RBCChamberORLogic.cc.
References gather_cfg::cout, m_chamber, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by process().
|
inlineoverridevirtual |
|
overridevirtual |
Implements RBCLogic.
Definition at line 44 of file RBCChamberORLogic.cc.
References funct::abs(), copymap(), KineDebug3::count(), createmap(), evaluateLayerOR(), RBCInput::input_sec, createfilelist::int, dqmdumpme::k, m_layersignal, m_maxlevel, RBCInput::needmapping, reset(), mps_update::status, and RBCInput::wheelId().
void RBCChamberORLogic::reset | ( | void | ) |
Definition at line 151 of file RBCChamberORLogic.cc.
References m_chamber, and m_rbname.
Referenced by process().
|
overridevirtual |
Implements RBCLogic.
Definition at line 115 of file RBCChamberORLogic.cc.
References m_maxlevel, and HistogramManager_cfi::specs.
|
inline |
|
private |
Definition at line 57 of file RBCChamberORLogic.h.
Referenced by copymap(), createmap(), evaluateLayerOR(), RBCChamberORLogic(), and reset().
std::array<std::bitset<6>, 2> RBCChamberORLogic::m_layersignal |
Definition at line 49 of file RBCChamberORLogic.h.
Referenced by process().
|
private |
Definition at line 59 of file RBCChamberORLogic.h.
Referenced by RBCChamberORLogic().
|
private |
Definition at line 61 of file RBCChamberORLogic.h.
Referenced by process(), RBCChamberORLogic(), setBoardSpecs(), and setmaxlevel().
|
private |
Definition at line 55 of file RBCChamberORLogic.h.
Referenced by copymap(), createmap(), RBCChamberORLogic(), and reset().