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
TTULogicUnit::m_logic
std::unique_ptr< TTULogic > m_logic
Definition: TTULogicUnit.h:44
TTUInput.h
TTULogicUnit::TTULogicUnit
TTULogicUnit()
Standard constructor.
Definition: TTULogicUnit.cc:15
TTULogicUnit::m_debug
bool m_debug
Definition: TTULogicUnit.h:46
TTUBoardSpecs.h
RPCLogicUnit
Definition: RPCLogicUnit.h:13
TTULogicUnit::run
void run(const TTUInput &)
Definition: TTULogicUnit.cc:40
RPCLogicUnit.h
TTULogicUnit::m_logtype
std::string m_logtype
Definition: TTULogicUnit.h:38
TTULogicUnit::setlogic
void setlogic(const char *)
Definition: TTULogicUnit.cc:36
TTUInput
Definition: TTUInput.h:18
TTULogic.h
TTUBoardSpecs::TTUBoardConfig
Definition: TTUBoardSpecs.h:25
TTULogicUnit::initialise
bool initialise()
Definition: TTULogicUnit.cc:23
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TTULogicUnit
Definition: TTULogicUnit.h:21
TTULogicUnit::isTriggered
bool isTriggered()
Definition: TTULogicUnit.h:38
TTULogicUnit::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition: TTULogicUnit.cc:38
LogicTool.h