CMS 3D CMS Logo

L1GtEnergySumCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtEnergySumCondition_h
2 #define GlobalTrigger_L1GtEnergySumCondition_h
3 
18 // system include files
19 #include <iosfwd>
20 #include <string>
21 
22 // user include files
23 // base classes
25 
26 // forward declarations
27 class L1GtCondition;
29 
30 class L1GlobalTriggerPSB;
31 
32 // class declaration
34 
35 public:
39 
42 
43  // copy constructor
45 
46  // destructor
47  ~L1GtEnergySumCondition() override;
48 
49  // assign operator
51 
52 public:
54  const bool evaluateCondition() const override;
55 
57  void print(std::ostream &myCout) const override;
58 
59 public:
62  return m_gtEnergySumTemplate;
63  }
64 
66 
68  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
69 
70  void setGtPSB(const L1GlobalTriggerPSB *);
71 
72 private:
74  void copy(const L1GtEnergySumCondition &cp);
75 
76 private:
79 
82 };
83 
84 #endif
void print(std::ostream &myCout) const override
print condition
void setGtEnergySumTemplate(const L1GtEnergySumTemplate *)
const L1GtEnergySumTemplate * gtEnergySumTemplate() 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
const bool evaluateCondition() const override
the core function to check if the condition matches
L1GtEnergySumCondition & operator=(const L1GtEnergySumCondition &)
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GtEnergySumTemplate * m_gtEnergySumTemplate
pointer to a L1GtEnergySumTemplate
void copy(const L1GtEnergySumCondition &cp)
copy function for copy constructor and operator=