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 public:
37 
39  L1GtBptxCondition(const L1GtCondition *, const bool result);
40 
41  // copy constructor
43 
44  // destructor
45  ~L1GtBptxCondition() override;
46 
47  // assign operator
49 
50 public:
52  const bool evaluateCondition() const override;
53 
55  void print(std::ostream &myCout) const override;
56 
57 public:
59  inline const L1GtBptxTemplate *gtBptxTemplate() const { return m_gtBptxTemplate; }
60 
61  void setGtBptxTemplate(const L1GtBptxTemplate *);
62 
64  inline const bool conditionResult() const { return m_conditionResult; }
65 
66  inline void setConditionResult(const bool result) { m_conditionResult = result; }
67 
68 private:
70  void copy(const L1GtBptxCondition &cp);
71 
72 private:
75 
78 };
79 
80 #endif
L1GtConditionEvaluation
Definition: L1GtConditionEvaluation.h:37
L1GtCondition
Definition: L1GtCondition.h:35
L1GtBptxCondition::copy
void copy(const L1GtBptxCondition &cp)
copy function for copy constructor and operator=
Definition: L1GtBptxCondition.cc:42
L1GtBptxCondition::conditionResult
const bool conditionResult() const
get / set the result
Definition: L1GtBptxCondition.h:64
L1GtBptxCondition::m_conditionResult
bool m_conditionResult
condition result
Definition: L1GtBptxCondition.h:77
L1GtBptxTemplate
Definition: L1GtBptxTemplate.h:39
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtBptxCondition::setConditionResult
void setConditionResult(const bool result)
Definition: L1GtBptxCondition.h:66
L1GtBptxCondition::operator=
L1GtBptxCondition & operator=(const L1GtBptxCondition &)
Definition: L1GtBptxCondition.cc:61
L1GtBptxCondition::evaluateCondition
const bool evaluateCondition() const override
the core function to check if the condition matches
Definition: L1GtBptxCondition.cc:69
L1GtBptxCondition::setGtBptxTemplate
void setGtBptxTemplate(const L1GtBptxTemplate *)
Definition: L1GtBptxCondition.cc:67
L1GtConditionEvaluation.h
L1GtBptxCondition
Definition: L1GtBptxCondition.h:32
L1GtBptxCondition::m_gtBptxTemplate
const L1GtBptxTemplate * m_gtBptxTemplate
pointer to a L1GtBptxTemplate
Definition: L1GtBptxCondition.h:74
L1GtBptxCondition::~L1GtBptxCondition
~L1GtBptxCondition() override
Definition: L1GtBptxCondition.cc:56
L1GtBptxCondition::gtBptxTemplate
const L1GtBptxTemplate * gtBptxTemplate() const
get / set the pointer to a L1GtCondition
Definition: L1GtBptxCondition.h:59
L1GtBptxCondition::print
void print(std::ostream &myCout) const override
print condition
Definition: L1GtBptxCondition.cc:77
mps_fire.result
result
Definition: mps_fire.py:311
L1GtBptxCondition::L1GtBptxCondition
L1GtBptxCondition()
Definition: L1GtBptxCondition.cc:29