CMS 3D CMS Logo

RBCTestLogic.h
Go to the documentation of this file.
1 #ifndef RBCTESTLOGIC_H
2 #define RBCTESTLOGIC_H 1
3 
4 // Include files
5 
8 
9 #include <iostream>
10 #include <ios>
11 
21 class RBCTestLogic : public RBCLogic {
22 public:
24  RBCTestLogic();
25 
26  ~RBCTestLogic() override;
27 
28  void process(const RBCInput&, std::bitset<2>&) override;
29 
30  void setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig&) override;
31 
32  std::bitset<6>* getlayersignal(int _idx) override { return &m_testlayer[_idx]; };
33 
34 protected:
35 private:
36  std::bitset<6> m_testlayer[2];
37 };
38 #endif // RBCTESTLOGIC_H
RBCLogic
Definition: RBCLogic.h:20
RBCLogic.h
RBCTestLogic::m_testlayer
std::bitset< 6 > m_testlayer[2]
Definition: RBCTestLogic.h:32
RBCTestLogic::RBCTestLogic
RBCTestLogic()
Standard constructor.
Definition: RBCTestLogic.cc:15
RBCTestLogic::getlayersignal
std::bitset< 6 > * getlayersignal(int _idx) override
Definition: RBCTestLogic.h:32
RBCTestLogic
Definition: RBCTestLogic.h:21
RBCInput.h
RBCTestLogic::~RBCTestLogic
~RBCTestLogic() override
Destructor.
Definition: RBCTestLogic.cc:19
RBCTestLogic::process
void process(const RBCInput &, std::bitset< 2 > &) override
Definition: RBCTestLogic.cc:22
RBCBoardSpecs::RBCBoardConfig
Definition: RBCBoardSpecs.h:22
RBCTestLogic::setBoardSpecs
void setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig &) override
Definition: RBCTestLogic.cc:49
RBCInput
Definition: RBCInput.h:22