#include <AXOL1TLCondition.h>
Public Member Functions | |
AXOL1TLCondition () | |
AXOL1TLCondition (const GlobalCondition *, const GlobalBoard *) | |
from base template condition (from event setup usually) More... | |
AXOL1TLCondition (const AXOL1TLCondition &) | |
const bool | evaluateCondition (const int bxEval) const override |
the core function to check if the condition matches More... | |
float | getScore () const |
const AXOL1TLTemplate * | gtAXOL1TLTemplate () const |
get / set the pointer to a Condition More... | |
const GlobalBoard * | gtGTB () const |
get / set the pointer to GTL More... | |
AXOL1TLCondition & | operator= (const AXOL1TLCondition &) |
void | print (std::ostream &myCout) const override |
print condition More... | |
void | setGtAXOL1TLTemplate (const AXOL1TLTemplate *) |
void | setScore (const float scoreval) const |
get/set score value More... | |
void | setuGtB (const GlobalBoard *) |
set the pointer to uGT GlobalBoard More... | |
~AXOL1TLCondition () 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 AXOL1TLCondition &cp) |
copy function for copy constructor and operator= More... | |
Private Attributes | |
const AXOL1TLTemplate * | m_gtAXOL1TLTemplate |
pointer to a AXOL1TLTemplate More... | |
const GlobalBoard * | m_gtGTB |
pointer to uGt GlobalBoard, to be able to get the trigger objects More... | |
float | m_savedscore |
axo score for possible score saving 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 , 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 29 of file AXOL1TLCondition.h.
AXOL1TLCondition::AXOL1TLCondition | ( | ) |
constructors default
Definition at line 47 of file AXOL1TLCondition.cc.
AXOL1TLCondition::AXOL1TLCondition | ( | const GlobalCondition * | axol1tlTemplate, |
const GlobalBoard * | ptrGTB | ||
) |
from base template condition (from event setup usually)
Definition at line 52 of file AXOL1TLCondition.cc.
AXOL1TLCondition::AXOL1TLCondition | ( | const AXOL1TLCondition & | cp | ) |
Definition at line 69 of file AXOL1TLCondition.cc.
References copy().
|
override |
Definition at line 72 of file AXOL1TLCondition.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 58 of file AXOL1TLCondition.cc.
Referenced by AXOL1TLCondition().
|
overridevirtual |
the core function to check if the condition matches
Implements l1t::ConditionEvaluation.
Definition at line 91 of file AXOL1TLCondition.cc.
References BXVector< T >::at(), MillePedeFileConverter_cfg::e, Exception, ntuplemaker::fill, l1trig_cff::hwEta, l1trig_cff::hwPhi, l1trig_cff::hwPt, L1Analysis::kMissingEt, web.browse_db::loader, AXOL1TLTemplate::ObjectParameter::minAXOL1TLThreshold, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, mps_fire::result, offlineSlimmedPrimaryVertices_cfi::score, BXVector< T >::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 65 of file AXOL1TLCondition.h.
References m_savedscore.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
get / set the pointer to a Condition
Definition at line 53 of file AXOL1TLCondition.h.
References m_gtAXOL1TLTemplate.
|
inline |
get / set the pointer to GTL
Definition at line 58 of file AXOL1TLCondition.h.
References m_gtGTB.
l1t::AXOL1TLCondition & AXOL1TLCondition::operator= | ( | const AXOL1TLCondition & | cp | ) |
Definition at line 77 of file AXOL1TLCondition.cc.
References filterCSVwithJSON::copy.
|
overridevirtual |
print condition
Reimplemented from l1t::ConditionEvaluation.
Definition at line 267 of file AXOL1TLCondition.cc.
References l1t::ConditionEvaluation::print().
Referenced by l1t::GlobalBoard::runGTL().
void AXOL1TLCondition::setGtAXOL1TLTemplate | ( | const AXOL1TLTemplate * | caloTempl | ) |
Definition at line 83 of file AXOL1TLCondition.cc.
void AXOL1TLCondition::setScore | ( | const float | scoreval | ) | const |
get/set score value
set score for score saving
Definition at line 89 of file AXOL1TLCondition.cc.
void AXOL1TLCondition::setuGtB | ( | const GlobalBoard * | ptrGTB | ) |
set the pointer to uGT GlobalBoard
Definition at line 86 of file AXOL1TLCondition.cc.
|
private |
pointer to a AXOL1TLTemplate
Definition at line 72 of file AXOL1TLCondition.h.
Referenced by gtAXOL1TLTemplate().
|
private |
pointer to uGt GlobalBoard, to be able to get the trigger objects
Definition at line 75 of file AXOL1TLCondition.h.
Referenced by gtGTB().
|
mutableprivate |
axo score for possible score saving
Definition at line 78 of file AXOL1TLCondition.h.
Referenced by getScore().