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 
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 L1GtCastorTemplate;
32 
33 // class declaration
35 {
36 
37 public:
38 
42 
44  L1GtCastorCondition(const L1GtCondition*, const bool result);
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtCastorCondition();
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 L1GtCastorTemplate* gtCastorTemplate() const {
67  return m_gtCastorTemplate;
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 L1GtCastorCondition& cp);
85 
86 private:
87 
90 
93 
94 };
95 
96 #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: query.py:137
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