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  template <typename T>
28  class Handle;
29 }
30 
31 // class interface
32 
34 public:
37 
38  L1GtTechnicalTrigger(const std::string& ttName,
39  const unsigned int ttBitNumber,
40  const int ttBxInEvent,
41  const bool ttResult);
42 
45 
47  virtual ~L1GtTechnicalTrigger();
48 
50  L1GtTechnicalTrigger& operator=(const L1GtTechnicalTrigger&);
51 
53  bool operator==(const L1GtTechnicalTrigger&) const;
54 
56  bool operator!=(const L1GtTechnicalTrigger&) const;
57 
58 public:
60 
61  inline const std::string gtTechnicalTriggerName() const { return m_gtTechnicalTriggerName; }
62 
63  inline const unsigned int gtTechnicalTriggerBitNumber() const { return m_gtTechnicalTriggerBitNumber; }
64 
66  inline const int bxInEvent() const { return m_bxInEvent; }
67 
68  inline const bool gtTechnicalTriggerResult() const { return m_gtTechnicalTriggerResult; }
69 
70  void setGtTechnicalTriggerName(const std::string& ttName);
71  void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber);
72  void setBxInEvent(const int bxInEventValue);
73  void setGtTechnicalTriggerResult(const bool ttResult);
74 
75  // other methods
76 
78  void print(std::ostream& myCout) const;
79 
81  friend std::ostream& operator<<(std::ostream&, const L1GtTechnicalTrigger&);
82 
83 private:
89 };
90 
91 #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.