Produces the full or stand-alone PAT trigger information collections. More...
#include "PhysicsTools/PatAlgos/plugins/PATTriggerProducer.h"
Classes | |
class | ModuleLabelToPathAndFlags |
Public Member Functions | |
PATTriggerProducer (const edm::ParameterSet &iConfig) | |
~PATTriggerProducer () | |
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) |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 &iLuminosityBlock, 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 full or stand-alone PAT trigger information collections.
This producer extracts the trigger information from
For me information, s. https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePATTrigger
Definition at line 58 of file PATTriggerProducer.h.
|
explicit |
Definition at line 46 of file PATTriggerProducer.cc.
References addL1Algos_, addPathModuleLabels_, autoProcessName_, autoProcessNameL1ExtraCenJet_, autoProcessNameL1ExtraETM_, autoProcessNameL1ExtraForJet_, autoProcessNameL1ExtraHTM_, autoProcessNameL1ExtraIsoEG_, autoProcessNameL1ExtraMu_, autoProcessNameL1ExtraNoIsoEG_, autoProcessNameL1ExtraTauJet_, edm::ProducerBase::callWhenNewProductsRegistered(), edm::ParameterSet::exists(), exludeCollections_, edm::ParameterSet::getParameter(), hltPrescaleLabel_, hltPrescaleTableEventGetter_, hltPrescaleTableLumiGetter_, hltPrescaleTableRunGetter_, edm::InLumi, HLT_FULL_cff::InputTag, edm::InRun, edm::InputTag::instance(), l1ExtraCenJetGetter_, l1ExtraETMGetter_, l1ExtraForJetGetter_, l1ExtraHTMGetter_, l1ExtraIsoEGGetter_, l1ExtraMuGetter_, l1ExtraNoIsoEGGetter_, l1ExtraTauJetGetter_, l1GlobalTriggerObjectMapsToken_, edm::InputTag::label(), labelHltPrescaleTable_, mainBxOnly_, nameProcess_, onlyStandAlone_, packPrescales_, edm::InputTag::process(), saveL1Refs_, AlCaHLTBitMon_QueryRunRegistry::string, tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagL1GlobalTriggerObjectMaps_, tagTriggerEvent_, tagTriggerResults_, triggerEventGetter_, and triggerResultsGetter_.
|
inline |
Definition at line 63 of file PATTriggerProducer.h.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 291 of file PATTriggerProducer.cc.
References edm::LuminosityBlock::getByLabel(), hltConfigInit_, hltPrescaleTableLumi_, hltPrescaleTableRun_, HLT_FULL_cff::InputTag, edm::HandleBase::isValid(), labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), nameProcess_, trigger::HLTPrescaleTable::set(), and trigger::HLTPrescaleTable::table().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 208 of file PATTriggerProducer.cc.
References autoProcessName_, autoProcessNameL1ExtraCenJet_, autoProcessNameL1ExtraETM_, autoProcessNameL1ExtraForJet_, autoProcessNameL1ExtraHTM_, autoProcessNameL1ExtraIsoEG_, autoProcessNameL1ExtraMu_, autoProcessNameL1ExtraNoIsoEG_, autoProcessNameL1ExtraTauJet_, edm::ParameterSet::exists(), firstInRun_, edm::Run::getByLabel(), HltComparatorCreateWorkflow::hltConfig, hltConfigInit_, HLTPrescaleProvider::hltConfigProvider(), hltPrescaleProvider_, hltPrescaleTableRun_, HLTPrescaleProvider::init(), pat::PATTriggerProducer::ModuleLabelToPathAndFlags::init(), HLT_FULL_cff::InputTag, edm::InputTag::instance(), instance, edm::HandleBase::isValid(), l1PSet_, edm::InputTag::label(), labelHltPrescaleTable_, LogDebug, moduleLabelToPathAndFlags_, nameProcess_, edm::InputTag::process(), edm::processConfiguration, edm::Run::processHistory(), tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagTriggerEvent_, and tagTriggerResults_.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 314 of file PATTriggerProducer.cc.
References pat::TriggerAlgorithm::addConditionKey(), pat::TriggerObjectStandAlone::addFilterLabel(), addL1Algos_, pat::TriggerFilter::addObjectKey(), addPathModuleLabels_, pat::TriggerObjectStandAlone::addPathName(), pat::TriggerFilter::addTriggerObjectType(), pat::TriggerObject::addTriggerObjectType(), L1GtUtils::AlgorithmTrigger, assert(), python.rootplot.argparse::category, CenJet, pat::TriggerAlgorithm::decision(), relativeConstraints::empty, edm::InputTag::encode(), relativeConstraints::error, trigger::TriggerObject::eta(), ETM, edm::ParameterSet::exists(), exludeCollections_, firstInRun_, ForJet, edm::EventSetup::get(), edm::Event::getByLabel(), edm::Event::getByToken(), L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::getConditionResult(), L1GlobalTriggerObjectMaps::CombinationsInCondition::getObjectIndex(), edm::ParameterSet::getParameter(), pat::TriggerObjectStandAlone::hasCollection(), HltComparatorCreateWorkflow::hltConfig, hltConfigInit_, HLTPrescaleProvider::hltConfigProvider(), HLTConfigProvider::hltL1GTSeeds(), hltPrescaleLabel_, hltPrescaleProvider_, hltPrescaleTableLumi_, HTM, i, trigger::TriggerObject::id(), HLT_FULL_cff::InputTag, instance, IsoEG, edm::EventBase::isRealData(), edm::HandleBase::isValid(), relval_steps::key, relativeConstraints::keys, L1GtUtils::l1AlgoTechTrigBitNumber(), l1GlobalTriggerObjectMapsToken_, HLTPrescaleProvider::l1GtUtils(), l1PSet_, L1GtUtils::l1Results(), edm::InputTag::label(), diffTwoXMLs::label, labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), LogDebug, mainBxOnly_, trigger::TriggerObject::mass(), bookConverter::max, HLTConfigProvider::moduleIndex(), HLTConfigProvider::moduleLabel(), moduleLabelToPathAndFlags_, HLTConfigProvider::moduleType(), Mu, gen::n, pat::TriggerAlgorithm::name(), nameProcess_, cscdqm::h::names, L1GlobalTriggerObjectMaps::CombinationsInCondition::nCombinations(), L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::nConditions(), L1GlobalTriggerObjectMaps::CombinationsInCondition::nObjectsPerCombination(), NoIsoEG, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers, getGTfromDQMFile::obj, onlyStandAlone_, AlCaHLTBitMon_ParallelJobs::p, packPathNames_, packPrescales_, mergeAndRegister::paths, trigger::TriggerObject::phi(), HLTConfigProvider::prescaleLabels(), HLTPrescaleProvider::prescaleSet(), HLTConfigProvider::prescaleSize(), HLTConfigProvider::prescaleTable(), HLTConfigProvider::prescaleValue(), HLTPrescaleProvider::prescaleValuesInDetail(), trigger::TriggerObject::pt(), edm::Event::put(), saveL1Refs_, HLTConfigProvider::saveTags(), HLTConfigProvider::saveTagsModules(), trigger::HLTPrescaleTable::set(), pat::TriggerCondition::setCategory(), pat::TriggerObject::setCollection(), pat::TriggerAlgorithm::setGtlResult(), pat::TriggerAlgorithm::setLogicalExpression(), pat::TriggerFilter::setSaveTags(), pat::TriggerFilter::setStatus(), pat::TriggerFilter::setType(), HLTConfigProvider::size(), edm::TriggerNames::size(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::HLTPrescaleTable::table(), tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagL1GlobalTriggerObjectMaps_, tagTriggerEvent_, tagTriggerResults_, TauJet, L1GtUtils::TechnicalTrigger, JetPDSkim_cfg::triggerConditions, trigger::TriggerL1CenJet, trigger::TriggerL1ETM, trigger::TriggerL1ForJet, trigger::TriggerL1HTM, trigger::TriggerL1IsoEG, trigger::TriggerL1Mu, trigger::TriggerL1NoIsoEG, trigger::TriggerL1TauJet, edm::TriggerNames::triggerName(), HLTConfigProvider::triggerNames(), edm::Event::triggerNames(), and triggerPaths.
|
private |
Definition at line 77 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 120 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 72 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 99 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 102 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 100 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 103 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 98 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 96 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 97 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 101 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 121 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 74 of file PATTriggerProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 108 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), and produce().
|
private |
Definition at line 113 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 107 of file PATTriggerProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 117 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 119 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 116 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 118 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 115 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 87 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 93 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 89 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 95 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 85 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 81 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 83 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 91 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 79 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 76 of file PATTriggerProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 114 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 104 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 148 of file PATTriggerProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 71 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 73 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 122 of file PATTriggerProducer.h.
Referenced by produce().
|
private |
Definition at line 123 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 105 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 86 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 92 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 88 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 94 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 84 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 80 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 82 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 90 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 78 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 111 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 109 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 112 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 110 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().