CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1GtHfBitCountsCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtHfBitCountsCondition_h
2 #define GlobalTrigger_L1GtHfBitCountsCondition_h
3 
18 // system include files
19 #include <iosfwd>
20 
21 // user include files
22 // base classes
24 
25 // forward declarations
26 class L1GtCondition;
28 
29 class L1GlobalTriggerPSB;
30 
31 // class declaration
33 public:
37 
40 
41  // copy constructor
43 
44  // destructor
45  ~L1GtHfBitCountsCondition() override;
46 
47  // assign operator
49 
50 public:
52  const bool evaluateCondition() const override;
53 
55  void print(std::ostream &myCout) const override;
56 
57 public:
60 
62 
64  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
65 
66  void setGtPSB(const L1GlobalTriggerPSB *);
67 
68 private:
70  void copy(const L1GtHfBitCountsCondition &cp);
71 
72 private:
75 
78 };
79 
80 #endif
void copy(const L1GtHfBitCountsCondition &cp)
copy function for copy constructor and operator=
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
void setGtHfBitCountsTemplate(const L1GtHfBitCountsTemplate *)
const L1GtHfBitCountsTemplate * gtHfBitCountsTemplate() const
get / set the pointer to a L1GtCondition
const bool evaluateCondition() const override
the core function to check if the condition matches
const L1GtHfBitCountsTemplate * m_gtHfBitCountsTemplate
pointer to a L1GtHfBitCountsTemplate
L1GtHfBitCountsCondition & operator=(const L1GtHfBitCountsCondition &)
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
void print(std::ostream &myCout) const override
print condition