#include <GlobalMuonMatchAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | computeEfficiencyEta (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2) |
void | computeEfficiencyPt (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2) |
virtual void | endJob () |
virtual void | endRun () |
Private Attributes | |
DQMStore * | dbe_ |
edm::InputTag | glbName_ |
edm::EDGetTokenT< edm::View < reco::Track > > | glbToken_ |
MonitorElement * | h_effic |
MonitorElement * | h_efficPt |
MonitorElement * | h_fake |
MonitorElement * | h_fakeMatch |
MonitorElement * | h_fakePt |
MonitorElement * | h_goodMatch |
MonitorElement * | h_goodMatchSim |
MonitorElement * | h_shouldMatch |
MonitorElement * | h_staOnlySim |
MonitorElement * | h_tkOnlySim |
MonitorElement * | h_totReco |
const TrackAssociatorBase * | muAssociator_ |
std::string | muAssociatorName_ |
std::string | out |
edm::InputTag | staName_ |
edm::EDGetTokenT< edm::View < reco::Track > > | staToken_ |
const TrackAssociatorBase * | tkAssociator_ |
std::string | tkAssociatorName_ |
edm::InputTag | tkName_ |
edm::EDGetTokenT< edm::View < reco::Track > > | tkToken_ |
edm::InputTag | tpName_ |
edm::EDGetTokenT< edm::View < reco::Track > > | tpToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 43 of file GlobalMuonMatchAnalyzer.h.
|
explicit |
Class: GlobalMuonMatchAnalyzer
Authors :
Definition at line 38 of file GlobalMuonMatchAnalyzer.cc.
References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, glbToken_, muAssociatorName_, cppFunctionSkipper::operator, out, staName_, staToken_, AlCaHLTBitMon_QueryRunRegistry::string, tkAssociatorName_, tkName_, tkToken_, tpName_, and tpToken_.
GlobalMuonMatchAnalyzer::~GlobalMuonMatchAnalyzer | ( | ) |
Definition at line 60 of file GlobalMuonMatchAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 75 of file GlobalMuonMatchAnalyzer.cc.
References TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), reco::TrackBase::eta(), MonitorElement::Fill(), edm::Event::getByToken(), glbToken_, h_fakeMatch, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, i, electronStore::links, muAssociator_, reco::TrackBase::pt(), dt_dqm_sourceclient_common_cff::reco, staToken_, tkAssociator_, tkToken_, and tpToken_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 228 of file GlobalMuonMatchAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 243 of file GlobalMuonMatchAnalyzer.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::cd(), dbe_, TrackerOfflineValidation_Dqm_cff::dirName, edm::EventSetup::get(), h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, muAssociator_, muAssociatorName_, edm::ESHandle< class >::product(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tkAssociator_, and tkAssociatorName_.
|
private |
Definition at line 277 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, relativeConstraints::error, MonitorElement::getTH2F(), dt_dqm_sourceclient_common_cff::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endRun().
|
private |
Definition at line 307 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, relativeConstraints::error, MonitorElement::getTH2F(), dt_dqm_sourceclient_common_cff::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endRun().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 231 of file GlobalMuonMatchAnalyzer.cc.
|
privatevirtual |
Definition at line 233 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 DQMStore::save().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 70 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().