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 
21 // system include files
22 #include <iosfwd>
23 #include <string>
24 
25 // user include files
26 // base classes
28 
29 // forward declarations
30 class L1GtCondition;
32 
33 // class declaration
35 {
36 
37 public:
38 
42 
44  L1GtExternalCondition(const L1GtCondition*, const bool result);
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtExternalCondition();
51 
52  // assign operator
54 
55 public:
56 
58  const bool evaluateCondition() const;
59 
61  void print(std::ostream& myCout) const;
62 
63 public:
64 
66  inline const L1GtExternalTemplate* gtExternalTemplate() const {
67  return m_gtExternalTemplate;
68  }
69 
71 
73  inline const bool conditionResult() const {
74  return m_conditionResult;
75  }
76 
77  inline void setConditionResult(const bool result) {
79  }
80 
81 private:
82 
84  void copy(const L1GtExternalCondition& cp);
85 
86 private:
87 
90 
93 
94 };
95 
96 #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