#include <L1GtCorrelationCondition.h>
Public Member Functions | |
const bool | evaluateCondition () const |
the core function to check if the condition matches More... | |
const L1GtCorrelationTemplate * | gtCorrelationTemplate () const |
get / set the pointer to a L1GtCondition More... | |
const L1GlobalTriggerGTL * | gtGTL () const |
get / set the pointer to GTL More... | |
const unsigned int | gtNrBinsPhi () const |
get / set the number of phi bins More... | |
const L1GlobalTriggerPSB * | gtPSB () const |
get / set the pointer to PSB More... | |
L1GtCorrelationCondition () | |
L1GtCorrelationCondition (const L1GtCondition *, const L1GtCondition *, const L1GtCondition *, const int, const int, const int, const int, const L1GlobalTriggerGTL *, const L1GlobalTriggerPSB *, const L1GtEtaPhiConversions *) | |
from base template condition (from event setup usually) More... | |
L1GtCorrelationCondition (const L1GtCorrelationCondition &) | |
L1GtCorrelationCondition & | operator= (const L1GtCorrelationCondition &) |
void | print (std::ostream &myCout) const |
print condition More... | |
void | setGtCorrelationTemplate (const L1GtCorrelationTemplate *) |
void | setGtGTL (const L1GlobalTriggerGTL *) |
void | setGtNrBinsPhi (const unsigned int) |
void | setGtPSB (const L1GlobalTriggerPSB *) |
virtual | ~L1GtCorrelationCondition () |
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 L1GtCorrelationCondition &cp) |
copy function for copy constructor and operator= More... | |
Private Attributes | |
int | m_cond0EtaBits |
int | m_cond0NrL1Objects |
int | m_cond1EtaBits |
int | m_cond1NrL1Objects |
const L1GtCondition * | m_gtCond0 |
pointer to first sub-condition More... | |
const L1GtCondition * | m_gtCond1 |
pointer to second sub-condition More... | |
const L1GtCorrelationTemplate * | m_gtCorrelationTemplate |
pointer to a L1GtCorrelationTemplate More... | |
const L1GtEtaPhiConversions * | m_gtEtaPhiConversions |
pointer to eta and phi conversion class More... | |
const L1GlobalTriggerGTL * | m_gtGTL |
pointer to GTL, to be able to get the trigger objects More... | |
const L1GlobalTriggerPSB * | m_gtPSB |
pointer to PSB, to be able to get the trigger objects More... | |
bool | m_isDebugEnabled |
unsigned int | m_nrBinsPhi |
number of bins for delta phi 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 CondCorrelation condition.
Implementation: <TODO: enter implementation details>
Definition at line 34 of file L1GtCorrelationCondition.h.
L1GtCorrelationCondition::L1GtCorrelationCondition | ( | ) |
constructors default
Definition at line 58 of file L1GtCorrelationCondition.cc.
L1GtCorrelationCondition::L1GtCorrelationCondition | ( | const L1GtCondition * | corrTemplate, |
const L1GtCondition * | cond0Condition, | ||
const L1GtCondition * | cond1Condition, | ||
const int | cond0NrL1Objects, | ||
const int | cond1NrL1Objects, | ||
const int | cond0EtaBits, | ||
const int | cond1EtaBits, | ||
const L1GlobalTriggerGTL * | ptrGTL, | ||
const L1GlobalTriggerPSB * | ptrPSB, | ||
const L1GtEtaPhiConversions * | etaPhiConversions | ||
) |
from base template condition (from event setup usually)
Definition at line 68 of file L1GtCorrelationCondition.cc.
L1GtCorrelationCondition::L1GtCorrelationCondition | ( | const L1GtCorrelationCondition & | cp | ) |
Definition at line 120 of file L1GtCorrelationCondition.cc.
|
virtual |
Definition at line 127 of file L1GtCorrelationCondition.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 90 of file L1GtCorrelationCondition.cc.
|
virtual |
the core function to check if the condition matches
Implements L1GtConditionEvaluation.
Definition at line 172 of file L1GtCorrelationCondition.cc.
|
inline |
get / set the pointer to a L1GtCondition
Definition at line 76 of file L1GtCorrelationCondition.h.
References m_gtCorrelationTemplate.
|
inline |
get / set the pointer to GTL
Definition at line 83 of file L1GtCorrelationCondition.h.
References m_gtGTL.
|
inline |
get / set the number of phi bins
Definition at line 69 of file L1GtCorrelationCondition.h.
References m_nrBinsPhi.
|
inline |
get / set the pointer to PSB
Definition at line 90 of file L1GtCorrelationCondition.h.
References m_gtPSB.
L1GtCorrelationCondition & L1GtCorrelationCondition::operator= | ( | const L1GtCorrelationCondition & | cp | ) |
Definition at line 134 of file L1GtCorrelationCondition.cc.
|
virtual |
print condition
Reimplemented from L1GtConditionEvaluation.
Definition at line 861 of file L1GtCorrelationCondition.cc.
void L1GtCorrelationCondition::setGtCorrelationTemplate | ( | const L1GtCorrelationTemplate * | corrTempl | ) |
Definition at line 150 of file L1GtCorrelationCondition.cc.
void L1GtCorrelationCondition::setGtGTL | ( | const L1GlobalTriggerGTL * | ptrGTL | ) |
Definition at line 158 of file L1GtCorrelationCondition.cc.
void L1GtCorrelationCondition::setGtNrBinsPhi | ( | const unsigned int | nrBins | ) |
Definition at line 143 of file L1GtCorrelationCondition.cc.
void L1GtCorrelationCondition::setGtPSB | ( | const L1GlobalTriggerPSB * | ptrPSB | ) |
Definition at line 165 of file L1GtCorrelationCondition.cc.
|
private |
Definition at line 115 of file L1GtCorrelationCondition.h.
|
private |
Definition at line 113 of file L1GtCorrelationCondition.h.
|
private |
Definition at line 116 of file L1GtCorrelationCondition.h.
|
private |
Definition at line 114 of file L1GtCorrelationCondition.h.
|
private |
pointer to first sub-condition
Definition at line 107 of file L1GtCorrelationCondition.h.
|
private |
pointer to second sub-condition
Definition at line 110 of file L1GtCorrelationCondition.h.
|
private |
pointer to a L1GtCorrelationTemplate
Definition at line 104 of file L1GtCorrelationCondition.h.
Referenced by gtCorrelationTemplate().
|
private |
pointer to eta and phi conversion class
Definition at line 128 of file L1GtCorrelationCondition.h.
|
private |
pointer to GTL, to be able to get the trigger objects
Definition at line 122 of file L1GtCorrelationCondition.h.
Referenced by gtGTL().
|
private |
pointer to PSB, to be able to get the trigger objects
Definition at line 125 of file L1GtCorrelationCondition.h.
Referenced by gtPSB().
|
private |
Definition at line 132 of file L1GtCorrelationCondition.h.
|
private |
number of bins for delta phi
Definition at line 119 of file L1GtCorrelationCondition.h.
Referenced by gtNrBinsPhi().