CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtTechnicalTrigger.h
Go to the documentation of this file.
1 #ifndef L1GlobalTrigger_L1GtTechnicalTrigger_h
2 #define L1GlobalTrigger_L1GtTechnicalTrigger_h
3 
18 // system include files
19 #include <string>
20 #include <iosfwd>
21 
22 // user include files
24 
25 // forward declarations
26 namespace edm
27 {
28 template <typename T> class Handle;
29 }
30 
31 // class interface
32 
34 {
35 
36 public:
37 
40 
41  L1GtTechnicalTrigger(const std::string& ttName,
42  const unsigned int ttBitNumber, const int ttBxInEvent,
43  const bool ttResult);
44 
47 
49  virtual ~L1GtTechnicalTrigger();
50 
53 
55  bool operator==(const L1GtTechnicalTrigger&) const;
56 
58  bool operator!=(const L1GtTechnicalTrigger&) const;
59 
60 public:
61 
63 
64  inline const std::string gtTechnicalTriggerName() const
65  {
67  }
68 
69  inline const unsigned int gtTechnicalTriggerBitNumber() const
70  {
72  }
73 
75  inline const int bxInEvent() const
76  {
77  return m_bxInEvent;
78  }
79 
80  inline const bool gtTechnicalTriggerResult() const
81  {
83  }
84 
85  void setGtTechnicalTriggerName(const std::string& ttName);
86  void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber);
87  void setBxInEvent(const int bxInEventValue);
88  void setGtTechnicalTriggerResult(const bool ttResult);
89 
90  // other methods
91 
93  void print(std::ostream& myCout) const;
94 
96  friend std::ostream& operator<<(std::ostream&, const L1GtTechnicalTrigger&);
97 
98 private:
99 
105 
106 };
107 
108 #endif
void setGtTechnicalTriggerResult(const bool ttResult)
unsigned int m_gtTechnicalTriggerBitNumber
void setGtTechnicalTriggerName(const std::string &ttName)
virtual ~L1GtTechnicalTrigger()
destructor
bool operator!=(const L1GtTechnicalTrigger &) const
unequal operator
const bool gtTechnicalTriggerResult() const
const unsigned int gtTechnicalTriggerBitNumber() const
bool operator==(const L1GtTechnicalTrigger &) const
equal operator
L1GtTechnicalTrigger()
constructors
void setBxInEvent(const int bxInEventValue)
friend std::ostream & operator<<(std::ostream &, const L1GtTechnicalTrigger &)
output stream operator
void print(std::ostream &myCout) const
pretty print the content of a L1GtTechnicalTrigger
const int bxInEvent() const
get/set bunch cross in the GT event record
const std::string gtTechnicalTriggerName() const
get / set technical trigger name, bit number, bunch cross in the GT event record and result ...
void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber)
std::string m_gtTechnicalTriggerName
technical trigger name, bit number, bunch cross in the GT event record and result ...
L1GtTechnicalTrigger & operator=(const L1GtTechnicalTrigger &)
assignment operator