CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
pat::PATTriggerProducer Class Reference

Produces the full or stand-alone PAT trigger information collections. More...

#include "PhysicsTools/PatAlgos/plugins/PATTriggerProducer.h"

Inheritance diagram for pat::PATTriggerProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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< ConsumesInfoconsumesInfo () 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
 

Private Attributes

bool addL1Algos_
 
bool addPathModuleLabels_
 
bool autoProcessName_
 
bool autoProcessNameL1ExtraCenJet_
 
bool autoProcessNameL1ExtraETM_
 
bool autoProcessNameL1ExtraForJet_
 
bool autoProcessNameL1ExtraHTM_
 
bool autoProcessNameL1ExtraIsoEG_
 
bool autoProcessNameL1ExtraMu_
 
bool autoProcessNameL1ExtraNoIsoEG_
 
bool autoProcessNameL1ExtraTauJet_
 
std::vector< std::string > exludeCollections_
 
bool firstInRun_
 
bool hltConfigInit_
 
std::string hltPrescaleLabel_
 
HLTPrescaleProvider hltPrescaleProvider_
 
edm::GetterOfProducts
< trigger::HLTPrescaleTable
hltPrescaleTableEventGetter_
 
trigger::HLTPrescaleTable hltPrescaleTableLumi_
 
edm::GetterOfProducts
< trigger::HLTPrescaleTable
hltPrescaleTableLumiGetter_
 
trigger::HLTPrescaleTable hltPrescaleTableRun_
 
edm::GetterOfProducts
< trigger::HLTPrescaleTable
hltPrescaleTableRunGetter_
 
edm::GetterOfProducts
< l1extra::L1JetParticleCollection
l1ExtraCenJetGetter_
 
edm::GetterOfProducts
< l1extra::L1EtMissParticleCollection
l1ExtraETMGetter_
 
edm::GetterOfProducts
< l1extra::L1JetParticleCollection
l1ExtraForJetGetter_
 
edm::GetterOfProducts
< l1extra::L1EtMissParticleCollection
l1ExtraHTMGetter_
 
edm::GetterOfProducts
< l1extra::L1EmParticleCollection
l1ExtraIsoEGGetter_
 
edm::GetterOfProducts
< l1extra::L1MuonParticleCollection
l1ExtraMuGetter_
 
edm::GetterOfProducts
< l1extra::L1EmParticleCollection
l1ExtraNoIsoEGGetter_
 
edm::GetterOfProducts
< l1extra::L1JetParticleCollection
l1ExtraTauJetGetter_
 
edm::EDGetTokenT
< L1GlobalTriggerObjectMaps
l1GlobalTriggerObjectMapsToken_
 
edm::ParameterSetl1PSet_
 
std::string labelHltPrescaleTable_
 
bool mainBxOnly_
 
ModuleLabelToPathAndFlags moduleLabelToPathAndFlags_
 
std::string nameProcess_
 
bool onlyStandAlone_
 
bool packPathNames_
 
bool packPrescales_
 
bool saveL1Refs_
 
edm::InputTag tagL1ExtraCenJet_
 
edm::InputTag tagL1ExtraETM_
 
edm::InputTag tagL1ExtraForJet_
 
edm::InputTag tagL1ExtraHTM_
 
edm::InputTag tagL1ExtraIsoEG_
 
edm::InputTag tagL1ExtraMu_
 
edm::InputTag tagL1ExtraNoIsoEG_
 
edm::InputTag tagL1ExtraTauJet_
 
edm::InputTag tagL1GlobalTriggerObjectMaps_
 
edm::InputTag tagTriggerEvent_
 
edm::InputTag tagTriggerResults_
 
edm::GetterOfProducts
< trigger::TriggerEvent
triggerEventGetter_
 
edm::GetterOfProducts
< edm::TriggerResults
triggerResultsGetter_
 

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)
 

Detailed Description

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

Author
Volker Adler
Version
Id:
PATTriggerProducer.h,v 1.20 2012/09/11 22:45:29 vadler Exp

Definition at line 58 of file PATTriggerProducer.h.

Constructor & Destructor Documentation

PATTriggerProducer::PATTriggerProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 46 of file PATTriggerProducer.cc.

pat::PATTriggerProducer::~PATTriggerProducer ( )
inline

Definition at line 63 of file PATTriggerProducer.h.

Member Function Documentation

void PATTriggerProducer::beginLuminosityBlock ( const edm::LuminosityBlock iLuminosityBlock,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 291 of file PATTriggerProducer.cc.

void PATTriggerProducer::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 208 of file PATTriggerProducer.cc.

void PATTriggerProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDProducerBase.

Definition at line 314 of file PATTriggerProducer.cc.

Member Data Documentation

bool pat::PATTriggerProducer::addL1Algos_
private

Definition at line 77 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::addPathModuleLabels_
private

Definition at line 120 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessName_
private

Definition at line 72 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraCenJet_
private

Definition at line 99 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraETM_
private

Definition at line 102 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraForJet_
private

Definition at line 100 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraHTM_
private

Definition at line 103 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraIsoEG_
private

Definition at line 98 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraMu_
private

Definition at line 96 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraNoIsoEG_
private

Definition at line 97 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::autoProcessNameL1ExtraTauJet_
private

Definition at line 101 of file PATTriggerProducer.h.

std::vector< std::string > pat::PATTriggerProducer::exludeCollections_
private

Definition at line 121 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::firstInRun_
private

Definition at line 74 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::hltConfigInit_
private

Definition at line 108 of file PATTriggerProducer.h.

std::string pat::PATTriggerProducer::hltPrescaleLabel_
private

Definition at line 113 of file PATTriggerProducer.h.

HLTPrescaleProvider pat::PATTriggerProducer::hltPrescaleProvider_
private

Definition at line 107 of file PATTriggerProducer.h.

edm::GetterOfProducts< trigger::HLTPrescaleTable > pat::PATTriggerProducer::hltPrescaleTableEventGetter_
private

Definition at line 117 of file PATTriggerProducer.h.

trigger::HLTPrescaleTable pat::PATTriggerProducer::hltPrescaleTableLumi_
private

Definition at line 119 of file PATTriggerProducer.h.

edm::GetterOfProducts< trigger::HLTPrescaleTable > pat::PATTriggerProducer::hltPrescaleTableLumiGetter_
private

Definition at line 116 of file PATTriggerProducer.h.

trigger::HLTPrescaleTable pat::PATTriggerProducer::hltPrescaleTableRun_
private

Definition at line 118 of file PATTriggerProducer.h.

edm::GetterOfProducts< trigger::HLTPrescaleTable > pat::PATTriggerProducer::hltPrescaleTableRunGetter_
private

Definition at line 115 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1JetParticleCollection > pat::PATTriggerProducer::l1ExtraCenJetGetter_
private

Definition at line 87 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1EtMissParticleCollection > pat::PATTriggerProducer::l1ExtraETMGetter_
private

Definition at line 93 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1JetParticleCollection > pat::PATTriggerProducer::l1ExtraForJetGetter_
private

Definition at line 89 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1EtMissParticleCollection > pat::PATTriggerProducer::l1ExtraHTMGetter_
private

Definition at line 95 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1EmParticleCollection > pat::PATTriggerProducer::l1ExtraIsoEGGetter_
private

Definition at line 85 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1MuonParticleCollection > pat::PATTriggerProducer::l1ExtraMuGetter_
private

Definition at line 81 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1EmParticleCollection > pat::PATTriggerProducer::l1ExtraNoIsoEGGetter_
private

Definition at line 83 of file PATTriggerProducer.h.

edm::GetterOfProducts< l1extra::L1JetParticleCollection > pat::PATTriggerProducer::l1ExtraTauJetGetter_
private

Definition at line 91 of file PATTriggerProducer.h.

edm::EDGetTokenT< L1GlobalTriggerObjectMaps > pat::PATTriggerProducer::l1GlobalTriggerObjectMapsToken_
private

Definition at line 79 of file PATTriggerProducer.h.

edm::ParameterSet* pat::PATTriggerProducer::l1PSet_
private

Definition at line 76 of file PATTriggerProducer.h.

std::string pat::PATTriggerProducer::labelHltPrescaleTable_
private

Definition at line 114 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::mainBxOnly_
private

Definition at line 104 of file PATTriggerProducer.h.

ModuleLabelToPathAndFlags pat::PATTriggerProducer::moduleLabelToPathAndFlags_
private

Definition at line 148 of file PATTriggerProducer.h.

std::string pat::PATTriggerProducer::nameProcess_
private

Definition at line 71 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::onlyStandAlone_
private

Definition at line 73 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::packPathNames_
private

Definition at line 122 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::packPrescales_
private

Definition at line 123 of file PATTriggerProducer.h.

bool pat::PATTriggerProducer::saveL1Refs_
private

Definition at line 105 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraCenJet_
private

Definition at line 86 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraETM_
private

Definition at line 92 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraForJet_
private

Definition at line 88 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraHTM_
private

Definition at line 94 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraIsoEG_
private

Definition at line 84 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraMu_
private

Definition at line 80 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraNoIsoEG_
private

Definition at line 82 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1ExtraTauJet_
private

Definition at line 90 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagL1GlobalTriggerObjectMaps_
private

Definition at line 78 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagTriggerEvent_
private

Definition at line 111 of file PATTriggerProducer.h.

edm::InputTag pat::PATTriggerProducer::tagTriggerResults_
private

Definition at line 109 of file PATTriggerProducer.h.

edm::GetterOfProducts< trigger::TriggerEvent > pat::PATTriggerProducer::triggerEventGetter_
private

Definition at line 112 of file PATTriggerProducer.h.

edm::GetterOfProducts< edm::TriggerResults > pat::PATTriggerProducer::triggerResultsGetter_
private

Definition at line 110 of file PATTriggerProducer.h.