#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Description: test analyzer to illustrate various methods for L1 GT trigger.
Implementation: <TODO: enter implementation details>
Definition at line 48 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 157 of file L1GtAnalyzer.cc.
|
overrideprivate |
analyze each event: event loop over various code snippets
Definition at line 1761 of file L1GtAnalyzer.cc.
References analyzeConditionsInEventBlock(), analyzeDecisionReadoutRecord(), analyzeL1GtTriggerMenuLite(), analyzeL1GtUtils(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeObjectMap(), analyzeTrigger(), 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 1679 of file L1GtAnalyzer.cc.
References edm::ConditionsInEventBlock::bstMasterStatus, edm::EventID::event(), edm::Event::getByToken(), edm::EventBase::id(), edm::HandleBase::isValid(), LogDebug, edm::EventBase::luminosityBlock(), m_condInEdmInputTag, m_condInEventToken, printOutput(), edm::Event::run(), and edm::ConditionsInEventBlock::turnCountNumber.
Referenced by analyze().
|
private |
to be used in beginLuminosityBlock
Definition at line 1638 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 1597 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 264 of file L1GtAnalyzer.cc.
References L1GlobalTriggerReadoutRecord::decision(), L1GlobalTriggerReadoutRecord::decisionWord(), edm::Event::getByToken(), 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 1399 of file L1GtAnalyzer.cc.
References edm::Run::getByToken(), edm::Event::getRun(), edm::HandleBase::isValid(), LogDebug, m_bitNumber, m_l1GtTmLInputTag, m_l1GtTmLToken, m_nameAlgTechTrig, printOutput(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 1045 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
analyze: usage of L1GtUtils
Definition at line 308 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(), plotBeamSpotDB::first, L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), edm::EventBase::luminosityBlock(), 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::Event::run(), edm::second(), L1GtUtils::TechnicalTrigger, L1GtUtils::triggerMask(), L1GtUtils::LogicalExpressionL1Results::triggerMasks(), and L1GtUtils::triggerMaskSet().
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsEventSetup(), and analyzeL1GtUtilsMenuLite().
|
private |
Definition at line 1020 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
for tests, use only one of the following methods
Definition at line 996 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtUtils, m_l1GtUtilsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
privatevirtual |
analyze: object map product
Definition at line 1334 of file L1GtAnalyzer.cc.
References edm::Event::getByToken(), L1GlobalTriggerObjectMapRecord::getCombinationsInCond(), L1GlobalTriggerObjectMapRecord::getConditionResult(), L1GlobalTriggerObjectMapRecord::gtObjectMap(), edm::HandleBase::isValid(), 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 1069 of file L1GtAnalyzer.cc.
References L1GtUtils::availableL1Configuration(), L1GtUtils::decision(), L1GtUtils::decisionAfterMask(), L1GtUtils::decisionBeforeMask(), edm::EventID::event(), edm::Event::getByToken(), L1GtUtils::getL1GtRunCache(), edm::EventBase::id(), edm::HandleBase::isValid(), L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), LogDebug, LogTrace, edm::EventBase::luminosityBlock(), 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(), edm::Event::run(), convertSQLiteXML::runNumber, L1GtUtils::triggerMask(), useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file L1GtAnalyzer.cc.
|
overrideprivate |
Definition at line 250 of file L1GtAnalyzer.cc.
References analyzeConditionsInLumiBlock(), and m_analyzeConditionsInLumiBlockEnable.
|
overrideprivate |
Definition at line 171 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 |
|
overrideprivate |
|
overrideprivate |
Definition at line 1840 of file L1GtAnalyzer.cc.
|
private |
print the output stream to the required output, given by m_printOutput
Definition at line 1714 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 127 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 126 of file L1GtAnalyzer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 125 of file L1GtAnalyzer.h.
Referenced by beginRun().
|
private |
enable / disable various analysis methods
Definition at line 114 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 123 of file L1GtAnalyzer.h.
|
private |
Definition at line 118 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 117 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 116 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 121 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 119 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
a bit number to retrieve the name and the alias
Definition at line 166 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
input tag for ConditionInEdm products
Definition at line 154 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInEventBlock(), analyzeConditionsInLumiBlock(), analyzeConditionsInRunBlock(), and L1GtAnalyzer().
|
private |
Definition at line 157 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInEventBlock(), and L1GtAnalyzer().
|
private |
Definition at line 156 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInLumiBlock(), and L1GtAnalyzer().
|
private |
Definition at line 155 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInRunBlock(), and L1GtAnalyzer().
|
private |
a condition in the algorithm trigger to test the object maps
Definition at line 163 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), and L1GtAnalyzer().
|
private |
input tag for muon collection from GMT
Definition at line 147 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
input tags for GT DAQ product
Definition at line 132 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), analyzeL1GtUtilsCore(), and L1GtAnalyzer().
|
private |
Definition at line 133 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition at line 143 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
Definition at line 144 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition at line 139 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
Definition at line 140 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT lite product
Definition at line 136 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 177 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tag for L1GtTriggerMenuLite
Definition at line 150 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 173 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
Definition at line 151 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
Definition at line 189 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
L1 configuration code for L1GtUtils.
Definition at line 169 of file L1GtAnalyzer.h.
Referenced by analyze(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition at line 180 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 184 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 188 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
Definition at line 191 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 190 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
an algorithm trigger (name or alias) or a technical trigger name
Definition at line 160 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), analyzeL1GtUtilsCore(), analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
|
private |
Definition at line 107 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().