#include <L1GtAnalyzer.h>
Public Member Functions | |
L1GtAnalyzer (const edm::ParameterSet &) | |
~L1GtAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 |
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::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 39 of file L1GtAnalyzer.h.
|
explicit |
Definition at line 52 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 147 of file L1GtAnalyzer.cc.
|
privatevirtual |
analyze each event: event loop over various code snippets
Implements edm::EDAnalyzer.
Definition at line 1794 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 1712 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 1671 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 1630 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 260 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 1432 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 1055 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 304 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_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 1033 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 1001 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 1367 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 1088 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 154 of file L1GtAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 246 of file L1GtAnalyzer.cc.
References analyzeConditionsInLumiBlock(), and m_analyzeConditionsInLumiBlockEnable.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 161 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 1873 of file L1GtAnalyzer.cc.
|
private |
print the output stream to the required output, given by m_printOutput
Definition at line 1747 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 118 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 117 of file L1GtAnalyzer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 116 of file L1GtAnalyzer.h.
Referenced by beginRun().
|
private |
enable / disable various analysis methods
Definition at line 105 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 114 of file L1GtAnalyzer.h.
|
private |
Definition at line 109 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 108 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 107 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 112 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 110 of file L1GtAnalyzer.h.
Referenced by analyze().
|
private |
a bit number to retrieve the name and the alias
Definition at line 150 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), and L1GtAnalyzer().
|
private |
input tag for ConditionInEdm products
Definition at line 141 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 147 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), and L1GtAnalyzer().
|
private |
input tag for muon collection from GMT
Definition at line 135 of file L1GtAnalyzer.h.
Referenced by L1GtAnalyzer().
|
private |
input tags for GT DAQ product
Definition at line 123 of file L1GtAnalyzer.h.
Referenced by analyzeDecisionReadoutRecord(), analyzeL1GtUtilsCore(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMaps
Definition at line 132 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().
|
private |
input tags for GT object map collection L1GlobalTriggerObjectMapRecord
Definition at line 129 of file L1GtAnalyzer.h.
Referenced by analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tags for GT lite product
Definition at line 126 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 161 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger(), and L1GtAnalyzer().
|
private |
input tag for L1GtTriggerMenuLite
Definition at line 138 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 157 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
Definition at line 172 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtils(), analyzeL1GtUtilsCore(), analyzeL1GtUtilsEventSetup(), analyzeL1GtUtilsMenuLite(), analyzeTrigger(), and beginRun().
|
private |
L1 configuration code for L1GtUtils.
Definition at line 153 of file L1GtAnalyzer.h.
Referenced by analyze(), analyzeTrigger(), beginRun(), and L1GtAnalyzer().
|
private |
if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
Definition at line 164 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 168 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 174 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
Definition at line 173 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtUtilsCore(), and beginRun().
|
private |
an algorithm trigger (name or alias) or a technical trigger name
Definition at line 144 of file L1GtAnalyzer.h.
Referenced by analyzeL1GtTriggerMenuLite(), analyzeL1GtUtilsCore(), analyzeObjectMap(), analyzeTrigger(), and L1GtAnalyzer().
|
private |
|
private |
Definition at line 98 of file L1GtAnalyzer.h.
Referenced by analyzeTrigger().