CMS 3D CMS Logo

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 
52  L1GtTechnicalTrigger& operator=(const L1GtTechnicalTrigger&);
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  {
66  return m_gtTechnicalTriggerName;
67  }
68 
69  inline const unsigned int gtTechnicalTriggerBitNumber() const
70  {
71  return m_gtTechnicalTriggerBitNumber;
72  }
73 
75  inline const int bxInEvent() const
76  {
77  return m_bxInEvent;
78  }
79 
80  inline const bool gtTechnicalTriggerResult() const
81  {
82  return m_gtTechnicalTriggerResult;
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
unsigned int m_gtTechnicalTriggerBitNumber
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
const bool gtTechnicalTriggerResult() const
const unsigned int gtTechnicalTriggerBitNumber() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
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 ...
std::string m_gtTechnicalTriggerName
technical trigger name, bit number, bunch cross in the GT event record and result ...
HLT enums.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.