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  ~TTULogicUnit( ) override;
29 
30  bool initialise();
31 
32  void setlogic( const char * );
33 
35 
36  void run( const TTUInput & );
37 
38  void run( const TTUInput & , int );
39 
40  bool isTriggered() {
41  return m_logic->m_triggersignal;
42  };
43 
44 protected:
45 
46 private:
47 
49 
51 
53 
54  bool m_debug;
55 
56 };
57 #endif // TTUPAC_H
std::string m_logtype
Definition: TTULogicUnit.h:42
TTULogic * m_logic
Definition: TTULogicUnit.h:50
bool isTriggered()
Definition: TTULogicUnit.h:40
LogicTool< TTULogic > * m_logtool
Definition: TTULogicUnit.h:52
bool initialise()
Definition: TTULogicUnit.cc:44
void run(const TTUInput &)
Definition: TTULogicUnit.cc:78
void setlogic(const char *)
Definition: TTULogicUnit.cc:64
TTULogicUnit()
Standard constructor.
Definition: TTULogicUnit.cc:17
~TTULogicUnit() override
Destructor.
Definition: TTULogicUnit.cc:34
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition: TTULogicUnit.cc:71
bool m_triggersignal
Definition: TTULogic.h:34