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) |
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 &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, edm::InRun, edm::InputTag::instance(), l1ExtraCenJetGetter_, l1ExtraETMGetter_, l1ExtraForJetGetter_, l1ExtraHTMGetter_, l1ExtraIsoEGGetter_, l1ExtraMuGetter_, l1ExtraNoIsoEGGetter_, l1ExtraTauJetGetter_, l1GlobalTriggerObjectMapsToken_, edm::InputTag::label(), labelHltPrescaleTable_, mainBxOnly_, edm::stream::EDProducerBase::moduleDescription(), nameProcess_, onlyStandAlone_, packPrescales_, edm::InputTag::process(), edm::ModuleDescription::processName(), edm::BranchDescription::processName(), 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.
References beginLuminosityBlock(), beginRun(), iEvent, and produce().
|
overrideprivatevirtual |
Definition at line 294 of file PATTriggerProducer.cc.
References edm::LuminosityBlock::getByLabel(), hltConfigInit_, hltPrescaleTableLumi_, hltPrescaleTableRun_, edm::HandleBase::isValid(), labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), nameProcess_, trigger::HLTPrescaleTable::set(), and trigger::HLTPrescaleTable::table().
Referenced by ~PATTriggerProducer().
|
overrideprivatevirtual |
Definition at line 211 of file PATTriggerProducer.cc.
References autoProcessName_, autoProcessNameL1ExtraCenJet_, autoProcessNameL1ExtraETM_, autoProcessNameL1ExtraForJet_, autoProcessNameL1ExtraHTM_, autoProcessNameL1ExtraIsoEG_, autoProcessNameL1ExtraMu_, autoProcessNameL1ExtraNoIsoEG_, autoProcessNameL1ExtraTauJet_, edm::ParameterSet::exists(), firstInRun_, edm::Run::getByLabel(), hltConfigInit_, HLTPrescaleProvider::hltConfigProvider(), hltPrescaleProvider_, hltPrescaleTableRun_, HLTPrescaleProvider::init(), pat::PATTriggerProducer::ModuleLabelToPathAndFlags::init(), edm::InputTag::instance(), instance, edm::HandleBase::isValid(), l1PSet_, edm::InputTag::label(), labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), LogDebug, moduleLabelToPathAndFlags_, nameProcess_, edm::InputTag::process(), edm::Run::processHistory(), trigger::HLTPrescaleTable::set(), trigger::HLTPrescaleTable::table(), tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagTriggerEvent_, and tagTriggerResults_.
Referenced by ~PATTriggerProducer().
|
overrideprivatevirtual |
Definition at line 317 of file PATTriggerProducer.cc.
References edm::HLTGlobalStatus::accept(), pat::TriggerAlgorithm::addConditionKey(), pat::TriggerObjectStandAlone::addFilterLabel(), addL1Algos_, pat::TriggerFilter::addObjectKey(), addPathModuleLabels_, pat::TriggerObjectStandAlone::addPathName(), pat::TriggerFilter::addTriggerObjectType(), pat::TriggerObject::addTriggerObjectType(), HIPAlignmentAlgorithm_cfi::algoName, L1GlobalTriggerObjectMaps::algorithmExists(), L1GlobalTriggerObjectMaps::algorithmResult(), L1GtUtils::AlgorithmTrigger, python.rootplot.argparse::category, CenJet, trigger::TriggerEvent::collectionKeys(), trigger::TriggerEvent::collectionTagEncoded(), mps_alisetup::config, L1GlobalTriggerObjectMaps::consistencyCheck(), pat::TriggerAlgorithm::decision(), relativeConstraints::empty, edm::InputTag::encode(), relativeConstraints::error, edm::HLTGlobalStatus::error(), trigger::TriggerObject::eta(), ETM, edm::ParameterSet::exists(), exludeCollections_, trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::filterLabel(), trigger::TriggerEvent::filterTag(), firstInRun_, ForJet, edm::EventSetup::get(), edm::Event::getByLabel(), edm::Event::getByToken(), L1GlobalTriggerObjectMaps::getCombinationsInCondition(), L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::getConditionResult(), L1GlobalTriggerObjectMaps::getConditionsInAlgorithm(), edm::ProcessHistory::getConfigurationForProcess(), L1GlobalTriggerObjectMaps::CombinationsInCondition::getObjectIndex(), trigger::TriggerEvent::getObjects(), edm::ParameterSet::getParameter(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtTriggerMenu::gtConditionMap(), L1GtTriggerMenu::gtTechnicalTriggerMap(), pat::TriggerObjectStandAlone::hasCollection(), hltConfigInit_, HLTPrescaleProvider::hltConfigProvider(), HLTConfigProvider::hltL1GTSeeds(), hltPrescaleLabel_, hltPrescaleProvider_, hltPrescaleTableLumi_, HTM, mps_fire::i, trigger::TriggerObject::id(), edm::HLTGlobalStatus::index(), instance, createfilelist::int, IsoEG, edm::EventBase::isRealData(), edm::HandleBase::isValid(), crabWrapper::key, relativeConstraints::keys, L1GtUtils::l1AlgoTechTrigBitNumber(), l1GlobalTriggerObjectMapsToken_, HLTPrescaleProvider::l1GtUtils(), l1PSet_, L1GtUtils::l1Results(), edm::InputTag::label(), diffTwoXMLs::label, labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), LogDebug, mainBxOnly_, RecoTauDiscriminantConfiguration::mask, trigger::TriggerObject::mass(), hpstanc_transforms::max, HLTConfigProvider::moduleIndex(), HLTConfigProvider::moduleLabel(), moduleLabelToPathAndFlags_, HLTConfigProvider::moduleType(), eostools::move(), Mu, gen::n, pat::TriggerAlgorithm::name(), nameProcess_, cscdqm::h::names, L1GlobalTriggerObjectMaps::namesParameterSetID(), L1GlobalTriggerObjectMaps::CombinationsInCondition::nCombinations(), L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::nConditions(), L1GlobalTriggerObjectMaps::CombinationsInCondition::nObjectsPerCombination(), NoIsoEG, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers, MuonAssociatorByHits_cfi::obj, onlyStandAlone_, AlCaHLTBitMon_ParallelJobs::p, packLabels_, packPathNames_, packPrescales_, edm::ProcessConfiguration::parameterSetID(), trigger::TriggerObject::phi(), HLTConfigProvider::prescaleLabels(), HLTPrescaleProvider::prescaleSet(), HLTConfigProvider::prescaleSize(), HLTConfigProvider::prescaleTable(), HLTConfigProvider::prescaleValue(), HLTPrescaleProvider::prescaleValuesInDetail(), edm::Event::processHistory(), 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(), trigger::TriggerEvent::sizeCollections(), trigger::TriggerEvent::sizeFilters(), trigger::TriggerEvent::sizeObjects(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::HLTPrescaleTable::table(), tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagL1GlobalTriggerObjectMaps_, tagTriggerEvent_, tagTriggerResults_, TauJet, L1GtUtils::TechnicalTrigger, SelectingProcedure_cff::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(), TriggerAnalyzer::triggerObjects, triggerPaths, cutBasedMuonId_MuonPOG_V0_cff::types, and edm::HLTGlobalStatus::wasrun().
Referenced by ~PATTriggerProducer().
|
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 149 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 123 of file PATTriggerProducer.h.
Referenced by produce().
|
private |
Definition at line 122 of file PATTriggerProducer.h.
Referenced by produce().
|
private |
Definition at line 124 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().