CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtExternalCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtExternalCondition_h
2 #define GlobalTrigger_L1GtExternalCondition_h
3 
19 // system include files
20 #include <iosfwd>
21 #include <string>
22 
23 // user include files
24 // base classes
26 
27 // forward declarations
28 class L1GtCondition;
30 
31 // class declaration
33 {
34 
35 public:
36 
40 
42  L1GtExternalCondition(const L1GtCondition*, const bool result);
43 
44  // copy constructor
46 
47  // destructor
48  virtual ~L1GtExternalCondition();
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 
64  inline const L1GtExternalTemplate* gtExternalTemplate() const {
65  return m_gtExternalTemplate;
66  }
67 
69 
71  inline const bool conditionResult() const {
72  return m_conditionResult;
73  }
74 
75  inline void setConditionResult(const bool result) {
77  }
78 
79 private:
80 
82  void copy(const L1GtExternalCondition& cp);
83 
84 private:
85 
88 
91 
92 };
93 
94 #endif
const L1GtExternalTemplate * gtExternalTemplate() const
get / set the pointer to a L1GtCondition
void setConditionResult(const bool result)
const bool evaluateCondition() const
the core function to check if the condition matches
L1GtExternalCondition & operator=(const L1GtExternalCondition &)
void setGtExternalTemplate(const L1GtExternalTemplate *)
tuple result
Definition: query.py:137
const L1GtExternalTemplate * m_gtExternalTemplate
pointer to a L1GtExternalTemplate
const bool conditionResult() const
get / set the result
void print(std::ostream &myCout) const
print condition
void copy(const L1GtExternalCondition &cp)
copy function for copy constructor and operator=
bool m_conditionResult
condition result