100 bool condResult =
false;
110 objectsInComb.clear();
114 unsigned int candEt = 0;
115 unsigned int candPhi = 0;
116 bool candOverflow =
false;
122 if (cand1 ==
nullptr) {
126 candEt = cand1->
et();
134 if (cand2 ==
nullptr) {
138 candEt = cand2->
et();
139 candPhi = cand2->
phi();
147 if (cand3 ==
nullptr) {
151 candEt = cand3->
et();
159 if (cand4 ==
nullptr) {
163 candEt = cand4->
et();
164 candPhi = cand4->
phi();
241 objectsInComb.push_back(indexObj);
unsigned phi() const
get the Et
void setGtEnergySumTemplate(const L1GtEnergySumTemplate *)
const L1GctEtMiss * getCandL1ETM() const
pointer to ETM data list
bool overFlow() const
get the overflow
int m_verbosity
verbosity level
unsigned et() const
get the magnitude
void print(std::ostream &myCout) const override
print the condition
bool m_condLastResult
the last result of evaluateCondition()
const bool checkBit(const Type1 &mask, const unsigned int bitNumber) const
check if a bit with a given number is set in a mask
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
const L1GctHtMiss * getCandL1HTM() const
pointer to HTM data list
std::vector< int > SingleCombInCond
typedefs
Persistable copy of missing Et measured at Level-1.
CombinationsInCond & combinationsInCond() const
get all the object combinations (to fill it...)
virtual void print(std::ostream &myCout) const
print condition
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
const bool evaluateCondition() const override
the core function to check if the condition matches
const bool checkThreshold(const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
bool overFlow() const
get the overflow
Persistable copy of total Et measured at Level-1.
~L1GtEnergySumCondition() override
const L1GctEtHad * getCandL1HTT() const
pointer to HTT data list
unsigned et() const
get the Et
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 bool condGEq() const
get / set condition GEq flag
const L1GtEnergySumTemplate * m_gtEnergySumTemplate
pointer to a L1GtEnergySumTemplate
int m_condMaxNumberObjects
const std::vector< L1GtObject > & objectType() const
get / set the trigger object type(s) in the condition
unsigned et() const
get the Et
const L1GctEtTotal * getCandL1ETT() const
pointer to ETT data list
Persistable copy of missing Et measured at Level-1.
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})
unsigned long long phiRange1Word
unsigned phi() const
get the Et
bool overFlow() const
get the overflow
const std::vector< ObjectParameter > * objectParameter() const
unsigned et() const
get the magnitude
void print(std::ostream &myCout) const override
print condition
typedef for a single object template
bool overFlow() const
get the overflow
void copy(const L1GtEnergySumCondition &cp)
copy function for copy constructor and operator=