#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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
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: 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 53 of file L1GtTriggerMenuLiteProducer.h.
|
explicit |
constructor(s)
Definition at line 37 of file L1GtTriggerMenuLiteProducer.cc.
|
override |
|
finalprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 157 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivate |
Definition at line 161 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 244 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 241 of file L1GtTriggerMenuLiteProducer.cc.
|
private |
retrieve all the relevant L1 trigger event setup records and cache them to improve the speed
Definition at line 67 of file L1GtTriggerMenuLiteProducer.cc.
References edm::EventSetup::get(), edm::EventSetup::getHandle(), L1GtTriggerMenu::gtAlgorithmAliasMap(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtStableParameters::gtNumberPhysTriggers(), L1GtStableParameters::gtNumberTechnicalTriggers(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtTriggerMenu::gtTechnicalTriggerMap(), L1GtTriggerMask::gtTriggerMask(), m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtMenuToken, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfAlgoToken, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtPfTechToken, m_l1GtStablePar, m_l1GtStableParamToken, m_l1GtStableParCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmAlgoToken, m_l1GtTmTech, m_l1GtTmTechCacheID, m_l1GtTmTechToken, 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 91 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 87 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 88 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 120 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 105 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 106 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 116 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 108 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 109 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 117 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
cached stuff
stable parameters
Definition at line 77 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
EventSetup Tokens.
Definition at line 115 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 78 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks
Definition at line 95 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 96 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 118 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 98 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 99 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 119 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
number of physics triggers
Definition at line 81 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 84 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
index of physics DAQ partition
Definition at line 124 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce().
|
private |
Definition at line 111 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 112 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 92 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 102 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().