#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 | beginJob () overridefinal |
void | beginRunProduce (edm::Run &, const edm::EventSetup &) overridefinal |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) overridefinal |
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, edm::Run::put(), and retrieveL1EventSetup().
|
privatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 306 of file L1GtTriggerMenuLiteProducer.cc.
|
finaloverrideprivatevirtual |
Implements edm::one::EDProducerBase.
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< class >::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().