122 bool condResult =
false;
132 objectsInComb.clear();
136 unsigned int candEt = 0;
137 unsigned int candPhi = 0;
138 bool candOverflow =
false;
148 candEt = cand1->
et();
160 candEt = cand2->
et();
161 candPhi = cand2->
phi();
173 candEt = cand3->
et();
185 candEt = cand4->
et();
186 candPhi = cand4->
phi();
271 objectsInComb.push_back(indexObj);
bool overFlow() const
get the overflow
void setGtEnergySumTemplate(const L1GtEnergySumTemplate *)
virtual ~L1GtEnergySumCondition()
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 bool evaluateCondition() const
the core function to check if the condition matches
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
void print(std::ostream &myCout) const
print condition
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.
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
virtual void print(std::ostream &myCout) const
print the condition
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