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
const L1GctJetCounts * getCandL1JetCounts() const
pointer to JetCounts data list
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 L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
std::vector< int > SingleCombInCond
typedefs
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
typedef for a single object template
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
Log< level::Error, false > LogError
virtual void print(std::ostream &myCout) const
print condition
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
const std::vector< ObjectParameter > * objectParameter() 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 &)
const bool condGEq() const
get / set condition GEq flag
~L1GtJetCountsCondition() override
int m_condMaxNumberObjects
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})
void clear(HadCaloObj &c)
const L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate
const bool evaluateCondition() const override
the core function to check if the condition matches
void print(std::ostream &myCout) const override
print the condition
void print(std::ostream &myCout) const override
print condition
unsigned count(unsigned i) const
get count by index