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
L1GtTechnicalTrigger::gtTechnicalTriggerResult
const bool gtTechnicalTriggerResult() const
Definition: L1GtTechnicalTrigger.h:68
L1GlobalTriggerReadoutSetupFwd.h
Handle
L1GtTechnicalTrigger::print
void print(std::ostream &myCout) const
pretty print the content of a L1GtTechnicalTrigger
Definition: L1GtTechnicalTrigger.cc:111
edm
HLT enums.
Definition: AlignableModifier.h:19
L1GtTechnicalTrigger::m_gtTechnicalTriggerResult
bool m_gtTechnicalTriggerResult
Definition: L1GtTechnicalTrigger.h:88
L1GtTechnicalTrigger::operator!=
bool operator!=(const L1GtTechnicalTrigger &) const
unequal operator
Definition: L1GtTechnicalTrigger.cc:94
L1GtTechnicalTrigger
Definition: L1GtTechnicalTrigger.h:33
L1GtTechnicalTrigger::L1GtTechnicalTrigger
L1GtTechnicalTrigger()
constructors
Definition: L1GtTechnicalTrigger.cc:25
L1GtTechnicalTrigger::setGtTechnicalTriggerResult
void setGtTechnicalTriggerResult(const bool ttResult)
Definition: L1GtTechnicalTrigger.cc:108
L1GtTechnicalTrigger::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtTechnicalTrigger &)
output stream operator
Definition: L1GtTechnicalTrigger.cc:123
L1GtTechnicalTrigger::operator==
bool operator==(const L1GtTechnicalTrigger &) const
equal operator
Definition: L1GtTechnicalTrigger.cc:72
L1GtTechnicalTrigger::m_gtTechnicalTriggerBitNumber
unsigned int m_gtTechnicalTriggerBitNumber
Definition: L1GtTechnicalTrigger.h:86
L1GtTechnicalTrigger::setBxInEvent
void setBxInEvent(const int bxInEventValue)
Definition: L1GtTechnicalTrigger.cc:106
L1GtTechnicalTrigger::m_bxInEvent
int m_bxInEvent
Definition: L1GtTechnicalTrigger.h:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtTechnicalTrigger::~L1GtTechnicalTrigger
virtual ~L1GtTechnicalTrigger()
destructor
Definition: L1GtTechnicalTrigger.cc:55
L1GtTechnicalTrigger::gtTechnicalTriggerName
const std::string gtTechnicalTriggerName() const
get / set technical trigger name, bit number, bunch cross in the GT event record and result
Definition: L1GtTechnicalTrigger.h:61
L1GtTechnicalTrigger::m_gtTechnicalTriggerName
std::string m_gtTechnicalTriggerName
technical trigger name, bit number, bunch cross in the GT event record and result
Definition: L1GtTechnicalTrigger.h:85
L1GtTechnicalTrigger::gtTechnicalTriggerBitNumber
const unsigned int gtTechnicalTriggerBitNumber() const
Definition: L1GtTechnicalTrigger.h:63
L1GtTechnicalTrigger::operator=
L1GtTechnicalTrigger & operator=(const L1GtTechnicalTrigger &)
assignment operator
Definition: L1GtTechnicalTrigger.cc:60
L1GtTechnicalTrigger::bxInEvent
const int bxInEvent() const
get/set bunch cross in the GT event record
Definition: L1GtTechnicalTrigger.h:66
L1GtTechnicalTrigger::setGtTechnicalTriggerBitNumber
void setGtTechnicalTriggerBitNumber(const unsigned int ttBitNumber)
Definition: L1GtTechnicalTrigger.cc:102
L1GtTechnicalTrigger::setGtTechnicalTriggerName
void setGtTechnicalTriggerName(const std::string &ttName)
Definition: L1GtTechnicalTrigger.cc:99