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 
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;
29 class L1GtBptxTemplate;
30 
31 // class declaration
33 {
34 
35 public:
36 
40 
42  L1GtBptxCondition(const L1GtCondition*, const bool result);
43 
44  // copy constructor
46 
47  // destructor
48  virtual ~L1GtBptxCondition();
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 L1GtBptxTemplate* gtBptxTemplate() const {
65  return m_gtBptxTemplate;
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 L1GtBptxCondition& cp);
83 
84 private:
85 
88 
91 
92 };
93 
94 #endif
const bool conditionResult() const
get / set the result
bool m_conditionResult
condition result
tuple result
Definition: mps_fire.py:83
virtual ~L1GtBptxCondition()
void setConditionResult(const bool result)
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