Go to the documentation of this file.
94 bool condResult =
false;
107 if (bitCounts ==
nullptr) {
114 const unsigned int numberL1HfBitCounts = 4;
116 const unsigned int cIndex = objPar.
countIndex;
117 if (cIndex >= numberL1HfBitCounts) {
118 edm::LogError(
"L1GlobalTrigger") <<
"\nL1GtHfBitCountsCondition error: countIndex " << cIndex
119 <<
"greater than GCT maximum index = " << numberL1HfBitCounts
120 <<
"\n ==> condResult = false " << std::endl;
124 const unsigned int countValue = bitCounts->
bitCount(cIndex);
134 objectsInComb.push_back(indexObj);
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
int m_verbosity
verbosity level
unsigned int countThreshold
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const bool condGEq() const
get / set condition GEq flag
virtual void print(std::ostream &myCout) const
print condition
void print(std::ostream &myCout) const override
print condition
L1GtHfBitCountsCondition()
const L1GtHfBitCountsTemplate * m_gtHfBitCountsTemplate
pointer to a L1GtHfBitCountsTemplate
~L1GtHfBitCountsCondition() override
CombinationsInCond m_combinationsInCond
store 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()
std::vector< int > SingleCombInCond
typedefs
typedef for a single object template
uint16_t bitCount(unsigned const i) const
void clear(HadCaloObj &c)
int m_condMaxNumberObjects
Log< level::Error, false > LogError
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
void setGtHfBitCountsTemplate(const L1GtHfBitCountsTemplate *)
const L1GctHFBitCounts * getCandL1HfBitCounts() const
pointer to HfBitCounts data list
const bool evaluateCondition() const override
the core function to check if the condition matches
void print(std::ostream &myCout) const override
print the condition
const std::vector< ObjectParameter > * objectParameter() const
void copy(const L1GtHfBitCountsCondition &cp)
copy function for copy constructor and operator=
L1GtHfBitCountsCondition & operator=(const L1GtHfBitCountsCondition &)