#include <L1GtJetCountsCondition.h>
Public Member Functions | |
const bool | evaluateCondition () const |
the core function to check if the condition matches More... | |
const L1GtJetCountsTemplate * | gtJetCountsTemplate () const |
get / set the pointer to a L1GtCondition More... | |
const L1GlobalTriggerPSB * | gtPSB () const |
get / set the pointer to PSB More... | |
L1GtJetCountsCondition () | |
L1GtJetCountsCondition (const L1GtCondition *, const L1GlobalTriggerPSB *, const int nrL1JetCounts) | |
from base template condition (from event setup usually) More... | |
L1GtJetCountsCondition (const L1GtJetCountsCondition &) | |
L1GtJetCountsCondition & | operator= (const L1GtJetCountsCondition &) |
void | print (std::ostream &myCout) const |
print condition More... | |
void | setGtJetCountsTemplate (const L1GtJetCountsTemplate *) |
void | setGtPSB (const L1GlobalTriggerPSB *) |
set the pointer to PSB More... | |
virtual | ~L1GtJetCountsCondition () |
Public Member Functions inherited from L1GtConditionEvaluation | |
bool | condLastResult () const |
get the latest result for the condition More... | |
int | condMaxNumberObjects () const |
void | evaluateConditionStoreResult () |
call evaluateCondition and save last result More... | |
CombinationsInCond const & | getCombinationsInCond () const |
get all the object combinations evaluated to true in the condition More... | |
virtual std::string | getNumericExpression () const |
get numeric expression More... | |
L1GtConditionEvaluation () | |
constructor More... | |
void | setCondMaxNumberObjects (int condMaxNumberObjectsValue) |
void | setVerbosity (const int verbosity) |
virtual | ~L1GtConditionEvaluation () |
destructor More... | |
Private Member Functions | |
void | copy (const L1GtJetCountsCondition &cp) |
copy function for copy constructor and operator= More... | |
Private Attributes | |
const L1GtJetCountsTemplate * | m_gtJetCountsTemplate |
pointer to a L1GtJetCountsTemplate More... | |
const L1GlobalTriggerPSB * | m_gtPSB |
pointer to PSB, to be able to get the trigger objects More... | |
unsigned int | m_numberL1JetCounts |
maximum number of jet counts More... | |
Additional Inherited Members | |
Protected Member Functions inherited from L1GtConditionEvaluation | |
template<class Type1 > | |
const bool | checkBit (const Type1 &mask, const unsigned int bitNumber) const |
check if a bit with a given number is set in a mask More... | |
template<class Type1 , class Type2 > | |
const bool | checkThreshold (const Type1 &threshold, const Type2 &value, const bool condGEqValue) const |
CombinationsInCond & | combinationsInCond () const |
get all the object combinations (to fill it...) More... | |
Protected Attributes inherited from L1GtConditionEvaluation | |
CombinationsInCond | m_combinationsInCond |
store all the object combinations evaluated to true in the condition More... | |
bool | m_condLastResult |
the last result of evaluateCondition() More... | |
int | m_condMaxNumberObjects |
int | m_verbosity |
verbosity level More... | |
Description: evaluation of a CondJetCounts condition.
Implementation: <TODO: enter implementation details>
Definition at line 33 of file L1GtJetCountsCondition.h.
L1GtJetCountsCondition::L1GtJetCountsCondition | ( | ) |
constructors default
Definition at line 37 of file L1GtJetCountsCondition.cc.
L1GtJetCountsCondition::L1GtJetCountsCondition | ( | const L1GtCondition * | jcTemplate, |
const L1GlobalTriggerPSB * | ptrPSB, | ||
const int | nrL1JetCounts | ||
) |
from base template condition (from event setup usually)
Definition at line 45 of file L1GtJetCountsCondition.cc.
References L1GtConditionEvaluation::m_condMaxNumberObjects.
L1GtJetCountsCondition::L1GtJetCountsCondition | ( | const L1GtJetCountsCondition & | cp | ) |
Definition at line 73 of file L1GtJetCountsCondition.cc.
References copy().
|
virtual |
Definition at line 81 of file L1GtJetCountsCondition.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 60 of file L1GtJetCountsCondition.cc.
References L1GtConditionEvaluation::condLastResult(), L1GtConditionEvaluation::condMaxNumberObjects(), L1GtConditionEvaluation::getCombinationsInCond(), gtJetCountsTemplate(), gtPSB(), L1GtConditionEvaluation::m_combinationsInCond, L1GtConditionEvaluation::m_condLastResult, L1GtConditionEvaluation::m_condMaxNumberObjects, m_gtJetCountsTemplate, m_gtPSB, and L1GtConditionEvaluation::m_verbosity.
Referenced by gtPSB(), L1GtJetCountsCondition(), and operator=().
|
virtual |
the core function to check if the condition matches
Implements L1GtConditionEvaluation.
Definition at line 109 of file L1GtJetCountsCondition.cc.
References L1GtConditionEvaluation::checkThreshold(), hitfit::clear(), L1GtConditionEvaluation::combinationsInCond(), L1GtCondition::condGEq(), L1GctJetCounts::count(), L1GtJetCountsTemplate::ObjectParameter::countIndex, L1GtJetCountsTemplate::ObjectParameter::countThreshold, L1GlobalTriggerPSB::getCandL1JetCounts(), m_gtJetCountsTemplate, m_gtPSB, m_numberL1JetCounts, and L1GtJetCountsTemplate::objectParameter().
|
inline |
get / set the pointer to a L1GtCondition
Definition at line 65 of file L1GtJetCountsCondition.h.
References m_gtJetCountsTemplate, and setGtJetCountsTemplate().
Referenced by copy().
|
inline |
get / set the pointer to PSB
Definition at line 72 of file L1GtJetCountsCondition.h.
References copy(), SimDataFormats::CaloAnalysis::cp, m_gtPSB, and setGtPSB().
Referenced by copy().
L1GtJetCountsCondition & L1GtJetCountsCondition::operator= | ( | const L1GtJetCountsCondition & | cp | ) |
Definition at line 88 of file L1GtJetCountsCondition.cc.
References copy().
|
virtual |
print condition
Reimplemented from L1GtConditionEvaluation.
Definition at line 170 of file L1GtJetCountsCondition.cc.
References m_gtJetCountsTemplate, L1GtJetCountsTemplate::print(), and L1GtConditionEvaluation::print().
Referenced by L1GlobalTriggerGTL::run().
void L1GtJetCountsCondition::setGtJetCountsTemplate | ( | const L1GtJetCountsTemplate * | jcTemplate | ) |
Definition at line 95 of file L1GtJetCountsCondition.cc.
References m_gtJetCountsTemplate.
Referenced by gtJetCountsTemplate().
void L1GtJetCountsCondition::setGtPSB | ( | const L1GlobalTriggerPSB * | ptrPSB | ) |
set the pointer to PSB
Definition at line 102 of file L1GtJetCountsCondition.cc.
References m_gtPSB.
Referenced by gtPSB().
|
private |
pointer to a L1GtJetCountsTemplate
Definition at line 86 of file L1GtJetCountsCondition.h.
Referenced by copy(), evaluateCondition(), gtJetCountsTemplate(), print(), and setGtJetCountsTemplate().
|
private |
pointer to PSB, to be able to get the trigger objects
Definition at line 89 of file L1GtJetCountsCondition.h.
Referenced by copy(), evaluateCondition(), gtPSB(), and setGtPSB().
|
private |
maximum number of jet counts
Definition at line 92 of file L1GtJetCountsCondition.h.
Referenced by evaluateCondition().