CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TTULogicUnit.h
Go to the documentation of this file.
1 // $Id: TTULogicUnit.h,v 1.4 2009/06/04 11:52:58 aosorio Exp $
2 #ifndef TTULOGICUNIT_H
3 #define TTULOGICUNIT_H 1
4 
5 // Include files
10 
12 
13 #include <bitset>
14 
22 class TTULogicUnit : public RPCLogicUnit {
23 public:
25  TTULogicUnit( );
26 
27  TTULogicUnit( const char * );
28 
29  virtual ~TTULogicUnit( );
30 
31  bool initialise();
32 
33  void setlogic( const char * );
34 
36 
37  void run( const TTUInput & );
38 
39  void run( const TTUInput & , int );
40 
41  bool isTriggered() {
42  return m_logic->m_triggersignal;
43  };
44 
45 protected:
46 
47 private:
48 
49  std::string m_logtype;
50 
52 
54 
55  bool m_debug;
56 
57 };
58 #endif // TTUPAC_H
std::string m_logtype
Definition: TTULogicUnit.h:43
TTULogic * m_logic
Definition: TTULogicUnit.h:51
bool isTriggered()
Definition: TTULogicUnit.h:41
virtual ~TTULogicUnit()
Destructor.
Definition: TTULogicUnit.cc:35
LogicTool< TTULogic > * m_logtool
Definition: TTULogicUnit.h:53
bool initialise()
Definition: TTULogicUnit.cc:45
void run(const TTUInput &)
Definition: TTULogicUnit.cc:79
void setlogic(const char *)
Definition: TTULogicUnit.cc:65
TTULogicUnit()
Standard constructor.
Definition: TTULogicUnit.cc:18
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition: TTULogicUnit.cc:72
bool m_triggersignal
Definition: TTULogic.h:35