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);
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
void print(std::ostream &myCout) const override
print the condition
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 setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
const bool evaluateCondition() const override
the core function to check if the condition matches
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 std::vector< ObjectParameter > * objectParameter() const
Persistable copy of total Et measured at Level-1.
~L1GtEnergySumCondition() override
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
void print(std::ostream &myCout) const override
print 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