Go to the documentation of this file.
94 bool condResult =
false;
107 if (etSumCand ==
nullptr) {
114 const unsigned int numberL1HfRingEtSums = 4;
116 const unsigned int cIndex = objPar.
etSumIndex;
117 if (cIndex >= numberL1HfRingEtSums) {
118 edm::LogError(
"L1GlobalTrigger") <<
"\nL1GtHfRingEtSumsCondition error: etSumIndex " << cIndex
119 <<
"greater than GCT maximum index = " << numberL1HfRingEtSums
120 <<
"\n ==> condResult = false " << std::endl;
124 const unsigned int etSumValue = etSumCand->
etSum(cIndex);
134 objectsInComb.push_back(indexObj);
int m_verbosity
verbosity level
typedef for a single object template
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const bool condGEq() const
get / set condition GEq flag
void copy(const L1GtHfRingEtSumsCondition &cp)
copy function for copy constructor and operator=
virtual void print(std::ostream &myCout) const
print condition
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
const L1GctHFRingEtSums * getCandL1HfRingEtSums() const
pointer to HfRingEtSums data list
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
bool m_condLastResult
the last result of evaluateCondition()
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
std::vector< int > SingleCombInCond
typedefs
void setGtHfRingEtSumsTemplate(const L1GtHfRingEtSumsTemplate *)
uint16_t etSum(unsigned const i) const
~L1GtHfRingEtSumsCondition() override
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
void clear(HadCaloObj &c)
unsigned int etSumThreshold
L1GtHfRingEtSumsCondition()
void print(std::ostream &myCout) const override
print condition
int m_condMaxNumberObjects
const std::vector< ObjectParameter > * objectParameter() const
Log< level::Error, false > LogError
L1GtHfRingEtSumsCondition & operator=(const L1GtHfRingEtSumsCondition &)
const bool evaluateCondition() const override
the core function to check if the condition matches
const L1GtHfRingEtSumsTemplate * m_gtHfRingEtSumsTemplate
pointer to a L1GtHfRingEtSumsTemplate
void print(std::ostream &myCout) const override
print the condition