CMS 3D CMS Logo

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 public:
38 
40  L1GtBptxCondition(const L1GtCondition *, const bool result);
41 
42  // copy constructor
44 
45  // destructor
46  ~L1GtBptxCondition() override;
47 
48  // assign operator
50 
51 public:
53  const bool evaluateCondition() const override;
54 
56  void print(std::ostream &myCout) const override;
57 
58 public:
60  inline const L1GtBptxTemplate *gtBptxTemplate() const {
61  return m_gtBptxTemplate;
62  }
63 
64  void setGtBptxTemplate(const L1GtBptxTemplate *);
65 
67  inline const bool conditionResult() const { return m_conditionResult; }
68 
69  inline void setConditionResult(const bool result) {
71  }
72 
73 private:
75  void copy(const L1GtBptxCondition &cp);
76 
77 private:
80 
83 };
84 
85 #endif
const bool conditionResult() const
get / set the result
void print(std::ostream &myCout) const override
print condition
const bool evaluateCondition() const override
the core function to check if the condition matches
bool m_conditionResult
condition result
void setConditionResult(const bool result)
L1GtBptxCondition & operator=(const L1GtBptxCondition &)
const L1GtBptxTemplate * m_gtBptxTemplate
pointer to a L1GtBptxTemplate
void setGtBptxTemplate(const L1GtBptxTemplate *)
~L1GtBptxCondition() override
const L1GtBptxTemplate * gtBptxTemplate() const
get / set the pointer to a L1GtCondition
void copy(const L1GtBptxCondition &cp)
copy function for copy constructor and operator=