#include <L1GtTriggerMenuLiteProducer.h>
Private Member Functions | |
void | beginJob () final |
void | beginRunProduce (edm::Run &, const edm::EventSetup &) final |
void | endJob () override |
void | produce (edm::Event &, const edm::EventSetup &) final |
void | retrieveL1EventSetup (const edm::EventSetup &) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: L1GtTriggerMenuLite producer.
Implementation: Read the L1 trigger menu, the trigger masks and the prescale factor sets from event setup and save a lite version (top level menu, trigger masks for physics partition and prescale factor set) in Run Data.
Definition at line 42 of file L1GtTriggerMenuLiteProducer.h.
|
explicit |
|
override |
|
finalprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 171 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivate |
Definition at line 175 of file L1GtTriggerMenuLiteProducer.cc.
References L1TBPTX_cfi::bitNumber, L1GtTriggerMenu::gtScaleDbKey(), L1GtTriggerMenu::gtTriggerMenuImplementation(), L1GtTriggerMenu::gtTriggerMenuInterface(), L1GtTriggerMenu::gtTriggerMenuName(), edm::isDebugEnabled(), LogDebug, m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_numberPhysTriggers, m_numberTechnicalTriggers, m_physicsDaqPartition, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, eostools::move(), edm::Run::put(), and retrieveL1EventSetup().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 258 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 255 of file L1GtTriggerMenuLiteProducer.cc.
|
private |
retrieve all the relevant L1 trigger event setup records and cache them to improve the speed
Definition at line 75 of file L1GtTriggerMenuLiteProducer.cc.
References edm::EventSetup::get(), get, L1GtTriggerMenu::gtAlgorithmAliasMap(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtStableParameters::gtNumberPhysTriggers(), L1GtStableParameters::gtNumberTechnicalTriggers(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtTriggerMenu::gtTechnicalTriggerMap(), L1GtTriggerMask::gtTriggerMask(), m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtStablePar, m_l1GtStableParCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmTech, m_l1GtTmTechCacheID, m_numberPhysTriggers, m_numberTechnicalTriggers, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, and edm::ESHandle< T >::product().
Referenced by beginRunProduce().
|
private |
Definition at line 80 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 79 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 76 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 77 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 94 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 95 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 97 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 98 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
cached stuff
stable parameters
Definition at line 66 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 67 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks
Definition at line 84 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 85 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 87 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 88 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
number of physics triggers
Definition at line 70 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 73 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
index of physics DAQ partition
Definition at line 105 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce().
|
private |
Definition at line 100 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 101 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 81 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 90 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 91 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().