#include <TriggerSummaryProducerAOD.h>
Classes | |
struct | OrderInputTag |
InputTag ordering class. More... | |
Private Types | |
typedef std::set < edm::InputTag, OrderInputTag > | InputTagSet |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
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) |
This class is an EDProducer making the HLT summary object for AOD
See header file for documentation
Definition at line 62 of file TriggerSummaryProducerAOD.h.
|
private |
Definition at line 114 of file TriggerSummaryProducerAOD.h.
|
explicit |
Definition at line 52 of file TriggerSummaryProducerAOD.cc.
References edm::ProducerBase::callWhenNewProductsRegistered(), collectionTagsEvent_, collectionTagsGlobal_, filterTagsEvent_, filterTagsGlobal_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getMETCollection_, getPFJetCollection_, getPFTauCollection_, edm::service::TriggerNamesService::getProcessName(), getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, edm::Service< T >::isAvailable(), LogDebug, and pn_.
TriggerSummaryProducerAOD::~TriggerSummaryProducerAOD | ( | ) |
Definition at line 123 of file TriggerSummaryProducerAOD.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 537 of file TriggerSummaryProducerAOD.cc.
References collectionTagsGlobal_, benchmark_cfg::fb, and filterTagsGlobal_.
void TriggerSummaryProducerAOD::fillFilterObjectMember | ( | const int & | offset, |
const int & | id, | ||
const edm::Ref< C > & | ref | ||
) |
Definition at line 465 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 473 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 487 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::CaloMETCollection > & | ref | ||
) |
Definition at line 501 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 519 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 424 of file TriggerSummaryProducerAOD.cc.
References funct::C, edm::InputTag::encode(), fillFilterObjectMember(), edm::Event::getProvenance(), i, instance, diffTwoXMLs::label, min, edm::Provenance::moduleLabel(), n, mergeVDriftHistosByStation::name, offset_, evf::utils::pid, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), and L1Trigger_dataformats::reco.
Referenced by produce().
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const T & | object | ) |
Definition at line 353 of file TriggerSummaryProducerAOD.cc.
References toc_.
Referenced by fillTriggerObjectCollections().
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const l1extra::L1HFRings & | object | ) |
Definition at line 361 of file TriggerSummaryProducerAOD.cc.
References toc_, trigger::TriggerL1HfBitCounts, and trigger::TriggerL1HfRingEtSums.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const l1extra::L1EtMissParticle & | object | ) |
Definition at line 380 of file TriggerSummaryProducerAOD.cc.
References toc_, trigger::TriggerL1ETT, and trigger::TriggerL1HTT.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const reco::CaloMET & | object | ) |
Definition at line 397 of file TriggerSummaryProducerAOD.cc.
References L1Trigger_dataformats::reco, toc_, trigger::TriggerELongit, trigger::TriggerMETSig, and trigger::TriggerTET.
void TriggerSummaryProducerAOD::fillTriggerObject | ( | const reco::MET & | object | ) |
Definition at line 410 of file TriggerSummaryProducerAOD.cc.
References L1Trigger_dataformats::reco, 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 312 of file TriggerSummaryProducerAOD.cc.
References collectionTagsEvent_, edm::GetterOfProducts< T >::fillHandles(), fillTriggerObject(), i, instance, keys_, diffTwoXMLs::label, edm::Provenance::moduleLabel(), n, offset_, evf::utils::pid, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), L1Trigger_dataformats::reco, findQualityFiles::size, tags_, and toc_.
|
virtual |
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::EDProducer.
Definition at line 161 of file TriggerSummaryProducerAOD.cc.
References collectionTagsEvent_, collectionTagsGlobal_, benchmark_cfg::fb, fillFilterObjectMembers(), edm::GetterOfProducts< T >::fillHandles(), filterTagsEvent_, filterTagsGlobal_, getCaloJetCollection_, getCaloMETCollection_, getCompositeCandidateCollection_, getElectronCollection_, getIsolatedPixelTrackCandidateCollection_, getL1EmParticleCollection_, getL1EtMissParticleCollection_, getL1HFRingsCollection_, getL1JetParticleCollection_, getL1MuonParticleCollection_, getMETCollection_, getPFJetCollection_, getPFTauCollection_, getRecoChargedCandidateCollection_, getRecoEcalCandidateCollection_, getTriggerFilterObjectWithRefs_, ids_, iEvent, instance, edm::isDebugEnabled(), keys_, diffTwoXMLs::label, LogDebug, LogTrace, maskFilters_, offset_, pn_, LaserDQM_cfg::process, edm::Event::put(), L1Trigger_dataformats::reco, tags_, and toc_.
|
private |
list of L3 collection tags
Definition at line 121 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObjectCollections(), produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 122 of file TriggerSummaryProducerAOD.h.
Referenced by endJob(), produce(), and TriggerSummaryProducerAOD().
|
private |
list of L3 filter tags
Definition at line 117 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 118 of file TriggerSummaryProducerAOD.h.
Referenced by endJob(), produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 142 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 145 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 143 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 140 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 146 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 147 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 150 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 151 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 149 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 148 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 144 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 152 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 153 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 141 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 139 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 138 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
ids
Definition at line 133 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMember(), and produce().
|
private |
keys
Definition at line 131 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMember(), fillTriggerObjectCollections(), and produce().
|
private |
packing decision
Definition at line 136 of file TriggerSummaryProducerAOD.h.
Referenced by produce().
|
private |
global map for indices into toc_: offset per input L3 collection
Definition at line 128 of file TriggerSummaryProducerAOD.h.
Referenced by fillFilterObjectMembers(), fillTriggerObjectCollections(), and produce().
|
private |
process name
Definition at line 94 of file TriggerSummaryProducerAOD.h.
Referenced by produce(), and TriggerSummaryProducerAOD().
|
private |
Definition at line 126 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObjectCollections(), and produce().
|
private |
trigger object collection
Definition at line 125 of file TriggerSummaryProducerAOD.h.
Referenced by fillTriggerObject(), fillTriggerObjectCollections(), and produce().