#include <TriggerSummaryProducerAOD.h>
Classes | |
struct | OrderInputTag |
InputTag ordering class. More... | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
using | InputTagSet = std::set< edm::InputTag, OrderInputTag > |
using | ProductIDtoIndex = std::map< edm::ProductID, unsigned int > |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
This class is an EDProducer making the HLT summary object for AOD
See header file for documentation
Definition at line 87 of file TriggerSummaryProducerAOD.h.
|
private |
Definition at line 116 of file TriggerSummaryProducerAOD.h.
|
private |
Definition at line 115 of file TriggerSummaryProducerAOD.h.
|
explicit |
Definition at line 85 of file TriggerSummaryProducerAOD.cc.
References edm::ProducerBase::callWhenNewProductsRegistered(), getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1THPSPFTauCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TPFJetCollection_, getL1TPFTauCollection_, getL1TPFTrackCollection_, getL1TTauParticleCollection_, getL1TTkElectronCollection_, getL1TTkEmCollection_, getL1TTkMuonCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, edm::service::TriggerNamesService::getProcessName(), getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, edm::Service< T >::isAvailable(), label, LogDebug, match(), HLT_2018_cff::moduleLabelPatternsToMatch, moduleLabelPatternsToMatch_, HLT_2018_cff::moduleLabelPatternsToSkip, moduleLabelPatternsToSkip_, and pn_.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::global::EDProducerBase.
Definition at line 757 of file TriggerSummaryProducerAOD.cc.
References EcalCalibMonitorTasks_cfi::collectionTags, collectionTagsGlobal_, HLT_2018_cff::distance, benchmark_cfg::fb, and filterTagsGlobal_.
|
static |
Definition at line 225 of file TriggerSummaryProducerAOD.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 652 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, and hltrates_dqm_sourceclient-live_cfg::offset.
Referenced by fillFilterObjectMembers().
|
private |
Definition at line 677 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, hltrates_dqm_sourceclient-live_cfg::offset, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.
|
private |
Definition at line 660 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, hltrates_dqm_sourceclient-live_cfg::offset, and trigger::TriggerL1HfBitCounts.
|
private |
Definition at line 715 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, hltrates_dqm_sourceclient-live_cfg::offset, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
|
private |
Definition at line 736 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, hltrates_dqm_sourceclient-live_cfg::offset, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
|
private |
Definition at line 694 of file TriggerSummaryProducerAOD.cc.
References edm::Ref< C, T, F >::key(), relativeConstraints::keys, hltrates_dqm_sourceclient-live_cfg::offset, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
|
private |
this routine takes a vector of Ref<C>s and determines the corresponding vector of keys (i.e., indices) into the TriggerObjectCollection
Definition at line 593 of file TriggerSummaryProducerAOD.cc.
References gen::C, Exception, fillFilterObjectMember(), mps_fire::i, iEvent, HLT_2018_cff::InputTag, instance, edm::ProductID::isValid(), relativeConstraints::keys, label, min(), dqmiodumpmetadata::n, Skims_PA_cff::name, hltrates_dqm_sourceclient-live_cfg::offset, LaserDQM_cfg::process, GlobalPosition_Frontier_DevDB_cff::tag, and throw_.
Referenced by produce().
|
private |
Definition at line 536 of file TriggerSummaryProducerAOD.cc.
References trigger::TriggerL1ETT, and trigger::TriggerL1HTT.
|
private |
Definition at line 517 of file TriggerSummaryProducerAOD.cc.
References trigger::TriggerL1HfBitCounts, and trigger::TriggerL1HfRingEtSums.
|
private |
Definition at line 566 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.
|
private |
Definition at line 579 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, trigger::TriggerHLongit, trigger::TriggerMHTSig, and trigger::TriggerTHT.
|
private |
Definition at line 553 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.
|
private |
Definition at line 510 of file TriggerSummaryProducerAOD.cc.
Referenced by fillTriggerObjectCollections().
|
private |
this routine accesses the original (L3) collections (with C++ typename C), extracts 4-momentum and id of each collection member, and packs this up
end loop over handles
Definition at line 463 of file TriggerSummaryProducerAOD.cc.
References oniaPATMuonsWithTrigger_cff::collections, edm::GetterOfProducts< T >::fillHandles(), fillTriggerObject(), mps_fire::i, iEvent, instance, relativeConstraints::keys, label, edm::Provenance::moduleLabel(), dqmiodumpmetadata::n, hltrates_dqm_sourceclient-live_cfg::offset, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), findQualityFiles::size, and triggerMatcherToHLTDebug_cfi::tags.
|
overridevirtual |
check whether collection tags are recorded in filterobjects; if so, these are L3 collections to be packed up, and the corresponding filter is a L3 filter also to be packed up. Record the InputTags of those L3 filters and L3 collections
check uniqueness count
accumulate for endJob printout
debug printout
event-by-event tags
Now the processing: first trigger objects from L3 collections, then L3 filter objects
create trigger objects, fill triggerobjectcollection and offset map
construct single AOD product, reserving capacity
fill trigger object collection
fill the L3 filter objects
Implements edm::global::EDProducerBase.
Definition at line 239 of file TriggerSummaryProducerAOD.cc.
References collectionTagsGlobal_, HLT_2018_cff::distance, benchmark_cfg::fb, fillFilterObjectMembers(), edm::GetterOfProducts< T >::fillHandles(), filterTagsGlobal_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1THPSPFTauCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TPFJetCollection_, getL1TPFTauCollection_, getL1TPFTrackCollection_, getL1TTauParticleCollection_, getL1TTkElectronCollection_, getL1TTkEmCollection_, getL1TTkMuonCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, iEvent, HLT_2018_cff::InputTag, instance, edm::isDebugEnabled(), relativeConstraints::keys, label, LogDebug, LogTrace, HerwigMaxPtPartonFilter_cfi::moduleLabel, eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, pn_, LaserDQM_cfg::process, SimL1EmulatorRepack_CalouGT_cff::processName, trigger::TriggerEvent::sizeFilters(), trigger::TriggerEvent::sizeObjects(), triggerMatcherToHLTDebug_cfi::tags, and ZCounting_cff::TriggerEvent.
|
mutableprivate |
list of L3 collection tags
Definition at line 174 of file TriggerSummaryProducerAOD.h.
|
mutableprivate |
list of L3 filter tags
Definition at line 171 of file TriggerSummaryProducerAOD.h.
|
private |
Definition at line 194 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 197 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 195 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 192 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 199 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 200 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 203 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 204 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 202 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 201 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 208 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 211 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 217 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 209 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 207 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 215 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 216 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 218 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 210 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 213 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 214 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 212 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 196 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 205 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 198 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 206 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 193 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 191 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
trigger object collection
global map for indices into toc_: offset per input L3 collection keys ids packing decision
Definition at line 190 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
module labels which should be avoided
Definition at line 167 of file TriggerSummaryProducerAOD.h.
Referenced by TriggerSummaryProducerAOD().
|
private |
Definition at line 168 of file TriggerSummaryProducerAOD.h.
Referenced by TriggerSummaryProducerAOD().
|
private |
process name
Definition at line 165 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
throw on error
Definition at line 163 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMembers().