45 const int nrL1JetCounts)
110 bool condResult =
false;
123 if (jetCounts ==
nullptr) {
135 <<
"\nL1GtJetCountsCondition error: countIndex " << cIndex
137 <<
"\n ==> condResult = false " << std::endl;
141 unsigned int countValue = jetCounts->
count(cIndex);
154 objectsInComb.push_back(indexObj);
int m_verbosity
verbosity level
bool m_condLastResult
the last result of evaluateCondition()
unsigned int countThreshold
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
const L1GtJetCountsTemplate * gtJetCountsTemplate() const
get / set the pointer to a L1GtCondition
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
std::vector< int > SingleCombInCond
typedefs
typedef for a single object template
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
int condMaxNumberObjects() const
const std::vector< ObjectParameter > * objectParameter() const
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
void print(std::ostream &myCout) const override
print condition
void setGtJetCountsTemplate(const L1GtJetCountsTemplate *)
unsigned int m_numberL1JetCounts
maximum number of jet counts
void copy(const L1GtJetCountsCondition &cp)
copy function for copy constructor and operator=
L1GtJetCountsCondition & operator=(const L1GtJetCountsCondition &)
unsigned count(unsigned i) const
get count by index
~L1GtJetCountsCondition() override
int m_condMaxNumberObjects
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 L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate
virtual void print(std::ostream &myCout) const
print condition
const bool condGEq() const
get / set condition GEq flag
CombinationsInCond const & getCombinationsInCond() const
get all the object combinations evaluated to true in the condition
const L1GctJetCounts * getCandL1JetCounts() const
pointer to JetCounts data list
bool condLastResult() const
get the latest result for the condition