CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtEnergySumCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtEnergySumCondition_h
2 #define GlobalTrigger_L1GtEnergySumCondition_h
3 
20 // system include files
21 #include <iosfwd>
22 #include <string>
23 
24 // user include files
25 // base classes
27 
28 // forward declarations
29 class L1GtCondition;
31 
32 class L1GlobalTriggerPSB;
33 
34 // class declaration
36 {
37 
38 public:
39 
43 
46 
47  // copy constructor
49 
50  // destructor
51  virtual ~L1GtEnergySumCondition();
52 
53  // assign operator
55 
56 public:
57 
59  const bool evaluateCondition() const;
60 
62  void print(std::ostream& myCout) const;
63 
64 public:
65 
68  return m_gtEnergySumTemplate;
69  }
70 
72 
74  inline const L1GlobalTriggerPSB* gtPSB() const {
75  return m_gtPSB;
76  }
77 
78  void setGtPSB(const L1GlobalTriggerPSB*);
79 
80 private:
81 
83  void copy(const L1GtEnergySumCondition& cp);
84 
85 private:
86 
89 
92 
93 };
94 
95 #endif
void setGtEnergySumTemplate(const L1GtEnergySumTemplate *)
const bool evaluateCondition() const
the core function to check if the condition matches
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
void print(std::ostream &myCout) const
print condition
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=