#include <L1GtUtils.h>
Public Member Functions | |
const std::vector< std::pair < std::string, bool > > & | decisionsAfterMask () |
const std::vector< std::pair < std::string, bool > > & | decisionsBeforeMask () |
const std::vector< std::pair < std::string, int > > & | errorCodes (const edm::Event &) |
const std::vector < L1GtLogicParser::OperandToken > & | expL1Triggers () |
list of triggers in the logical expression, trigger decisions, prescale factors and masks, error codes More... | |
bool | isValid () |
return true if the logical expression is syntactically correct More... | |
LogicalExpressionL1Results (const std::string &, L1GtUtils &) | |
constructor(s) More... | |
LogicalExpressionL1Results (const std::string &, L1GtUtils &, const edm::InputTag &, const edm::InputTag &) | |
const int | logicalExpressionRunUpdate (const edm::Run &, const edm::EventSetup &, const std::string &) |
const int | logicalExpressionRunUpdate (const edm::Run &, const edm::EventSetup &) |
keep the logical expression given in the previous run More... | |
const std::vector< std::pair < std::string, int > > & | prescaleFactors () |
const std::vector< std::pair < std::string, int > > & | triggerMasks () |
~LogicalExpressionL1Results () | |
destructor More... | |
Private Member Functions | |
bool | initialize () |
void | l1Results (const edm::Event &iEvent, const edm::InputTag &l1GtRecordInputTag, const edm::InputTag &l1GtReadoutRecordInputTag) |
void | reset (const std::vector< std::pair< std::string, bool > > &) const |
reset for each L1 trigger the value from pair.second More... | |
void | reset (const std::vector< std::pair< std::string, int > > &) const |
Private Attributes | |
std::vector< std::pair < std::string, bool > > | m_decisionsAfterMask |
std::vector< std::pair < std::string, bool > > | m_decisionsBeforeMask |
std::vector< std::pair < std::string, int > > | m_errorCodes |
bool | m_expBitsTechTrigger |
flag true, if the logical expression is built from technical trigger bits More... | |
std::vector < L1GtLogicParser::OperandToken > | m_expL1Triggers |
size_t | m_expL1TriggersSize |
std::vector < L1GtUtils::TriggerCategory > | m_expTriggerCategory |
trigger category for each L1 trigger in the logical expression More... | |
std::vector< bool > | m_expTriggerInMenu |
int | m_l1ConfCode |
code for L1 trigger configuration More... | |
bool | m_l1GtInputTagsFromProv |
edm::InputTag | m_l1GtReadoutRecordInputTag |
edm::InputTag | m_l1GtRecordInputTag |
L1GtUtils & | m_l1GtUtils |
bool | m_l1ResultsAlreadyCalled |
set to true if the method l1Results was called once More... | |
std::string | m_logicalExpression |
private members as input parameters More... | |
std::vector< std::pair < std::string, int > > | m_prescaleFactors |
std::vector< std::pair < std::string, int > > | m_triggerMasks |
bool | m_validL1Configuration |
true if valid L1 configuration - if not, reset all quantities and return More... | |
bool | m_validLogicalExpression |
true if the logical expression uses accepted L1GtLogicParser operators More... | |
Definition at line 77 of file L1GtUtils.h.
|
explicit |
constructor(s)
trigger decisions, prescale factors and masks from GT record(s) with input tag(s) from provenance
Definition at line 2543 of file L1GtUtils.cc.
References initialize().
|
explicit |
trigger decisions, prescale factors and masks from GT record(s) with input tag(s) explicitly given
Definition at line 2571 of file L1GtUtils.cc.
References initialize().
L1GtUtils::LogicalExpressionL1Results::~LogicalExpressionL1Results | ( | ) |
const std::vector< std::pair< std::string, bool > > & L1GtUtils::LogicalExpressionL1Results::decisionsAfterMask | ( | ) |
Definition at line 2831 of file L1GtUtils.cc.
References Exception.
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore().
const std::vector< std::pair< std::string, bool > > & L1GtUtils::LogicalExpressionL1Results::decisionsBeforeMask | ( | ) |
Definition at line 2818 of file L1GtUtils.cc.
References Exception.
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore().
const std::vector< std::pair< std::string, int > > & L1GtUtils::LogicalExpressionL1Results::errorCodes | ( | const edm::Event & | iEvent | ) |
Definition at line 2870 of file L1GtUtils.cc.
References L1GtUtils::l1Results(), and reset().
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore(), and HLTConfigProvider::prescaleValuesInDetail().
|
inline |
list of triggers in the logical expression, trigger decisions, prescale factors and masks, error codes
Definition at line 112 of file L1GtUtils.h.
References m_expL1Triggers.
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore().
|
private |
parse the logical expression, initialize the private members to required size such that one can just reset them
Definition at line 2608 of file L1GtUtils.cc.
References L1GtUtils::AlgorithmTrigger, cms::Exception::explainSelf(), cmsPerfPublish::fail(), plotBeamSpotDB::first, LogDebug, LogTrace, L1GtLogicParser::operandTokenVector(), edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::Exception::what().
Referenced by LogicalExpressionL1Results().
|
inline |
return true if the logical expression is syntactically correct
Definition at line 97 of file L1GtUtils.h.
References m_validLogicalExpression.
Referenced by L1GtAnalyzer::beginRun(), HLTConfigProvider::prescaleValuesInDetail(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
private |
Definition at line 2920 of file L1GtUtils.cc.
References LogDebug, LogTrace, reset(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
const int L1GtUtils::LogicalExpressionL1Results::logicalExpressionRunUpdate | ( | const edm::Run & | iRun, |
const edm::EventSetup & | evSetup, | ||
const std::string & | logicExpression | ||
) |
update quantities related to the logical expression at the beginning of the run new logical expression, replacing the logical expression given the in previous run
Definition at line 2701 of file L1GtUtils.cc.
References initialize().
Referenced by L1GtAnalyzer::beginRun(), and HLTConfigProvider::prescaleValuesInDetail().
const int L1GtUtils::LogicalExpressionL1Results::logicalExpressionRunUpdate | ( | const edm::Run & | iRun, |
const edm::EventSetup & | evSetup | ||
) |
keep the logical expression given in the previous run
Definition at line 2739 of file L1GtUtils.cc.
References L1GtUtils::AlgorithmTrigger, plotBeamSpotDB::first, AlCaHLTBitMon_QueryRunRegistry::string, and L1GtUtils::TechnicalTrigger.
const std::vector< std::pair< std::string, int > > & L1GtUtils::LogicalExpressionL1Results::prescaleFactors | ( | ) |
Definition at line 2844 of file L1GtUtils.cc.
References Exception.
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore(), and HLTConfigProvider::prescaleValuesInDetail().
|
private |
reset for each L1 trigger the value from pair.second
Definition at line 2904 of file L1GtUtils.cc.
References edm::second().
|
private |
Definition at line 2912 of file L1GtUtils.cc.
References edm::second().
const std::vector< std::pair< std::string, int > > & L1GtUtils::LogicalExpressionL1Results::triggerMasks | ( | ) |
Definition at line 2857 of file L1GtUtils.cc.
References Exception.
Referenced by L1GtAnalyzer::analyzeL1GtUtilsCore().
|
private |
Definition at line 185 of file L1GtUtils.h.
|
private |
Definition at line 184 of file L1GtUtils.h.
|
private |
Definition at line 188 of file L1GtUtils.h.
|
private |
flag true, if the logical expression is built from technical trigger bits
Definition at line 177 of file L1GtUtils.h.
|
private |
Definition at line 170 of file L1GtUtils.h.
Referenced by expL1Triggers().
|
private |
Definition at line 171 of file L1GtUtils.h.
|
private |
trigger category for each L1 trigger in the logical expression
Definition at line 174 of file L1GtUtils.h.
|
private |
for each L1 trigger in the logical expression, true if the trigger is found in the current L1 menu
Definition at line 181 of file L1GtUtils.h.
|
private |
code for L1 trigger configuration
Definition at line 155 of file L1GtUtils.h.
|
private |
true if input tags for GT records are to be found from provenance (if both input tags from constructors are empty)
Definition at line 165 of file L1GtUtils.h.
|
private |
Definition at line 148 of file L1GtUtils.h.
|
private |
Definition at line 147 of file L1GtUtils.h.
|
private |
Definition at line 145 of file L1GtUtils.h.
|
private |
set to true if the method l1Results was called once
Definition at line 168 of file L1GtUtils.h.
|
private |
|
private |
Definition at line 186 of file L1GtUtils.h.
|
private |
Definition at line 187 of file L1GtUtils.h.
|
private |
true if valid L1 configuration - if not, reset all quantities and return
Definition at line 158 of file L1GtUtils.h.
|
private |
true if the logical expression uses accepted L1GtLogicParser operators
Definition at line 161 of file L1GtUtils.h.
Referenced by isValid().