Go to the documentation of this file. 1 #ifndef GlobalTrigger_L1GtConditionEvaluation_h
2 #define GlobalTrigger_L1GtConditionEvaluation_h
76 virtual void print(std::ostream &myCout)
const;
86 template <
class Type1,
class Type2>
90 template <
class Type1>
112 template <
class Type1,
class Type2>
115 const bool condGEqValue)
const {
148 template <
class Type1>
154 LogTrace(
"L1GlobalTrigger") <<
" checkBit "
155 <<
"\n Bit number = " <<
bitNumber <<
" larger than maximum allowed "
156 <<
sizeof(oneBit) * 8 << std::endl;
174 return (mask & oneBit);
int m_verbosity
verbosity level
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const bool checkBit(const Type1 &mask, const unsigned int bitNumber) const
check if a bit with a given number is set in a mask
void setCondMaxNumberObjects(int condMaxNumberObjectsValue)
virtual void print(std::ostream &myCout) const
print condition
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
bool m_condLastResult
the last result of evaluateCondition()
int condMaxNumberObjects() const
void setVerbosity(const int verbosity)
virtual std::string getNumericExpression() const
get numeric expression
void evaluateConditionStoreResult()
call evaluateCondition and save last result
L1GtConditionEvaluation()
constructor
int m_condMaxNumberObjects
const CombinationsInCond & getCombinationsInCond() const
get all the object combinations evaluated to true in the condition
bool condLastResult() const
get the latest result for the condition
virtual ~L1GtConditionEvaluation()
destructor
unsigned long long uint64_t
virtual const bool evaluateCondition() const =0
the core function to check if the condition matches