#include <L1GtCorrelationCondition.h>
Public Member Functions | |
const bool | evaluateCondition () const override |
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 override |
print condition More... | |
void | setGtCorrelationTemplate (const L1GtCorrelationTemplate *) |
void | setGtGTL (const L1GlobalTriggerGTL *) |
void | setGtNrBinsPhi (const unsigned int) |
void | setGtPSB (const L1GlobalTriggerPSB *) |
~L1GtCorrelationCondition () override | |
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... | |
const CombinationsInCond & | 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 64 of file L1GtCorrelationCondition.cc.
References L1GtConditionEvaluation::m_condMaxNumberObjects, and m_nrBinsPhi.
L1GtCorrelationCondition::L1GtCorrelationCondition | ( | const L1GtCorrelationCondition & | cp | ) |
Definition at line 118 of file L1GtCorrelationCondition.cc.
References copy().
|
override |
Definition at line 123 of file L1GtCorrelationCondition.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 91 of file L1GtCorrelationCondition.cc.
References L1GtConditionEvaluation::m_combinationsInCond, m_cond0EtaBits, m_cond0NrL1Objects, m_cond1EtaBits, m_cond1NrL1Objects, L1GtConditionEvaluation::m_condLastResult, L1GtConditionEvaluation::m_condMaxNumberObjects, m_gtCond0, m_gtCond1, m_gtCorrelationTemplate, m_gtEtaPhiConversions, m_gtGTL, m_gtPSB, m_isDebugEnabled, m_nrBinsPhi, and L1GtConditionEvaluation::m_verbosity.
Referenced by L1GtCorrelationCondition(), and operator=().
|
overridevirtual |
the core function to check if the condition matches
Implements L1GtConditionEvaluation.
Definition at line 149 of file L1GtCorrelationCondition.cc.
References CenJet, L1GtConditionEvaluation::checkBit(), clear(), L1GtConditionEvaluation::combinationsInCond(), L1GtCorrelationTemplate::cond0Category(), L1GtCorrelationTemplate::cond1Category(), CondCalo, CondEnergySum, L1GtConditionEvaluation::condLastResult(), CondMuon, L1GtEtaPhiConversions::convertEtaIndex(), L1GtEtaPhiConversions::convertPhiIndex(), L1GtCorrelationTemplate::correlationParameter(), L1GtCorrelationTemplate::CorrelationParameter::deltaEtaRange, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiRange, ETM, L1GtConditionEvaluation::evaluateConditionStoreResult(), ForJet, L1GlobalTriggerPSB::getCandL1CenJet(), L1GlobalTriggerPSB::getCandL1ETM(), L1GlobalTriggerPSB::getCandL1ForJet(), L1GlobalTriggerPSB::getCandL1HTM(), L1GlobalTriggerPSB::getCandL1IsoEG(), L1GlobalTriggerGTL::getCandL1Mu(), L1GlobalTriggerPSB::getCandL1NoIsoEG(), L1GlobalTriggerPSB::getCandL1TauJet(), L1GtConditionEvaluation::getCombinationsInCond(), L1GtEtaPhiConversions::gtObjectNrBinsPhi(), L1GtEtaPhiConversions::gtObjectPairIndex(), hexStringToInt64(), HTM, IsoEG, l1GtObjectEnumToString(), LogTrace, m_cond0EtaBits, m_cond0NrL1Objects, m_cond1EtaBits, m_cond1NrL1Objects, m_gtCond0, m_gtCond1, m_gtCorrelationTemplate, m_gtEtaPhiConversions, m_gtGTL, m_gtPSB, m_isDebugEnabled, L1GtConditionEvaluation::m_verbosity, Mu, NoIsoEG, L1GtCondition::objectType(), L1GctEtMiss::phi(), L1GctHtMiss::phi(), L1GtEnergySumCondition::print(), L1GtMuonCondition::print(), L1GtCaloCondition::print(), findQualityFiles::size, and TauJet.
|
inline |
get / set the pointer to a L1GtCondition
Definition at line 75 of file L1GtCorrelationCondition.h.
References m_gtCorrelationTemplate.
|
inline |
get / set the pointer to GTL
Definition at line 80 of file L1GtCorrelationCondition.h.
References m_gtGTL.
|
inline |
get / set the number of phi bins
Definition at line 70 of file L1GtCorrelationCondition.h.
References m_nrBinsPhi.
|
inline |
get / set the pointer to PSB
Definition at line 85 of file L1GtCorrelationCondition.h.
References m_gtPSB.
L1GtCorrelationCondition & L1GtCorrelationCondition::operator= | ( | const L1GtCorrelationCondition & | cp | ) |
Definition at line 128 of file L1GtCorrelationCondition.cc.
References copy().
|
overridevirtual |
print condition
Reimplemented from L1GtConditionEvaluation.
Definition at line 769 of file L1GtCorrelationCondition.cc.
References m_gtCorrelationTemplate, L1GtConditionEvaluation::print(), and L1GtCorrelationTemplate::print().
Referenced by L1GlobalTriggerGTL::run().
void L1GtCorrelationCondition::setGtCorrelationTemplate | ( | const L1GtCorrelationTemplate * | corrTempl | ) |
Definition at line 138 of file L1GtCorrelationCondition.cc.
References m_gtCorrelationTemplate.
void L1GtCorrelationCondition::setGtGTL | ( | const L1GlobalTriggerGTL * | ptrGTL | ) |
void L1GtCorrelationCondition::setGtNrBinsPhi | ( | const unsigned int | nrBins | ) |
void L1GtCorrelationCondition::setGtPSB | ( | const L1GlobalTriggerPSB * | ptrPSB | ) |
|
private |
Definition at line 106 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
Definition at line 104 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
Definition at line 107 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
Definition at line 105 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
pointer to first sub-condition
Definition at line 98 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
pointer to second sub-condition
Definition at line 101 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
pointer to a L1GtCorrelationTemplate
Definition at line 95 of file L1GtCorrelationCondition.h.
Referenced by copy(), evaluateCondition(), gtCorrelationTemplate(), print(), and setGtCorrelationTemplate().
|
private |
pointer to eta and phi conversion class
Definition at line 119 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
pointer to GTL, to be able to get the trigger objects
Definition at line 113 of file L1GtCorrelationCondition.h.
Referenced by copy(), evaluateCondition(), gtGTL(), and setGtGTL().
|
private |
pointer to PSB, to be able to get the trigger objects
Definition at line 116 of file L1GtCorrelationCondition.h.
Referenced by copy(), evaluateCondition(), gtPSB(), and setGtPSB().
|
private |
Definition at line 122 of file L1GtCorrelationCondition.h.
Referenced by copy(), and evaluateCondition().
|
private |
number of bins for delta phi
Definition at line 110 of file L1GtCorrelationCondition.h.
Referenced by copy(), gtNrBinsPhi(), L1GtCorrelationCondition(), and setGtNrBinsPhi().