Go to the documentation of this file.
44 const int nrL1JetCounts)
48 m_numberL1JetCounts(nrL1JetCounts) {
97 bool condResult =
false;
110 if (jetCounts ==
nullptr) {
119 edm::LogError(
"L1GlobalTrigger") <<
"\nL1GtJetCountsCondition error: countIndex " << cIndex
121 <<
"\n ==> condResult = false " << std::endl;
125 unsigned int countValue = jetCounts->
count(cIndex);
136 objectsInComb.push_back(indexObj);
int m_verbosity
verbosity level
void setGtJetCountsTemplate(const L1GtJetCountsTemplate *)
void print(std::ostream &myCout) const override
print the condition
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const bool evaluateCondition() const override
the core function to check if the condition matches
const bool condGEq() const
get / set condition GEq flag
virtual void print(std::ostream &myCout) const
print condition
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
unsigned int countThreshold
typedef for a single object template
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
bool m_condLastResult
the last result of evaluateCondition()
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
std::vector< int > SingleCombInCond
typedefs
~L1GtJetCountsCondition() override
unsigned int m_numberL1JetCounts
maximum number of jet counts
void clear(HadCaloObj &c)
int m_condMaxNumberObjects
L1GtJetCountsCondition & operator=(const L1GtJetCountsCondition &)
const L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate
Log< level::Error, false > LogError
void print(std::ostream &myCout) const override
print condition
unsigned count(unsigned i) const
get count by index
const std::vector< ObjectParameter > * objectParameter() const
void copy(const L1GtJetCountsCondition &cp)
copy function for copy constructor and operator=
const L1GctJetCounts * getCandL1JetCounts() const
pointer to JetCounts data list