#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::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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
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: 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 |
constructor(s)
Definition at line 51 of file L1GtTriggerMenuLiteProducer.cc.
|
override |
destructor
Definition at line 71 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 195 of file L1GtTriggerMenuLiteProducer.cc.
|
finalprivate |
Definition at line 199 of file L1GtTriggerMenuLiteProducer.cc.
References 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 306 of file L1GtTriggerMenuLiteProducer.cc.
References DEFINE_FWK_MODULE.
|
finalprivate |
Definition at line 299 of file L1GtTriggerMenuLiteProducer.cc.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
retrieve all the relevant L1 trigger event setup records and cache them to improve the speed
Definition at line 77 of file L1GtTriggerMenuLiteProducer.cc.
References edm::EventSetup::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 85 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 84 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 82 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 99 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 100 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 102 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 103 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
cached stuff
stable parameters
Definition at line 71 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 72 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks
Definition at line 89 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 90 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 92 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 93 of file L1GtTriggerMenuLiteProducer.h.
Referenced by retrieveL1EventSetup().
|
private |
number of physics triggers
Definition at line 75 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 78 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
index of physics DAQ partition
Definition at line 111 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce().
|
private |
Definition at line 105 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 106 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 86 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 95 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().
|
private |
Definition at line 96 of file L1GtTriggerMenuLiteProducer.h.
Referenced by beginRunProduce(), and retrieveL1EventSetup().