CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1GtBptxCondition.cc
Go to the documentation of this file.
1 
16 // this class header
18 
19 // system include files
20 #include <iostream>
21 
22 // user include files
23 // base classes
26 
27 // constructors
28 // default
30 
31 // from base template condition (from event setup usually)
34  m_gtBptxTemplate(static_cast<const L1GtBptxTemplate *>(bptxTemplate)),
35  m_conditionResult(result) {
36  // maximum number of objects received for the evaluation of the condition
37  // no object
39 }
40 
41 // copy constructor
45 
49 
51 }
52 
54 
55 // destructor
57  // empty
58 }
59 
60 // equal operator
62  copy(cp);
63  return *this;
64 }
65 
66 // methods
67 void L1GtBptxCondition::setGtBptxTemplate(const L1GtBptxTemplate *bptxTemplate) { m_gtBptxTemplate = bptxTemplate; }
68 
70  // clear the m_combinationsInCond vector
72 
73  //
74  return m_conditionResult;
75 }
76 
77 void L1GtBptxCondition::print(std::ostream &myCout) const {
78  m_gtBptxTemplate->print(myCout);
80 }
const bool conditionResult() const
get / set the result
bool m_condLastResult
the last result of evaluateCondition()
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
activeDets clear()
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
bool m_conditionResult
condition result
tuple result
Definition: mps_fire.py:311
L1GtBptxCondition & operator=(const L1GtBptxCondition &)
const bool evaluateCondition() const override
the core function to check if the condition matches
const L1GtBptxTemplate * m_gtBptxTemplate
pointer to a L1GtBptxTemplate
void setGtBptxTemplate(const L1GtBptxTemplate *)
~L1GtBptxCondition() override
void print(std::ostream &myCout) const override
print condition
const L1GtBptxTemplate * gtBptxTemplate() const
get / set the pointer to a L1GtCondition
void print(std::ostream &myCout) const override
print the condition
virtual void print(std::ostream &myCout) const
print condition
CombinationsInCond const & getCombinationsInCond() const
get all the object combinations evaluated to true in the condition
void copy(const L1GtBptxCondition &cp)
copy function for copy constructor and operator=
bool condLastResult() const
get the latest result for the condition