#include <L1GtTriggerMenuLiteProducer.h>
Public Member Functions | |
L1GtTriggerMenuLiteProducer (const edm::ParameterSet &) | |
constructor(s) More... | |
virtual | ~L1GtTriggerMenuLiteProducer () |
destructor More... | |
Public Member Functions inherited from edm::one::EDProducer< edm::BeginRunProducer > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginJob () override final |
void | beginRunProduce (edm::Run &, const edm::EventSetup &) override final |
virtual void | endJob () override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override 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 | |
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 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.
|
virtual |
destructor
Definition at line 71 of file L1GtTriggerMenuLiteProducer.cc.
|
finaloverrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 195 of file L1GtTriggerMenuLiteProducer.cc.
|
finaloverrideprivate |
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.
|
finaloverrideprivatevirtual |
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().