#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 = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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_Fake1_cff::moduleLabelPatternsToMatch, moduleLabelPatternsToMatch_, HLT_Fake1_cff::moduleLabelPatternsToSkip, moduleLabelPatternsToSkip_, pn_, and reject.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::global::EDProducerBase.
Definition at line 758 of file TriggerSummaryProducerAOD.cc.
References EcalCalibMonitorTasks_cfi::collectionTags, collectionTagsGlobal_, HLT_FULL_cff::distance, and filterTagsGlobal_.
|
static |
Definition at line 225 of file TriggerSummaryProducerAOD.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 653 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 678 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 661 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 716 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 737 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 695 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_FULL_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, makeGlobalPositionRcd_cfg::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_FULL_cff::distance, 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_FULL_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().