#include <TriggerSummaryProducerAOD.h>
Classes | |
struct | OrderInputTag |
InputTag ordering class. More... | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const GlobalInputTags *) |
static std::unique_ptr< GlobalInputTags > | initializeGlobalCache (edm::ParameterSet const &) |
Private Types | |
typedef std::set< edm::InputTag, OrderInputTag > | InputTagSet |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< GlobalInputTags > > | |
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 |
This class is an EDProducer making the HLT summary object for AOD
See header file for documentation
Definition at line 84 of file TriggerSummaryProducerAOD.h.
|
private |
Definition at line 150 of file TriggerSummaryProducerAOD.h.
|
explicit |
Definition at line 76 of file TriggerSummaryProducerAOD.cc.
References collectionTagsEvent_, collectionTagsStream_, relativeConstraints::empty, filterTagsEvent_, filterTagsStream_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TTauParticleCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, edm::service::TriggerNamesService::getProcessName(), getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, instance, edm::Service< T >::isAvailable(), label, LogDebug, match(), HLT_2018_cff::moduleLabelPatternsToMatch, moduleLabelPatternsToMatch_, HLT_2018_cff::moduleLabelPatternsToSkip, moduleLabelPatternsToSkip_, pn_, LaserDQM_cfg::process, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, unpackBuffers-CaloStage2::token, and ~TriggerSummaryProducerAOD().
|
overridedefault |
Referenced by TriggerSummaryProducerAOD().
|
override |
Definition at line 659 of file TriggerSummaryProducerAOD.cc.
References collectionTagsStream_, and filterTagsStream_.
|
static |
Definition at line 218 of file TriggerSummaryProducerAOD.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< C > & | ref | ||
) |
Definition at line 565 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), and keys_.
Referenced by fillFilterObjectMembers().
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< l1extra::L1HFRingsCollection > & | ref | ||
) |
Definition at line 572 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), keys_, and trigger::TriggerL1HfBitCounts.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< l1extra::L1EtMissParticleCollection > & | ref | ||
) |
Definition at line 587 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< reco::PFMETCollection > & | ref | ||
) |
Definition at line 602 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< reco::CaloMETCollection > & | ref | ||
) |
Definition at line 621 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< reco::METCollection > & | ref | ||
) |
Definition at line 640 of file TriggerSummaryProducerAOD.cc.
References ids_, edm::Ref< C, T, F >::key(), keys_, trigger::TriggerELongit, trigger::TriggerHLongit, trigger::TriggerMETSig, trigger::TriggerMHTSig, trigger::TriggerTET, and trigger::TriggerTHT.
void TriggerSummaryProducerAOD::fillFilterObjectMembers | ( | const edm::Event & | iEvent, |
const edm::InputTag & | tag, | ||
const trigger::Vids & | ids, | ||
const std::vector< edm::Ref< C >> & | refs | ||
) |
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 512 of file TriggerSummaryProducerAOD.cc.
References gen::C, edm::InputTag::encode(), Exception, fillFilterObjectMember(), edm::Event::getProvenance(), mps_fire::i, HLT_2018_cff::InputTag, instance, edm::ProductID::isValid(), label, min(), edm::Provenance::moduleLabel(), dqmiodumpmetadata::n, Skims_PA_cff::name, offset_, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), and throw_.
Referenced by produce().
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const T & | object | ) |
Definition at line 434 of file TriggerSummaryProducerAOD.cc.
References toc_.
Referenced by fillTriggerObjectCollections().
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const l1extra::L1HFRings & | object | ) |
Definition at line 441 of file TriggerSummaryProducerAOD.cc.
References toc_, trigger::TriggerL1HfBitCounts, and trigger::TriggerL1HfRingEtSums.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const l1extra::L1EtMissParticle & | object | ) |
Definition at line 459 of file TriggerSummaryProducerAOD.cc.
References toc_, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const reco::PFMET & | object | ) |
Definition at line 475 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, toc_, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const reco::CaloMET & | object | ) |
Definition at line 487 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, toc_, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const reco::MET & | object | ) |
Definition at line 499 of file TriggerSummaryProducerAOD.cc.
References objects.METAnalyzer::sumEt, toc_, trigger::TriggerHLongit, trigger::TriggerMHTSig, and trigger::TriggerTHT.
void TriggerSummaryProducerAOD::fillTriggerObjectCollections | ( | const edm::Event & | iEvent, |
edm::GetterOfProducts< C > & | getter | ||
) |
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 392 of file TriggerSummaryProducerAOD.cc.
References oniaPATMuonsWithTrigger_cff::collections, collectionTagsEvent_, edm::GetterOfProducts< T >::fillHandles(), fillTriggerObject(), mps_fire::i, instance, keys_, label, edm::Provenance::moduleLabel(), dqmiodumpmetadata::n, offset_, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), findQualityFiles::size, tags_, and toc_.
|
static |
Definition at line 665 of file TriggerSummaryProducerAOD.cc.
References EcalCalibMonitorTasks_cfi::collectionTags, GlobalInputTags::collectionTagsGlobal_, HLT_2018_cff::distance, benchmark_cfg::fb, and GlobalInputTags::filterTagsGlobal_.
|
inlinestatic |
Definition at line 94 of file TriggerSummaryProducerAOD.h.
References GlobalPosition_Frontier_DevDB_cff::tag.
|
override |
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
Definition at line 232 of file TriggerSummaryProducerAOD.cc.
References collectionTagsEvent_, collectionTagsStream_, HLT_2018_cff::distance, benchmark_cfg::fb, fillFilterObjectMembers(), edm::GetterOfProducts< T >::fillHandles(), filterTagsEvent_, filterTagsStream_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getL1TEGammaParticleCollection_, getL1TEtSumParticleCollection_, getL1TJetParticleCollection_, getL1TMuonParticleCollection_, getL1TTauParticleCollection_, getMETCollection_, getPFJetCollection_, getPFMETCollection_, getPFTauCollection_, getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, ids_, iEvent, HLT_2018_cff::InputTag, instance, edm::isDebugEnabled(), keys_, label, LogDebug, LogTrace, maskFilters_, HerwigMaxPtPartonFilter_cfi::moduleLabel, eostools::move(), offset_, pn_, LaserDQM_cfg::process, SimL1EmulatorRepack_CalouGT_cff::processName, trigger::TriggerEvent::sizeFilters(), trigger::TriggerEvent::sizeObjects(), tags_, toc_, and ZCounting_cff::TriggerEvent.
|
private |
list of L3 collection tags
Definition at line 157 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObjectCollections(), produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 158 of file TriggerSummaryProducerAOD.h.
Referenced by endStream(), produce(), and TriggerSummaryProducerAOD().
|
private |
list of L3 filter tags
Definition at line 153 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 154 of file TriggerSummaryProducerAOD.h.
Referenced by endStream(), produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 178 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 181 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 179 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 176 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 183 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 184 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 187 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 188 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 186 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 185 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 195 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 |
Definition at line 194 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 180 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 189 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 182 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 190 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 177 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 175 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 174 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
ids
Definition at line 169 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMember(), and produce().
|
private |
keys
Definition at line 167 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMember(), fillTriggerObjectCollections(), and produce().
|
private |
packing decision
Definition at line 172 of file TriggerSummaryProducerAOD.h.
Referenced by produce().
|
private |
module labels which should be avoided
Definition at line 129 of file TriggerSummaryProducerAOD.h.
Referenced by TriggerSummaryProducerAOD().
|
private |
Definition at line 130 of file TriggerSummaryProducerAOD.h.
Referenced by TriggerSummaryProducerAOD().
|
private |
global map for indices into toc_: offset per input L3 collection
Definition at line 164 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMembers(), fillTriggerObjectCollections(), and produce().
|
private |
process name
Definition at line 127 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 162 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObjectCollections(), and produce().
|
private |
throw on error
Definition at line 125 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMembers().
|
private |
trigger object collection
Definition at line 161 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObject(), fillTriggerObjectCollections(), and produce().