#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.
|
virtual |
Destructor.
Definition at line 52 of file RBCChamberORLogic.cc.
void RBCChamberORLogic::copymap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 145 of file RBCChamberORLogic.cc.
void RBCChamberORLogic::createmap | ( | const std::bitset< 15 > & | _input | ) |
Definition at line 164 of file RBCChamberORLogic.cc.
bool RBCChamberORLogic::evaluateLayerOR | ( | const char * | _chA, |
const char * | _chB | ||
) |
Definition at line 202 of file RBCChamberORLogic.cc.
|
inlinevirtual |
|
virtual |
Implements RBCLogic.
Definition at line 60 of file RBCChamberORLogic.cc.
void RBCChamberORLogic::reset | ( | void | ) |
Definition at line 183 of file RBCChamberORLogic.cc.
|
virtual |
Implements RBCLogic.
Definition at line 138 of file RBCChamberORLogic.cc.
|
inline |
|
private |
Definition at line 61 of file RBCChamberORLogic.h.
std::bitset<6>* RBCChamberORLogic::m_layersignal |
Definition at line 51 of file RBCChamberORLogic.h.
|
private |
Definition at line 63 of file RBCChamberORLogic.h.
|
private |
Definition at line 65 of file RBCChamberORLogic.h.
Referenced by setmaxlevel().
|
private |
Definition at line 59 of file RBCChamberORLogic.h.