CMS 3D CMS Logo

L1GtHfRingEtSumsCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtHfRingEtSumsCondition_h
2 #define GlobalTrigger_L1GtHfRingEtSumsCondition_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  ~L1GtHfRingEtSumsCondition() 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 L1GtHfRingEtSumsCondition &cp);
71 
72 private:
75 
78 };
79 
80 #endif
const bool evaluateCondition() const override
the core function to check if the condition matches
void setGtHfRingEtSumsTemplate(const L1GtHfRingEtSumsTemplate *)
const L1GtHfRingEtSumsTemplate * gtHfRingEtSumsTemplate() const
get / set the pointer to a L1GtCondition
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
void print(std::ostream &myCout) const override
print condition
const L1GtHfRingEtSumsTemplate * m_gtHfRingEtSumsTemplate
pointer to a L1GtHfRingEtSumsTemplate
L1GtHfRingEtSumsCondition & operator=(const L1GtHfRingEtSumsCondition &)
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
void copy(const L1GtHfRingEtSumsCondition &cp)
copy function for copy constructor and operator=