#include <L1GtAnalyzer.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze each event: event loop over various code snippets More... | |
void | analyzeConditionsInEventBlock (const edm::Event &, const edm::EventSetup &) |
to be used in analyze/produce/filter More... | |
void | analyzeConditionsInLumiBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
to be used in beginLuminosityBlock More... | |
void | analyzeConditionsInRunBlock (const edm::Run &, const edm::EventSetup &) |
virtual void | analyzeDecisionReadoutRecord (const edm::Event &, const edm::EventSetup &) |
void | analyzeL1GtTriggerMenuLite (const edm::Event &, const edm::EventSetup &) |
analyze: usage of L1GtTriggerMenuLite More... | |
void | analyzeL1GtUtils (const edm::Event &, const edm::EventSetup &) |
void | analyzeL1GtUtilsCore (const edm::Event &, const edm::EventSetup &) |
analyze: usage of L1GtUtils More... | |
void | analyzeL1GtUtilsEventSetup (const edm::Event &, const edm::EventSetup &) |
void | analyzeL1GtUtilsMenuLite (const edm::Event &, const edm::EventSetup &) |
for tests, use only one of the following methods More... | |
virtual void | analyzeObjectMap (const edm::Event &, const edm::EventSetup &) |
analyze: object map product More... | |
void | analyzeTrigger (const edm::Event &, const edm::EventSetup &) |
full analysis of an algorithm or technical trigger More... | |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endJob () override |
end of job More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
end section More... | |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
void | printOutput (std::ostringstream &) |
print the output stream to the required output, given by m_printOutput More... | |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: test analyzer to illustrate various methods for L1 GT trigger.
Implementation: <TODO: enter implementation details>
Definition at line 47 of file L1GtAnalyzer.h.
|
explicit |
Definition at line 43 of file L1GtAnalyzer.cc.
References LogDebug, m_bitNumber, m_condInEdmInputTag, m_condInEventToken, m_condInLumiToken, m_condInRunToken, m_condName, m_l1GmtInputTag, m_l1GtDaqReadoutRecordInputTag, m_l1GtDaqReadoutRecordToken, m_l1GtObjectMapsInputTag, m_l1GtObjectMapsToken, m_l1GtObjectMapTag, m_l1GtObjectMapToken, m_l1GtRecordInputTag, m_l1GtRecordsInputTagProv, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtTmLToken, m_l1GtUtilsConfiguration, m_l1GtUtilsConfigureBeginRun, and m_nameAlgTechTrig.
|
override |
Definition at line 139 of file L1GtAnalyzer.cc.
|
overrideprivatevirtual |
analyze each event: event loop over various code snippets
Implements edm::one::EDAnalyzerBase.
Definition at line 1434 of file L1GtAnalyzer.cc.
References analyzeConditionsInEventBlock(), analyzeDecisionReadoutRecord(), analyzeL1GtTriggerMenuLite(), analyzeL1GtUtils(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeObjectMap(), analyzeTrigger(), iEvent, m_analyzeConditionsInEventBlockEnable, m_analyzeDecisionReadoutRecordEnable, m_analyzeL1GtUtilsEnable, m_analyzeL1GtUtilsEventSetupEnable, m_analyzeL1GtUtilsMenuLiteEnable, m_analyzeObjectMapEnable, m_analyzeTriggerEnable, and m_l1GtUtilsConfiguration.
|
private |
to be used in analyze/produce/filter
Definition at line 1366 of file L1GtAnalyzer.cc.
References edm::ConditionsInEventBlock::bstMasterStatus, iEvent, edm::HandleBase::isValid(), LogDebug, m_condInEdmInputTag, m_condInEventToken, printOutput(), and edm::ConditionsInEventBlock::turnCountNumber.
Referenced by analyze().
|
private |
to be used in beginLuminosityBlock
Definition at line 1334 of file L1GtAnalyzer.cc.
References edm::LuminosityBlock::getByToken(), edm::HandleBase::isValid(), LogDebug, edm::LuminosityBlockBase::luminosityBlock(), m_condInEdmInputTag, m_condInLumiToken, printOutput(), edm::LuminosityBlockBase::run(), edm::ConditionsInLumiBlock::totalIntensityBeam1, and edm::ConditionsInLumiBlock::totalIntensityBeam2.
Referenced by beginLuminosityBlock().
|
private |
analyze: usage of ConditionsInEdm
to be used in beginRun
Definition at line 1302 of file L1GtAnalyzer.cc.
References edm::ConditionsInRunBlock::beamMode, edm::ConditionsInRunBlock::beamMomentum, edm::Run::getByToken(), edm::HandleBase::isValid(), edm::ConditionsInRunBlock::lhcFillNumber, LogDebug, m_condInEdmInputTag, m_condInRunToken, printOutput(), and edm::RunBase::run().
Referenced by beginRun().
|
privatevirtual |
analyze: decision and decision word bunch cross in event BxInEvent = 0 - L1Accept event
Definition at line 223 of file L1GtAnalyzer.cc.
References L1GlobalTriggerReadoutRecord::decision(), L1GlobalTriggerReadoutRecord::decisionWord(), iEvent, edm::HandleBase::isValid(), LogDebug, m_l1GtDaqReadoutRecordInputTag, m_l1GtDaqReadoutRecordToken, L1GlobalTriggerReadoutRecord::printGtDecision(), printOutput(), and L1GlobalTriggerReadoutRecord::printTechnicalTrigger().
Referenced by analyze().
|
private |
analyze: usage of L1GtTriggerMenuLite
Definition at line 1140 of file L1GtAnalyzer.cc.
References L1TBPTX_cfi::bitNumber, edm::Run::getByToken(), iEvent, edm::HandleBase::isValid(), LogDebug, m_bitNumber, m_l1GtTmLInputTag, m_l1GtTmLToken, m_nameAlgTechTrig, printOutput(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 843 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), iEvent, LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
analyze: usage of L1GtUtils
Definition at line 259 of file L1GtAnalyzer.cc.
References L1GtUtils::AlgorithmTrigger, L1GtUtils::availableL1Configuration(), L1GtUtils::decision(), L1GtUtils::decisionAfterMask(), L1GtUtils::decisionBeforeMask(), L1GtUtils::LogicalExpressionL1Results::decisionsAfterMask(), L1GtUtils::LogicalExpressionL1Results::decisionsBeforeMask(), L1GtUtils::LogicalExpressionL1Results::errorCodes(), L1GtUtils::LogicalExpressionL1Results::expL1Triggers(), dqmdumpme::first, iEvent, L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), m_l1GtDaqReadoutRecordInputTag, m_l1GtRecordInputTag, m_l1GtUtils, m_l1GtUtilsLogicalExpression, m_l1GtUtilsProv, m_logicalExpressionL1Results, m_logicalExpressionL1ResultsProv, m_nameAlgTechTrig, L1GtUtils::prescaleFactor(), L1GtUtils::LogicalExpressionL1Results::prescaleFactors(), L1GtUtils::prescaleFactorSet(), L1GtUtils::prescaleFactorSetIndex(), printOutput(), edm::second(), L1GtUtils::TechnicalTrigger, L1GtUtils::triggerMask(), L1GtUtils::LogicalExpressionL1Results::triggerMasks(), and L1GtUtils::triggerMaskSet().
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsEventSetup(), and analyzeL1GtUtilsMenuLite().
|
private |
Definition at line 825 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), iEvent, LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
for tests, use only one of the following methods
Definition at line 807 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), iEvent, LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
privatevirtual |
analyze: object map product
Definition at line 1090 of file L1GtAnalyzer.cc.
References bookConverter::comb, L1GlobalTriggerObjectMapRecord::getCombinationsInCond(), L1GlobalTriggerObjectMapRecord::getConditionResult(), L1GlobalTriggerObjectMapRecord::gtObjectMap(), iEvent, edm::HandleBase::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, m_condName, m_l1GtObjectMapTag, m_l1GtObjectMapToken, m_nameAlgTechTrig, printOutput(), and mps_fire::result.
Referenced by analyze().
|
private |
full analysis of an algorithm or technical trigger
Definition at line 861 of file L1GtAnalyzer.cc.
References L1GtUtils::availableL1Configuration(), L1GtUtils::decision(), L1GtUtils::decisionAfterMask(), L1GtUtils::decisionBeforeMask(), L1GtUtils::getL1GtRunCache(), iEvent, edm::HandleBase::isValid(), L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), LogDebug, LogTrace, m_l1GtObjectMapsInputTag, m_l1GtObjectMapsToken, m_l1GtObjectMapTag, m_l1GtObjectMapToken, m_l1GtRecordsInputTagProv, m_l1GtUtils, m_l1GtUtilsConfiguration, m_l1GtUtilsProv, m_nameAlgTechTrig, m_retrieveL1Extra, L1GtUtils::prescaleFactor(), L1RetrieveL1Extra::printL1Extra(), printOutput(), L1RetrieveL1Extra::retrieveL1ExtraObjects(), convertSQLiteXML::runNumber, L1GtUtils::triggerMask(), useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 144 of file L1GtAnalyzer.cc.
|
overrideprivate |
Definition at line 213 of file L1GtAnalyzer.cc.
References analyzeConditionsInLumiBlock(), and m_analyzeConditionsInLumiBlockEnable.
|
overrideprivate |
Definition at line 148 of file L1GtAnalyzer.cc.
References analyzeConditionsInRunBlock(), L1GtUtils::getL1GtRunCache(), L1GtUtils::LogicalExpressionL1Results::isValid(), L1GtUtils::LogicalExpressionL1Results::logicalExpressionRunUpdate(), m_analyzeConditionsInRunBlockEnable, m_l1GtUtils, m_l1GtUtilsConfiguration, m_l1GtUtilsConfigureBeginRun, m_l1GtUtilsLogicalExpression, m_l1GtUtilsProv, m_logicalExpressionL1Results, m_logicalExpressionL1ResultsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
|
overrideprivatevirtual |
end of job
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 1508 of file L1GtAnalyzer.cc.
|
overrideprivate |
|
overrideprivate |
Definition at line 1503 of file L1GtAnalyzer.cc.
|
private |
print the output stream to the required output, given by m_printOutput
Definition at line 1395 of file L1GtAnalyzer.cc.
References gather_cfg::cout, LogTrace, and m_printOutput.
Referenced by analyzeConditionsInEventBlock(), analyzeConditionsInLumiBlock(), analyzeConditionsInRunBlock(), analyzeDecisionReadoutRecord(), analyzeL1GtTriggerMenuLite(), analyzeL1GtUtilsCore(), analyzeObjectMap(), and analyzeTrigger().
|
private |
Definition at line 120 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 119 of file L1GtAnalyzer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 118 of file L1GtAnalyzer.h.
Referenced by beginRun().
|
private |
enable / disable various analysis methods
Definition at line 107 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 116 of file L1GtAnalyzer.h.
|
private |
Definition at line 111 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 110 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 109 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 114 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 112 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
a bit number to retrieve the name and the alias
Definition at line 158 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
input tag for ConditionInEdm products
Definition at line 146 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInEventBlock(), analyzeConditionsInLumiBlock(), analyzeConditionsInRunBlock(), and L1GtAnalyzer().
|
private |
Definition at line 149 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInEventBlock(), and L1GtAnalyzer().
|
private |
Definition at line 148 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInLumiBlock(), and L1GtAnalyzer().
|
private |
Definition at line 147 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInRunBlock(), and L1GtAnalyzer().
|
private |
a condition in the algorithm trigger to test the object maps
Definition at line 155 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), and L1GtAnalyzer().
|
private |
input tag for muon collection from GMT
Definition at line 139 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
input tags for GT DAQ product
Definition at line 124 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), analyzeL1GtUtilsCore(), and L1GtAnalyzer().
|
private |
Definition at line 125 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition at line 135 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
Definition at line 136 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition at line 131 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
Definition at line 132 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT lite product
Definition at line 128 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and L1GtAnalyzer().
|
private |
if true, use methods in L1GtUtils with the given input tags for L1GlobalTriggerReadoutRecord and / or L1GlobalTriggerRecord from provenance
Definition at line 169 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tag for L1GtTriggerMenuLite
Definition at line 142 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
if true, use methods in L1GtUtils with the input tag for L1GtTriggerMenuLite from provenance
Definition at line 165 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
Definition at line 143 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
Definition at line 180 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
L1 configuration code for L1GtUtils.
Definition at line 161 of file L1GtAnalyzer.h.
Referenced by analyze(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition at line 172 of file L1GtAnalyzer.h.
Referenced by beginRun(), and L1GtAnalyzer().
|
private |
expression to test the L1GtUtils methods to retrieve L1 trigger decisions, prescale factors and masks for logical expressions
Definition at line 176 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 179 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
Definition at line 182 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 181 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
an algorithm trigger (name or alias) or a technical trigger name
Definition at line 152 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), analyzeL1GtUtilsCore(), analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
|
private |
Definition at line 101 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().