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 () | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) 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 |
Private Attributes | |
bool | autoProcessName_ |
edm::ConditionsInLumiBlock | condLumi_ |
edm::ConditionsInRunBlock | condRun_ |
bool | gtCondLumiInit_ |
bool | gtCondRunInit_ |
HLTConfigProvider | hltConfig_ |
bool | hltConfigInit_ |
std::string | nameProcess_ |
edm::InputTag | tagCondGt_ |
edm::InputTag | tagL1Gt_ |
std::vector< edm::InputTag > | tagsTriggerMatcher_ |
edm::InputTag | tagTriggerEvent_ |
edm::InputTag | tagTriggerProducer_ |
edm::InputTag | tagTriggerResults_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
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 47 of file PATTriggerEventProducer.h.
|
explicit |
Definition at line 29 of file PATTriggerEventProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), tagCondGt_, tagL1Gt_, tagsTriggerMatcher_, tagTriggerEvent_, tagTriggerProducer_, and tagTriggerResults_.
|
inline |
Definition at line 52 of file PATTriggerEventProducer.h.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 129 of file PATTriggerEventProducer.cc.
References condLumi_, edm::InputTag::encode(), edm::LuminosityBlock::getByLabel(), gtCondLumiInit_, edm::HandleBase::isValid(), edm::InputTag::label(), nameProcess_, and tagCondGt_.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 65 of file PATTriggerEventProducer.cc.
References autoProcessName_, condRun_, edm::InputTag::encode(), edm::ParameterSet::exists(), edm::Run::getByLabel(), 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_, tagTriggerEvent_, and tagTriggerResults_.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 150 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(), gtCondLumiInit_, gtCondRunInit_, hltConfig_, hltConfigInit_, edm::helper::Filler< Map >::insert(), edm::EventBase::isRealData(), edm::HandleBase::isValid(), edm::InputTag::label(), edm::ConditionsInRunBlock::lhcFillNumber, nameProcess_, L1GtFdlWord::physicsDeclared(), edm::Event::put(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::tableName(), tagCondGt_, tagL1Gt_, tagsTriggerMatcher_, tagTriggerProducer_, tagTriggerResults_, edm::ConditionsInLumiBlock::totalIntensityBeam1, and edm::ConditionsInLumiBlock::totalIntensityBeam2.
|
private |
Definition at line 61 of file PATTriggerEventProducer.h.
Referenced by beginRun().
|
private |
Definition at line 74 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 73 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 76 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 75 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 67 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 68 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 60 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), and produce().
|
private |
Definition at line 72 of file PATTriggerEventProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerEventProducer(), and produce().
|
private |
Definition at line 65 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 63 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 70 of file PATTriggerEventProducer.h.
Referenced by beginRun(), and PATTriggerEventProducer().
|
private |
Definition at line 62 of file PATTriggerEventProducer.h.
Referenced by PATTriggerEventProducer(), and produce().
|
private |
Definition at line 69 of file PATTriggerEventProducer.h.
Referenced by beginRun(), PATTriggerEventProducer(), and produce().