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 
35 public:
36 
40 
43 
44  // copy constructor
46 
47  // destructor
48  virtual ~L1GtHfBitCountsCondition();
49 
50  // assign operator
52 
53 public:
54 
56  const bool evaluateCondition() const;
57 
59  void print(std::ostream& myCout) const;
60 
61 public:
62 
66  }
67 
69 
71  inline const L1GlobalTriggerPSB* gtPSB() const {
72  return m_gtPSB;
73  }
74 
75  void setGtPSB(const L1GlobalTriggerPSB*);
76 
77 private:
78 
80  void copy(const L1GtHfBitCountsCondition& cp);
81 
82 private:
83 
86 
89 
90 };
91 
92 #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
L1GtHfBitCountsCondition & operator=(const L1GtHfBitCountsCondition &)
const bool evaluateCondition() const
the core function to check if the condition matches
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
void print(std::ostream &myCout) const
print condition
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB