CMS 3D CMS Logo

TTULogicUnit.h
Go to the documentation of this file.
1 #ifndef TTULOGICUNIT_H
2 #define TTULOGICUNIT_H 1
3 
4 // Include files
9 
11 
12 #include <bitset>
13 
21 class TTULogicUnit : public RPCLogicUnit {
22 public:
24  TTULogicUnit();
25 
26  TTULogicUnit(const char*);
27 
28  bool initialise();
29 
30  void setlogic(const char*);
31 
33 
34  void run(const TTUInput&);
35 
36  void run(const TTUInput&, int);
37 
38  bool isTriggered() { return m_logic->m_triggersignal; };
39 
40 protected:
41 private:
43 
44  std::unique_ptr<TTULogic> m_logic;
45 
46  bool m_debug;
47 };
48 #endif // TTUPAC_H
std::string m_logtype
Definition: TTULogicUnit.h:38
bool isTriggered()
Definition: TTULogicUnit.h:38
bool initialise()
Definition: TTULogicUnit.cc:23
void run(const TTUInput &)
Definition: TTULogicUnit.cc:40
std::unique_ptr< TTULogic > m_logic
Definition: TTULogicUnit.h:44
void setlogic(const char *)
Definition: TTULogicUnit.cc:36
TTULogicUnit()
Standard constructor.
Definition: TTULogicUnit.cc:15
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition: TTULogicUnit.cc:38