#include <GlobalMuonMatchAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () |
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) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
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 |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 46 of file GlobalMuonMatchAnalyzer.h.
|
explicit |
Class: GlobalMuonMatchAnalyzer
Authors :
Definition at line 37 of file GlobalMuonMatchAnalyzer.cc.
References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, glbToken_, iConfig, muAssociatorName_, muAssociatorToken_, Utilities::operator, out, staName_, staToken_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, tkAssociatorName_, tkAssociatorToken_, tkName_, tkToken_, tpName_, and tpToken_.
GlobalMuonMatchAnalyzer::~GlobalMuonMatchAnalyzer | ( | ) |
Definition at line 64 of file GlobalMuonMatchAnalyzer.cc.
|
overrideprivatevirtual |
Definition at line 79 of file GlobalMuonMatchAnalyzer.cc.
References reco::TrackToTrackingParticleAssociator::associateRecoToSim(), reco::TrackToTrackingParticleAssociator::associateSimToReco(), edm::AssociationMap< Tag >::end(), reco::TrackBase::eta(), MonitorElement::Fill(), edm::AssociationMap< Tag >::find(), edm::Event::getByToken(), glbToken_, h_fakeMatch, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, mps_fire::i, muAssociatorToken_, edm::Handle< T >::product(), reco::TrackBase::pt(), staToken_, tkAssociatorToken_, tkToken_, and tpToken_.
|
privatevirtual |
Definition at line 231 of file GlobalMuonMatchAnalyzer.cc.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 248 of file GlobalMuonMatchAnalyzer.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::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, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 278 of file GlobalMuonMatchAnalyzer.cc.
References stringResolutionProvider_cfi::bin, relativeConstraints::error, MonitorElement::getTH2F(), MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endRun().
|
private |
Definition at line 308 of file GlobalMuonMatchAnalyzer.cc.
References stringResolutionProvider_cfi::bin, relativeConstraints::error, MonitorElement::getTH2F(), MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endRun().
|
privatevirtual |
Definition at line 234 of file GlobalMuonMatchAnalyzer.cc.
|
overrideprivatevirtual |
Definition at line 236 of file GlobalMuonMatchAnalyzer.cc.
References computeEfficiencyEta(), computeEfficiencyPt(), dbe_, h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatchSim, h_shouldMatch, h_totReco, and out.
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 75 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 72 of file GlobalMuonMatchAnalyzer.h.
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 76 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 75 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 72 of file GlobalMuonMatchAnalyzer.h.
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 76 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 75 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 75 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().