#include <CICADACondition.h>
Public Member Functions | |
CICADACondition () | |
CICADACondition (const GlobalCondition *, const GlobalBoard *) | |
CICADACondition (const CICADACondition &) | |
const bool | evaluateCondition (const int bxEval) const override |
the core function to check if the condition matches More... | |
const GlobalBoard * | getuGtB () const |
const CICADATemplate * | gtCICADATemplate () const |
CICADACondition & | operator= (const CICADACondition &) |
void | print (std::ostream &myCout) const override |
print condition More... | |
void | setGtCICADATemplate (const CICADATemplate *cicadaTemplate) |
void | setuGtB (const GlobalBoard *ptrGTB) |
~CICADACondition () override=default | |
Public Member Functions inherited from l1t::ConditionEvaluation | |
ConditionEvaluation () | |
constructor More... | |
bool | condLastResult () const |
get the latest result for the condition More... | |
int | condMaxNumberObjects () const |
void | evaluateConditionStoreResult (const int bxEval) |
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... | |
void | setCondMaxNumberObjects (int condMaxNumberObjectsValue) |
void | setVerbosity (const int verbosity) |
virtual | ~ConditionEvaluation () |
destructor More... | |
Private Member Functions | |
void | copy (const CICADACondition &cp) |
Private Attributes | |
const CICADATemplate * | m_gtCICADATemplate |
const GlobalBoard * | m_uGtB |
Additional Inherited Members | |
Protected Member Functions inherited from l1t::ConditionEvaluation | |
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 | checkCut (const Type1 &cutL, const Type2 &value, bool condGEqValue) const |
template<class Type1 > | |
const bool | checkIndex (const Type1 &indexLo, const Type1 &indexHi, const unsigned int index) const |
check if a index is in a given range More... | |
template<class Type1 > | |
const bool | checkRangeDeltaEta (const unsigned int obj1Eta, const unsigned int obj2Eta, const Type1 &lowerR, const Type1 &upperR, const unsigned int nEtaBits) const |
check if a value is in a given deltaEta range More... | |
template<class Type1 > | |
const bool | checkRangeDeltaPhi (const unsigned int obj1Phi, const unsigned int obj2Phi, const Type1 &lowerR, const Type1 &upperR) const |
check if a value is in a given deltaPhi range More... | |
template<class Type1 > | |
const bool | checkRangeEta (const unsigned int bitNumber, const std::vector< Type1 > &windows, const unsigned int nEtaBits) const |
template<class Type1 > | |
const bool | checkRangePhi (const unsigned int bitNumber, const Type1 &W1beginR, const Type1 &W1endR, const Type1 &W2beginR, const Type1 &W2endR) const |
check if a value is in a given phi range and outside of a veto range More... | |
template<class Type1 > | |
const bool | checkRangeTfMuonIndex (const unsigned int bitNumber, const std::vector< Type1 > &windows) const |
check if a value is in a given muon track finder index range More... | |
template<class Type1 , class Type2 > | |
const bool | checkThreshold (const Type1 &thresholdL, const Type1 &thresholdH, const Type2 &value, bool condGEqValue) const |
template<class Type1 , class Type2 > | |
const bool | checkUnconstrainedPt (const Type1 &thresholdL, const Type1 &thresholdH, const Type2 &value, bool condGEqValue) const |
CombinationsInCond & | combinationsInCond () const |
get all the object combinations (to fill it...) More... | |
Protected Attributes inherited from l1t::ConditionEvaluation | |
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... | |
Definition at line 15 of file CICADACondition.h.
l1t::CICADACondition::CICADACondition | ( | ) |
Definition at line 17 of file CICADACondition.cc.
l1t::CICADACondition::CICADACondition | ( | const GlobalCondition * | cicadaTemplate, |
const GlobalBoard * | ptrGTB | ||
) |
Definition at line 19 of file CICADACondition.cc.
References l1t::ConditionEvaluation::m_condMaxNumberObjects.
l1t::CICADACondition::CICADACondition | ( | const CICADACondition & | cp | ) |
Definition at line 35 of file CICADACondition.cc.
References copy().
|
overridedefault |
|
private |
Definition at line 24 of file CICADACondition.cc.
Referenced by CICADACondition().
|
overridevirtual |
the core function to check if the condition matches
Implements l1t::ConditionEvaluation.
Definition at line 42 of file CICADACondition.cc.
References CICADATemplate::ObjectParameter::minCICADAThreshold.
|
inline |
|
inline |
Definition at line 28 of file CICADACondition.h.
References m_gtCICADATemplate.
l1t::CICADACondition & l1t::CICADACondition::operator= | ( | const CICADACondition & | cp | ) |
Definition at line 37 of file CICADACondition.cc.
References filterCSVwithJSON::copy.
|
overridevirtual |
print condition
Reimplemented from l1t::ConditionEvaluation.
Definition at line 61 of file CICADACondition.cc.
References l1t::ConditionEvaluation::print().
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
Definition at line 30 of file CICADACondition.h.
References m_gtCICADATemplate.
|
inline |
|
private |
Definition at line 39 of file CICADACondition.h.
Referenced by gtCICADATemplate(), and setGtCICADATemplate().
|
private |
Definition at line 41 of file CICADACondition.h.