CMS 3D CMS Logo

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 
34 public:
38 
41 
42  // copy constructor
44 
45  // destructor
46  ~L1GtHfBitCountsCondition() override;
47 
48  // assign operator
50 
51 public:
53  const bool evaluateCondition() const override;
54 
56  void print(std::ostream &myCout) const override;
57 
58 public:
62  }
63 
65 
67  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
68 
69  void setGtPSB(const L1GlobalTriggerPSB *);
70 
71 private:
73  void copy(const L1GtHfBitCountsCondition &cp);
74 
75 private:
78 
81 };
82 
83 #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 L1GtHfBitCountsTemplate * m_gtHfBitCountsTemplate
pointer to a L1GtHfBitCountsTemplate
void print(std::ostream &myCout) const override
print condition
L1GtHfBitCountsCondition & operator=(const L1GtHfBitCountsCondition &)
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const bool evaluateCondition() const override
the core function to check if the condition matches
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB