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::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 &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::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 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_25ns14e33_v1_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::EDProducer.
Definition at line 290 of file PATTriggerProducer.cc.
References edm::LuminosityBlock::getByLabel(), hltConfigInit_, hltPrescaleTableLumi_, hltPrescaleTableRun_, HLT_25ns14e33_v1_cff::InputTag, edm::HandleBase::isValid(), labelHltPrescaleTable_, trigger::HLTPrescaleTable::labels(), nameProcess_, trigger::HLTPrescaleTable::set(), and trigger::HLTPrescaleTable::table().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
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(), hltConfig_, hltConfigInit_, hltPrescaleTableRun_, HLTConfigProvider::init(), pat::PATTriggerProducer::ModuleLabelToPathAndFlags::init(), HLT_25ns14e33_v1_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(), HLTConfigProvider::size(), tagL1ExtraCenJet_, tagL1ExtraETM_, tagL1ExtraForJet_, tagL1ExtraHTM_, tagL1ExtraIsoEG_, tagL1ExtraMu_, tagL1ExtraNoIsoEG_, tagL1ExtraTauJet_, tagTriggerEvent_, and tagTriggerResults_.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 313 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(), L1GtTriggerMenu::buildGtConditionMap(), 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(), L1GtUtils::getL1GtRunCache(), L1GlobalTriggerObjectMaps::CombinationsInCondition::getObjectIndex(), edm::ParameterSet::getParameter(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtTriggerMenu::gtConditionMap(), L1GtTriggerMenu::gtTechnicalTriggerMap(), pat::TriggerObjectStandAlone::hasCollection(), hltConfig_, hltConfigInit_, HLTConfigProvider::hltL1GTSeeds(), hltPrescaleLabel_, hltPrescaleTableLumi_, HTM, i, trigger::TriggerObject::id(), HLT_25ns14e33_v1_cff::InputTag, instance, IsoEG, edm::EventBase::isRealData(), edm::HandleBase::isValid(), relval_steps::key, relativeConstraints::keys, L1GtUtils::l1AlgoTechTrigBitNumber(), l1GlobalTriggerObjectMapsToken_, 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(), HLTConfigProvider::prescaleSet(), HLTConfigProvider::prescaleSize(), HLTConfigProvider::prescaleTable(), HLTConfigProvider::prescaleValue(), HLTConfigProvider::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(), edm::TriggerNames::size(), HLTConfigProvider::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(), triggerPaths, useL1EventSetup(), and useL1GtTriggerMenuLite().
|
private |
Definition at line 78 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 121 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 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 101 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 104 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 97 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 102 of file PATTriggerProducer.h.
Referenced by beginRun(), and PATTriggerProducer().
|
private |
Definition at line 122 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 beginRun(), and produce().
|
private |
Definition at line 109 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), and produce().
|
private |
Definition at line 114 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 118 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 120 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), 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 beginRun().
|
private |
Definition at line 116 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 88 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 94 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 90 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 96 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 86 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 82 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 84 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 92 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 80 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 76 of file PATTriggerProducer.h.
Referenced by produce().
|
private |
Definition at line 77 of file PATTriggerProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 115 of file PATTriggerProducer.h.
Referenced by beginLuminosityBlock(), beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 105 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 124 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 106 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 87 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 93 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 89 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 95 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 85 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 81 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 83 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 91 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 79 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer(), and produce().
|
private |
Definition at line 112 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 110 of file PATTriggerProducer.h.
Referenced by beginRun(), PATTriggerProducer(), and produce().
|
private |
Definition at line 113 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().
|
private |
Definition at line 111 of file PATTriggerProducer.h.
Referenced by PATTriggerProducer().