#include <L1GtCaloCondition.h>
Public Member Functions | |
const bool | evaluateCondition () const |
the core function to check if the condition matches More... | |
const L1GtCaloTemplate * | gtCaloTemplate () const |
get / set the pointer to a L1GtCondition More... | |
const int | gtCorrParDeltaPhiNrBins () const |
get / set maximum number of bins for the delta phi scales More... | |
const int | gtIfCaloEtaNumberBits () const |
get / set the number of bits for eta of calorimeter objects More... | |
const L1GlobalTriggerPSB * | gtPSB () const |
get / set the pointer to PSB More... | |
L1GtCaloCondition () | |
L1GtCaloCondition (const L1GtCondition *, const L1GlobalTriggerPSB *, const int nrL1NoIsoEG, const int nrL1IsoEG, const int nrL1CenJet, const int nrL1ForJet, const int nrL1TauJet, const int ifCaloEtaNumberBits) | |
from base template condition (from event setup usually) More... | |
L1GtCaloCondition (const L1GtCaloCondition &) | |
L1GtCaloCondition & | operator= (const L1GtCaloCondition &) |
void | print (std::ostream &myCout) const |
print condition More... | |
void | setGtCaloTemplate (const L1GtCaloTemplate *) |
void | setGtCorrParDeltaPhiNrBins (const int &) |
void | setGtIfCaloEtaNumberBits (const int &) |
void | setGtPSB (const L1GlobalTriggerPSB *) |
set the pointer to PSB More... | |
virtual | ~L1GtCaloCondition () |
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 | |
const bool | checkObjectParameter (const int iCondition, const L1GctCand &cand) const |
function to check a single object if it matches a condition More... | |
void | copy (const L1GtCaloCondition &cp) |
copy function for copy constructor and operator= More... | |
const L1GctCand * | getCandidate (const int indexCand) const |
load calo candidates More... | |
Private Attributes | |
unsigned int | m_corrParDeltaPhiNrBins |
const L1GtCaloTemplate * | m_gtCaloTemplate |
pointer to a L1GtCaloTemplate More... | |
const L1GlobalTriggerPSB * | m_gtPSB |
pointer to PSB, to be able to get the trigger objects More... | |
int | m_ifCaloEtaNumberBits |
number of bits for eta of calorimeter objects 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 CondCalo condition.
Implementation: <TODO: enter implementation details>
Definition at line 35 of file L1GtCaloCondition.h.
L1GtCaloCondition::L1GtCaloCondition | ( | ) |
constructors default
Definition at line 48 of file L1GtCaloCondition.cc.
L1GtCaloCondition::L1GtCaloCondition | ( | const L1GtCondition * | caloTemplate, |
const L1GlobalTriggerPSB * | ptrPSB, | ||
const int | nrL1NoIsoEG, | ||
const int | nrL1IsoEG, | ||
const int | nrL1CenJet, | ||
const int | nrL1ForJet, | ||
const int | nrL1TauJet, | ||
const int | ifCaloEtaNumberBits | ||
) |
from base template condition (from event setup usually)
Definition at line 57 of file L1GtCaloCondition.cc.
L1GtCaloCondition::L1GtCaloCondition | ( | const L1GtCaloCondition & | cp | ) |
Definition at line 117 of file L1GtCaloCondition.cc.
|
virtual |
Definition at line 125 of file L1GtCaloCondition.cc.
|
private |
function to check a single object if it matches a condition
checkObjectParameter - Compare a single particle with a numbered condition.
iCondition | The number of the condition. |
cand | The candidate to compare. |
Definition at line 423 of file L1GtCaloCondition.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 101 of file L1GtCaloCondition.cc.
|
virtual |
the core function to check if the condition matches
Implements L1GtConditionEvaluation.
Definition at line 167 of file L1GtCaloCondition.cc.
|
private |
load calo candidates
Definition at line 385 of file L1GtCaloCondition.cc.
|
inline |
get / set the pointer to a L1GtCondition
Definition at line 73 of file L1GtCaloCondition.h.
References m_gtCaloTemplate.
|
inline |
get / set maximum number of bins for the delta phi scales
Definition at line 95 of file L1GtCaloCondition.h.
References m_corrParDeltaPhiNrBins.
|
inline |
get / set the number of bits for eta of calorimeter objects
Definition at line 88 of file L1GtCaloCondition.h.
References m_ifCaloEtaNumberBits.
|
inline |
get / set the pointer to PSB
Definition at line 80 of file L1GtCaloCondition.h.
References m_gtPSB.
L1GtCaloCondition & L1GtCaloCondition::operator= | ( | const L1GtCaloCondition & | cp | ) |
Definition at line 132 of file L1GtCaloCondition.cc.
|
virtual |
print condition
Reimplemented from L1GtConditionEvaluation.
Definition at line 463 of file L1GtCaloCondition.cc.
void L1GtCaloCondition::setGtCaloTemplate | ( | const L1GtCaloTemplate * | caloTempl | ) |
Definition at line 138 of file L1GtCaloCondition.cc.
void L1GtCaloCondition::setGtCorrParDeltaPhiNrBins | ( | const int & | corrParDeltaPhiNrBins | ) |
Definition at line 159 of file L1GtCaloCondition.cc.
void L1GtCaloCondition::setGtIfCaloEtaNumberBits | ( | const int & | ifCaloEtaNumberBitsValue | ) |
Definition at line 152 of file L1GtCaloCondition.cc.
void L1GtCaloCondition::setGtPSB | ( | const L1GlobalTriggerPSB * | ptrPSB | ) |
set the pointer to PSB
Definition at line 145 of file L1GtCaloCondition.cc.
|
private |
Definition at line 125 of file L1GtCaloCondition.h.
Referenced by gtCorrParDeltaPhiNrBins().
|
private |
pointer to a L1GtCaloTemplate
Definition at line 116 of file L1GtCaloCondition.h.
Referenced by gtCaloTemplate().
|
private |
pointer to PSB, to be able to get the trigger objects
Definition at line 119 of file L1GtCaloCondition.h.
Referenced by gtPSB().
|
private |
number of bits for eta of calorimeter objects
Definition at line 122 of file L1GtCaloCondition.h.
Referenced by gtIfCaloEtaNumberBits().