19 m_rbname.push_back(std::string(
"RB1InFw"));
20 m_rbname.push_back(std::string(
"RB1OutFw"));
21 m_rbname.push_back(std::string(
"RB22Fw"));
22 m_rbname.push_back(std::string(
"RB23Fw"));
23 m_rbname.push_back(std::string(
"RB23M"));
24 m_rbname.push_back(std::string(
"RB3Fw"));
25 m_rbname.push_back(std::string(
"RB4Fw"));
26 m_rbname.push_back(std::string(
"RB1InBk"));
27 m_rbname.push_back(std::string(
"RB1OutBk"));
28 m_rbname.push_back(std::string(
"RB22Bk"));
29 m_rbname.push_back(std::string(
"RB23Bk"));
30 m_rbname.push_back(std::string(
"RB3Bk"));
31 m_rbname.push_back(std::string(
"RB4Bk"));
37 m_chamber.insert( make_pair( (*itr) , 0 ) );
70 for (
int k=0;
k < 2; ++
k )
97 status = rb23FB || rb23MF || rb23MB;
110 status = rb23FB || rb23MF || rb23MB;
131 else _decision[
k] =
false;
174 m_chamber[m_rbname[6]] = _input[12] || _input[14];
180 m_chamber[m_rbname[12]] = _input[10] || _input[13];
194 m_chamber.insert( make_pair( (*itr) , 0 ) );
211 std::cout <<
"RBCChamberORLogic> Cannot find a chamber name" <<
'\n';
215 return ( ptr1->second || ptr2->second );
std::vector< std::string >::iterator itr2names
std::map< std::string, bool > m_chamber
std::bitset< 6 > * m_layersignal
RBCChamberORLogic()
Standard constructor.
bool evaluateLayerOR(const char *, const char *)
void createmap(const std::bitset< 15 > &)
void process(const RBCInput &, std::bitset< 2 > &)
std::vector< std::string > m_rbname
std::map< std::string, bool >::iterator itr2chambers
void copymap(const std::bitset< 15 > &)
void setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig &)
virtual ~RBCChamberORLogic()
Destructor.