52 m_numberL1JetCounts(nrL1JetCounts)
119 bool condResult =
false;
132 if (jetCounts == 0) {
143 edm::LogError(
"L1GlobalTrigger") <<
"\nL1GtJetCountsCondition error: countIndex "
145 <<
"\n ==> condResult = false " << std::endl;
150 unsigned int countValue = jetCounts->
count(cIndex);
161 objectsInComb.push_back(indexObj);
void print(std::ostream &myCout) const
print condition
const bool evaluateCondition() const
the core function to check if the condition matches
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 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 &)
virtual void print(std::ostream &myCout) const
print the condition
unsigned count(unsigned i) const
get count by index
int m_condMaxNumberObjects
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
virtual ~L1GtJetCountsCondition()
const L1GctJetCounts * getCandL1JetCounts() const
pointer to JetCounts data list
bool condLastResult() const
get the latest result for the condition