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::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | 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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 edm::ProducerBase::callWhenNewProductsRegistered(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::instance(), l1GtToken_, edm::InputTag::label(), 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.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 146 of file PATTriggerEventProducer.cc.
References condLumi_, edm::InputTag::encode(), edm::LuminosityBlock::getByToken(), gtCondLumiInit_, edm::HandleBase::isValid(), edm::InputTag::label(), nameProcess_, tagCondGt_, and tagCondGtLumiToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 82 of file PATTriggerEventProducer.cc.
References autoProcessName_, condRun_, edm::InputTag::encode(), edm::ParameterSet::exists(), edm::Run::getByToken(), gtCondRunInit_, hltConfig_, hltConfigInit_, HLTConfigProvider::init(), HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::instance(), instance, edm::HandleBase::isValid(), edm::InputTag::label(), LogDebug, nameProcess_, edm::InputTag::process(), edm::processConfiguration, edm::Run::processHistory(), HLTConfigProvider::size(), tagCondGt_, tagCondGtRunToken_, tagTriggerEvent_, and tagTriggerResults_.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 167 of file PATTriggerEventProducer.cc.
References edm::ConditionsInRunBlock::BAvgCurrent, edm::ConditionsInRunBlock::beamMode, edm::ConditionsInRunBlock::beamMomentum, edm::ConditionsInRunBlock::BStartCurrent, edm::ConditionsInRunBlock::BStopCurrent, condLumi_, condRun_, edm::InputTag::encode(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::get(), edm::Event::getByLabel(), edm::Event::getByToken(), gtCondLumiInit_, gtCondRunInit_, hltConfig_, hltConfigInit_, edm::helper::Filler< Map >::insert(), edm::EventBase::isRealData(), edm::HandleBase::isValid(), l1GtToken_, edm::InputTag::label(), edm::ConditionsInRunBlock::lhcFillNumber, 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_, and triggerPathCollectionToken_.
|
private |
Definition at line 64 of file PATTriggerEventProducer.h.
Referenced by beginRun().
|
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(), 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().