#include <L1GtAnalyzer.h>
Public Member Functions | |
L1GtAnalyzer (const edm::ParameterSet &) | |
~L1GtAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
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... | |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
end of job More... | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
end section More... | |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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>
$Date$ $Revision$
Definition at line 41 of file L1GtAnalyzer.h.
|
explicit |
Definition at line 55 of file L1GtAnalyzer.cc.
References LogDebug, m_bitNumber, m_condName, m_l1GmtInputTag, m_l1GtDaqReadoutRecordInputTag, m_l1GtObjectMapTag, m_l1GtRecordInputTag, m_l1GtRecordsInputTagProv, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtUtilsConfiguration, m_l1GtUtilsConfigureBeginRun, and m_nameAlgTechTrig.
L1GtAnalyzer::~L1GtAnalyzer | ( | ) |
Definition at line 150 of file L1GtAnalyzer.cc.
|
privatevirtual |
analyze each event: event loop over various code snippets
Implements edm::EDAnalyzer.
Definition at line 1797 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 1715 of file L1GtAnalyzer.cc.
References edm::EventID::event(), edm::Event::getByLabel(), edm::EventBase::id(), edm::HandleBase::isValid(), LogDebug, edm::EventBase::luminosityBlock(), m_condInEdmInputTag, printOutput(), and edm::Event::run().
Referenced by analyze().
|
private |
to be used in beginLuminosityBlock
Definition at line 1674 of file L1GtAnalyzer.cc.
References edm::LuminosityBlock::getByLabel(), edm::HandleBase::isValid(), LogDebug, edm::LuminosityBlockBase::luminosityBlock(), m_condInEdmInputTag, printOutput(), and edm::LuminosityBlockBase::run().
Referenced by beginLuminosityBlock().
|
private |
analyze: usage of ConditionsInEdm
to be used in beginRun
Definition at line 1633 of file L1GtAnalyzer.cc.
References edm::Run::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_condInEdmInputTag, 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 263 of file L1GtAnalyzer.cc.
References edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_l1GtDaqReadoutRecordInputTag, and printOutput().
Referenced by analyze().
|
private |
analyze: usage of L1GtTriggerMenuLite
Definition at line 1435 of file L1GtAnalyzer.cc.
References edm::Run::getByLabel(), edm::Event::getRun(), edm::HandleBase::isValid(), LogDebug, m_bitNumber, m_l1GtTmLInputTag, m_nameAlgTechTrig, printOutput(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 1058 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtUtils, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
analyze: usage of L1GtUtils
Definition at line 307 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(), first, L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), edm::EventBase::luminosityBlock(), m_l1GtDaqReadoutRecordInputTag, m_l1GtRecordInputTag, m_l1GtUtils, m_l1GtUtilsLogicalExpression, 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 1036 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtUtils, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
private |
for tests, use only one of the following methods
Definition at line 1004 of file L1GtAnalyzer.cc.
References analyzeL1GtUtilsCore(), L1GtUtils::getL1GtRunCache(), LogDebug, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtUtils, useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
privatevirtual |
analyze: object map product
Definition at line 1370 of file L1GtAnalyzer.cc.
References bookConverter::comb, edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_condName, m_l1GtObjectMapTag, m_nameAlgTechTrig, printOutput(), and query::result.
Referenced by analyze().
|
private |
full analysis of an algorithm or technical trigger
Definition at line 1091 of file L1GtAnalyzer.cc.
References L1GtUtils::availableL1Configuration(), L1GtUtils::decision(), L1GtUtils::decisionAfterMask(), L1GtUtils::decisionBeforeMask(), edm::EventID::event(), edm::Event::getByLabel(), L1GtUtils::getL1GtRunCache(), edm::EventBase::id(), edm::HandleBase::isValid(), L1GtUtils::l1TriggerMenu(), L1GtUtils::l1TriggerMenuImplementation(), LogDebug, LogTrace, edm::EventBase::luminosityBlock(), m_l1GtDaqReadoutRecordInputTag, m_l1GtObjectMapsInputTag, m_l1GtObjectMapTag, m_l1GtRecordInputTag, m_l1GtRecordsInputTagProv, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtUtils, m_l1GtUtilsConfiguration, m_nameAlgTechTrig, m_retrieveL1Extra, L1GtUtils::prescaleFactor(), L1RetrieveL1Extra::printL1Extra(), printOutput(), L1RetrieveL1Extra::retrieveL1ExtraObjects(), edm::Event::run(), convertSQLiteXML::runNumber, L1GtUtils::triggerMask(), useL1EventSetup(), and useL1GtTriggerMenuLite().
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 157 of file L1GtAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 249 of file L1GtAnalyzer.cc.
References analyzeConditionsInLumiBlock(), and m_analyzeConditionsInLumiBlockEnable.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file L1GtAnalyzer.cc.
References analyzeConditionsInRunBlock(), L1GtUtils::getL1GtRunCache(), L1GtUtils::LogicalExpressionL1Results::isValid(), L1GtUtils::LogicalExpressionL1Results::logicalExpressionRunUpdate(), m_analyzeConditionsInRunBlockEnable, m_l1GtTmLInputTag, m_l1GtTmLInputTagProv, m_l1GtUtils, m_l1GtUtilsConfiguration, m_l1GtUtilsConfigureBeginRun, m_l1GtUtilsLogicalExpression, m_logicalExpressionL1Results, m_logicalExpressionL1ResultsProv, useL1EventSetup(), and useL1GtTriggerMenuLite().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1876 of file L1GtAnalyzer.cc.
|
private |
print the output stream to the required output, given by m_printOutput
Definition at line 1750 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 152 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
input tag for ConditionInEdm products
Definition at line 143 of file L1GtAnalyzer.h.
Referenced by analyzeConditionsInEventBlock(), analyzeConditionsInLumiBlock(), and analyzeConditionsInRunBlock().
|
private |
a condition in the algorithm trigger to test the object maps
Definition at line 149 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), and L1GtAnalyzer().
|
private |
input tag for muon collection from GMT
Definition at line 137 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
input tags for GT DAQ product
Definition at line 125 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), analyzeL1GtUtilsCore(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition at line 134 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition at line 131 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(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
if true, use methods in L1GtUtils with the given input tags for L1GlobalTriggerReadoutRecord and / or L1GlobalTriggerRecord from provenance
Definition at line 163 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tag for L1GtTriggerMenuLite
Definition at line 140 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), analyzeL1GtUtils(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
if true, use methods in L1GtUtils with the input tag for L1GtTriggerMenuLite from provenance
Definition at line 159 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
Definition at line 174 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
L1 configuration code for L1GtUtils.
Definition at line 155 of file L1GtAnalyzer.h.
Referenced by analyze(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition at line 166 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 170 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 176 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 175 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
an algorithm trigger (name or alias) or a technical trigger name
Definition at line 146 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), analyzeL1GtUtilsCore(), analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
|
private |
Definition at line 100 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().