#include <EnergySumZdcCondition.h>
Public Member Functions | |
EnergySumZdcCondition () | |
EnergySumZdcCondition (const GlobalCondition *, const GlobalBoard *) | |
from base template condition (from event setup usually) More... | |
EnergySumZdcCondition (const EnergySumZdcCondition &) | |
const bool | evaluateCondition (const int bxEval) const override |
the core function to check if the condition matches More... | |
const GlobalBoard * | getuGtB () const |
get / set the pointer to uGt GlobalBoard More... | |
const EnergySumZdcTemplate * | gtEnergySumZdcTemplate () const |
get / set the pointer to a L1GtCondition More... | |
EnergySumZdcCondition & | operator= (const EnergySumZdcCondition &) |
void | print (std::ostream &myCout) const override |
print condition More... | |
void | setGtEnergySumZdcTemplate (const EnergySumZdcTemplate *) |
void | setuGtB (const GlobalBoard *) |
~EnergySumZdcCondition () override | |
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 EnergySumZdcCondition &cp) |
copy function for copy constructor and operator= More... | |
Private Attributes | |
const EnergySumZdcTemplate * | m_gtEnergySumZdcTemplate |
pointer to a EnergySumZdcTemplate More... | |
const GlobalBoard * | m_uGtB |
pointer to uGt GlobalBoard, to be able to get the trigger objects More... | |
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 > | |
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 37 of file EnergySumZdcCondition.h.
EnergySumZdcCondition::EnergySumZdcCondition | ( | ) |
constructors default
Definition at line 38 of file EnergySumZdcCondition.cc.
EnergySumZdcCondition::EnergySumZdcCondition | ( | const GlobalCondition * | eSumTemplate, |
const GlobalBoard * | ptrGTB | ||
) |
from base template condition (from event setup usually)
Definition at line 43 of file EnergySumZdcCondition.cc.
References l1t::ConditionEvaluation::m_condMaxNumberObjects.
EnergySumZdcCondition::EnergySumZdcCondition | ( | const EnergySumZdcCondition & | cp | ) |
Definition at line 67 of file EnergySumZdcCondition.cc.
References copy().
|
overridedefault |
|
private |
copy function for copy constructor and operator=
Definition at line 56 of file EnergySumZdcCondition.cc.
Referenced by EnergySumZdcCondition().
|
overridevirtual |
the core function to check if the condition matches
Implements l1t::ConditionEvaluation.
Definition at line 89 of file EnergySumZdcCondition.cc.
References BXVector< T >::at(), l1ct::clear(), EnergySumZdcTemplate::ObjectParameter::etHighThreshold, EnergySumZdcTemplate::ObjectParameter::etLowThreshold, BXVector< T >::getLastBX(), l1t::EtSum::getType(), l1t::gtZDCM, l1t::gtZDCP, l1t::L1Candidate::hwPt(), L1Analysis::kZDCM, L1Analysis::kZDCP, LogDebug, push_back(), and BXVector< T >::size().
|
inline |
get / set the pointer to uGt GlobalBoard
Definition at line 69 of file EnergySumZdcCondition.h.
References m_uGtB.
|
inline |
get / set the pointer to a L1GtCondition
Definition at line 64 of file EnergySumZdcCondition.h.
References m_gtEnergySumZdcTemplate.
l1t::EnergySumZdcCondition & EnergySumZdcCondition::operator= | ( | const EnergySumZdcCondition & | cp | ) |
Definition at line 75 of file EnergySumZdcCondition.cc.
References filterCSVwithJSON::copy.
|
overridevirtual |
print condition
Reimplemented from l1t::ConditionEvaluation.
Definition at line 196 of file EnergySumZdcCondition.cc.
References l1t::ConditionEvaluation::print().
Referenced by l1t::GlobalBoard::runGTL().
void EnergySumZdcCondition::setGtEnergySumZdcTemplate | ( | const EnergySumZdcTemplate * | eSumTempl | ) |
Definition at line 81 of file EnergySumZdcCondition.cc.
void EnergySumZdcCondition::setuGtB | ( | const GlobalBoard * | ptrGTB | ) |
Definition at line 86 of file EnergySumZdcCondition.cc.
|
private |
pointer to a EnergySumZdcTemplate
Definition at line 79 of file EnergySumZdcCondition.h.
Referenced by gtEnergySumZdcTemplate().
|
private |
pointer to uGt GlobalBoard, to be able to get the trigger objects
Definition at line 82 of file EnergySumZdcCondition.h.
Referenced by getuGtB().