CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtBptxCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtBptxCondition_h
2 #define GlobalTrigger_L1GtBptxCondition_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;
31 class L1GtBptxTemplate;
32 
33 // class declaration
35 {
36 
37 public:
38 
42 
44  L1GtBptxCondition(const L1GtCondition*, const bool result);
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtBptxCondition();
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 L1GtBptxTemplate* gtBptxTemplate() const {
67  return m_gtBptxTemplate;
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 L1GtBptxCondition& cp);
85 
86 private:
87 
90 
93 
94 };
95 
96 #endif
const bool conditionResult() const
get / set the result
bool m_conditionResult
condition result
virtual ~L1GtBptxCondition()
void setConditionResult(const bool result)
tuple result
Definition: query.py:137
L1GtBptxCondition & operator=(const L1GtBptxCondition &)
const L1GtBptxTemplate * m_gtBptxTemplate
pointer to a L1GtBptxTemplate
void setGtBptxTemplate(const L1GtBptxTemplate *)
const L1GtBptxTemplate * gtBptxTemplate() const
get / set the pointer to a L1GtCondition
void print(std::ostream &myCout) const
print condition
void copy(const L1GtBptxCondition &cp)
copy function for copy constructor and operator=
const bool evaluateCondition() const
the core function to check if the condition matches