#include <GlobalMuonMatchAnalyzer.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | computeEfficiencyEta (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2) |
void | computeEfficiencyPt (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2) |
void | dqmEndRun (const edm::Run &, const edm::EventSetup &) override |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer<> | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::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 |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMOneEDAnalyzer<> | |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
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) |
Protected Attributes inherited from DQMOneEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 39 of file GlobalMuonMatchAnalyzer.h.
|
explicit |
Class: GlobalMuonMatchAnalyzer
Authors :
Definition at line 34 of file GlobalMuonMatchAnalyzer.cc.
References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, glbToken_, iConfig, muAssociatorName_, muAssociatorToken_, out, staName_, staToken_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, tkAssociatorName_, tkAssociatorToken_, tkName_, tkToken_, tpName_, and tpToken_.
|
override |
Definition at line 60 of file GlobalMuonMatchAnalyzer.cc.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 70 of file GlobalMuonMatchAnalyzer.cc.
References reco::TrackToTrackingParticleAssociator::associateRecoToSim(), reco::TrackToTrackingParticleAssociator::associateSimToReco(), edm::AssociationMap< Tag >::end(), reco::TrackBase::eta(), dqm::impl::MonitorElement::Fill(), edm::AssociationMap< Tag >::find(), glbToken_, h_fakeMatch, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, mps_fire::i, iEvent, electronStore::links, muAssociatorToken_, edm::Handle< T >::product(), reco::TrackBase::pt(), staToken_, tkAssociatorToken_, tkToken_, cmsswSequenceInfo::tp, and tpToken_.
|
overrideprivatevirtual |
Implements DQMOneEDAnalyzer<>.
Definition at line 222 of file GlobalMuonMatchAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), TrackerOfflineValidation_Dqm_cff::dirName, h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::implementation::IBooker::setScope(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 251 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, relativeConstraints::error, dqm::impl::MonitorElement::getTH2F(), hgcalTowerMapProducer_cfi::nBinsEta, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by dqmEndRun().
|
private |
Definition at line 281 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, relativeConstraints::error, dqm::impl::MonitorElement::getTH2F(), dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by dqmEndRun().
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 209 of file GlobalMuonMatchAnalyzer.cc.
References computeEfficiencyEta(), computeEfficiencyPt(), dbe_, h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatchSim, h_shouldMatch, h_totReco, out, and dqm::implementation::DQMStore::save().
|
private |
Definition at line 54 of file GlobalMuonMatchAnalyzer.h.
Referenced by dqmEndRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and dqmEndRun().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and dqmEndRun().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and dqmEndRun().
|
private |
Definition at line 58 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and dqmEndRun().
|
private |
Definition at line 58 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 57 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 57 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 57 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 57 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 58 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 55 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 53 of file GlobalMuonMatchAnalyzer.h.
Referenced by dqmEndRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 56 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().