115 bool condResult =
false;
125 objectsInComb.clear();
129 unsigned int candEt = 0;
130 unsigned int candPhi = 0;
131 bool candOverflow =
false;
137 if (cand1 ==
nullptr) {
141 candEt = cand1->
et();
149 if (cand2 ==
nullptr) {
153 candEt = cand2->
et();
154 candPhi = cand2->
phi();
162 if (cand3 ==
nullptr) {
166 candEt = cand3->
et();
174 if (cand4 ==
nullptr) {
178 candEt = cand4->
et();
179 candPhi = cand4->
phi();
263 objectsInComb.push_back(indexObj);
void print(std::ostream &myCout) const override
print condition
bool overFlow() const
get the overflow
void setGtEnergySumTemplate(const L1GtEnergySumTemplate *)
unsigned et() const
get the Et
const bool checkBit(const Type1 &mask, const unsigned int bitNumber) const
check if a bit with a given number is set in a mask
int m_verbosity
verbosity level
bool m_condLastResult
the last result of evaluateCondition()
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
const L1GctEtTotal * getCandL1ETT() const
pointer to ETT data list
std::vector< int > SingleCombInCond
typedefs
Persistable copy of missing Et measured at Level-1.
const std::vector< L1GtObject > & objectType() const
get / set the trigger object type(s) in the condition
unsigned phi() const
get the Et
const L1GtEnergySumTemplate * gtEnergySumTemplate() const
get / set the pointer to a L1GtCondition
int condMaxNumberObjects() const
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
void print(std::ostream &myCout) const override
print the condition
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
bool overFlow() const
get the overflow
bool overFlow() const
get the overflow
bool overFlow() const
get the overflow
unsigned et() const
get the Et
const bool evaluateCondition() const override
the core function to check if the condition matches
const std::vector< ObjectParameter > * objectParameter() const
Persistable copy of total Et measured at Level-1.
~L1GtEnergySumCondition() override
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
unsigned et() const
get the magnitude
Persistable copy of total Ht measured at Level-1.
L1GtEnergySumCondition & operator=(const L1GtEnergySumCondition &)
unsigned long long phiRange0Word
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GtEnergySumTemplate * m_gtEnergySumTemplate
pointer to a L1GtEnergySumTemplate
const L1GctHtMiss * getCandL1HTM() const
pointer to HTM data list
int m_condMaxNumberObjects
Persistable copy of missing Et measured at Level-1.
const L1GctEtMiss * getCandL1ETM() const
pointer to ETM data list
unsigned et() const
get the magnitude
unsigned long long phiRange1Word
virtual void print(std::ostream &myCout) const
print condition
const bool condGEq() const
get / set condition GEq flag
const L1GctEtHad * getCandL1HTT() const
pointer to HTT data list
CombinationsInCond const & getCombinationsInCond() const
get all the object combinations evaluated to true in the condition
unsigned phi() const
get the Et
typedef for a single object template
void copy(const L1GtEnergySumCondition &cp)
copy function for copy constructor and operator=
bool condLastResult() const
get the latest result for the condition