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() {
39  return m_logic->m_triggersignal;
40  };
41 
42 protected:
43 
44 private:
45 
47 
48  std::unique_ptr<TTULogic> m_logic;
49 
50  bool m_debug;
51 
52 };
53 #endif // TTUPAC_H
std::string m_logtype
Definition: TTULogicUnit.h:40
bool isTriggered()
Definition: TTULogicUnit.h:38
bool initialise()
Definition: TTULogicUnit.cc:31
void run(const TTUInput &)
Definition: TTULogicUnit.cc:59
std::unique_ptr< TTULogic > m_logic
Definition: TTULogicUnit.h:48
void setlogic(const char *)
Definition: TTULogicUnit.cc:45
TTULogicUnit()
Standard constructor.
Definition: TTULogicUnit.cc:17
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition: TTULogicUnit.cc:52