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 
51 
53  bool operator==(const L1GtTechnicalTrigger&) const;
54 
56  bool operator!=(const L1GtTechnicalTrigger&) const;
57 
58 public:
60 
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
void setGtTechnicalTriggerResult(const bool ttResult)
unsigned int m_gtTechnicalTriggerBitNumber
void setGtTechnicalTriggerName(const std::string &ttName)
void print(std::ostream &myCout) const
pretty print the content of a L1GtTechnicalTrigger
bool operator==(const L1GtTechnicalTrigger &) const
equal operator
virtual ~L1GtTechnicalTrigger()
destructor
bool operator!=(const L1GtTechnicalTrigger &) const
unequal operator
L1GtTechnicalTrigger()
constructors
void setBxInEvent(const int bxInEventValue)
friend std::ostream & operator<<(std::ostream &, const L1GtTechnicalTrigger &)
output stream operator
void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber)
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 ...
const unsigned int gtTechnicalTriggerBitNumber() const
HLT enums.
L1GtTechnicalTrigger & operator=(const L1GtTechnicalTrigger &)
assignment operator
const int bxInEvent() const
get/set bunch cross in the GT event record
const bool gtTechnicalTriggerResult() const