CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtCastorCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtCastorCondition_h
2 #define GlobalTrigger_L1GtCastorCondition_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 L1GtCastorTemplate;
30 
31 // class declaration
33 {
34 
35 public:
36 
40 
42  L1GtCastorCondition(const L1GtCondition*, const bool result);
43 
44  // copy constructor
46 
47  // destructor
48  virtual ~L1GtCastorCondition();
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 L1GtCastorTemplate* gtCastorTemplate() const {
65  return m_gtCastorTemplate;
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 L1GtCastorCondition& cp);
83 
84 private:
85 
88 
91 
92 };
93 
94 #endif
bool m_conditionResult
condition result
const bool evaluateCondition() const
the core function to check if the condition matches
const L1GtCastorTemplate * m_gtCastorTemplate
pointer to a L1GtCastorTemplate
void print(std::ostream &myCout) const
print condition
void copy(const L1GtCastorCondition &cp)
copy function for copy constructor and operator=
tuple result
Definition: mps_fire.py:95
void setConditionResult(const bool result)
const L1GtCastorTemplate * gtCastorTemplate() const
get / set the pointer to a L1GtCondition
L1GtCastorCondition & operator=(const L1GtCastorCondition &)
void setGtCastorTemplate(const L1GtCastorTemplate *)
const bool conditionResult() const
get / set the result