Produces the central entry point to full PAT trigger information. More...
#include "PhysicsTools/PatAlgos/plugins/PATTriggerEventProducer.h"
Public Member Functions | |
PATTriggerEventProducer (const edm::ParameterSet &iConfig) | |
~PATTriggerEventProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::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 | beginLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override |
virtual void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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::stream::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) |
Produces the central entry point to full PAT trigger information.
This producer extract general trigger and conditions information from
For me information, s. https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePATTrigger
Definition at line 50 of file PATTriggerEventProducer.h.
|
explicit |
Definition at line 29 of file PATTriggerEventProducer.cc.
References autoProcessName_, edm::ProducerBase::callWhenNewProductsRegistered(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::InputTag::instance(), l1GtToken_, edm::InputTag::label(), edm::stream::EDProducerBase::moduleDescription(), nameProcess_, edm::ModuleDescription::processName(), edm::BranchDescription::processName(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, tagCondGt_, tagCondGtEventToken_, tagCondGtLumiToken_, tagCondGtRunToken_, tagL1Gt_, tagsTriggerMatcher_, tagTriggerEvent_, tagTriggerProducer_, tagTriggerResults_, triggerAlgorithmCollectionToken_, triggerConditionCollectionToken_, triggerFilterCollectionToken_, triggerMatcherTokens_, triggerObjectCollectionToken_, triggerPathCollectionToken_, triggerResultsGetter_, and edm::vector_transform().
|
inline |
Definition at line 55 of file PATTriggerEventProducer.h.
References beginLuminosityBlock(), beginRun(), iEvent, and produce().
|
overrideprivatevirtual |
Definition at line 148 of file PATTriggerEventProducer.cc.
References condLumi_, edm::InputTag::encode(), edm::LuminosityBlock::getByToken(), gtCondLumiInit_, edm::HandleBase::isValid(), edm::InputTag::label(), nameProcess_, tagCondGt_, and tagCondGtLumiToken_.
Referenced by ~PATTriggerEventProducer().
|
overrideprivatevirtual |
Definition at line 84 of file PATTriggerEventProducer.cc.
References autoProcessName_, condRun_, edm::InputTag::encode(), edm::ParameterSet::exists(), edm::Run::getByToken(), gtCondRunInit_, hltConfig_, hltConfigInit_, HLTConfigProvider::init(), edm::InputTag::instance(), instance, edm::HandleBase::isValid(), edm::InputTag::label(), LogDebug, nameProcess_, edm::InputTag::process(), edm::Run::processHistory(), HLTConfigProvider::size(), tagCondGt_, tagCondGtRunToken_, tagTriggerEvent_, and tagTriggerResults_.
Referenced by ~PATTriggerEventProducer().
|
overrideprivatevirtual |
Definition at line 169 of file PATTriggerEventProducer.cc.
References edm::HLTGlobalStatus::accept(), edm::ConditionsInRunBlock::BAvgCurrent, edm::ConditionsInRunBlock::beamMode, edm::ConditionsInRunBlock::beamMomentum, edm::ConditionsInRunBlock::BStartCurrent, edm::ConditionsInEventBlock::bstMasterStatus, edm::ConditionsInRunBlock::BStopCurrent, condLumi_, condRun_, DEFINE_FWK_MODULE, edm::InputTag::encode(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::HLTGlobalStatus::error(), edm::EventSetup::get(), edm::Event::get(), edm::Event::getByLabel(), edm::Event::getByToken(), gtCondLumiInit_, gtCondRunInit_, L1GlobalTriggerReadoutRecord::gtFdlWord(), L1GtTriggerMenu::gtTriggerMenuName(), hltConfig_, hltConfigInit_, edm::EventBase::isRealData(), edm::HandleBase::isValid(), l1GtToken_, edm::InputTag::label(), edm::ConditionsInRunBlock::lhcFillNumber, eostools::move(), nameProcess_, L1GtFdlWord::physicsDeclared(), edm::Event::put(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::tableName(), tagCondGt_, tagCondGtEventToken_, tagL1Gt_, tagsTriggerMatcher_, tagTriggerProducer_, tagTriggerResults_, edm::ConditionsInLumiBlock::totalIntensityBeam1, edm::ConditionsInLumiBlock::totalIntensityBeam2, triggerAlgorithmCollectionToken_, triggerConditionCollectionToken_, triggerFilterCollectionToken_, triggerMatcherTokens_, triggerObjectCollectionToken_, triggerPathCollectionToken_, edm::ConditionsInEventBlock::turnCountNumber, and edm::HLTGlobalStatus::wasrun().
Referenced by ~PATTriggerEventProducer().
|
private |
Definition at line 64 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and PATTriggerEventProducer().
|
private |
Definition at line 88 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 87 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 90 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 89 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 77 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 78 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 75 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 63 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerEventProducer(), and produce().
|
private |
Definition at line 83 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerEventProducer(), and produce().
|
private |
Definition at line 86 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 85 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), and PATTriggerEventProducer().
|
private |
Definition at line 84 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and PATTriggerEventProducer().
|
private |
Definition at line 74 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 71 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 81 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and PATTriggerEventProducer().
|
private |
Definition at line 65 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 79 of file PATTriggerEventProducer.h.
Referenced by beginRun(), PATTriggerEventProducer(), and produce().
|
private |
Definition at line 66 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 67 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 69 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 72 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 70 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 68 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 80 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer().