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 
20 // system include files
21 #include <string>
22 #include <iosfwd>
23 
24 // user include files
26 
27 // forward declarations
28 namespace edm
29 {
30 template <typename T> class Handle;
31 }
32 
33 // class interface
34 
36 {
37 
38 public:
39 
42 
43  L1GtTechnicalTrigger(const std::string& ttName,
44  const unsigned int ttBitNumber, const int ttBxInEvent,
45  const bool ttResult);
46 
49 
51  virtual ~L1GtTechnicalTrigger();
52 
55 
57  bool operator==(const L1GtTechnicalTrigger&) const;
58 
60  bool operator!=(const L1GtTechnicalTrigger&) const;
61 
62 public:
63 
65 
66  inline const std::string gtTechnicalTriggerName() const
67  {
69  }
70 
71  inline const unsigned int gtTechnicalTriggerBitNumber() const
72  {
74  }
75 
77  inline const int bxInEvent() const
78  {
79  return m_bxInEvent;
80  }
81 
82  inline const bool gtTechnicalTriggerResult() const
83  {
85  }
86 
87  void setGtTechnicalTriggerName(const std::string& ttName);
88  void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber);
89  void setBxInEvent(const int bxInEventValue);
90  void setGtTechnicalTriggerResult(const bool ttResult);
91 
92  // other methods
93 
95  void print(std::ostream& myCout) const;
96 
98  friend std::ostream& operator<<(std::ostream&, const L1GtTechnicalTrigger&);
99 
100 private:
101 
107 
108 };
109 
110 #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