#include <GlobalMuonMatchAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
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 () |
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 |
edm::ParameterSet | iConfig |
const TrackAssociatorBase * | muAssociator_ |
std::string | muAssociatorName_ |
std::string | out |
edm::InputTag | staName_ |
edm::EDGetTokenT< edm::View < reco::Track > > | staToken_ |
std::string | subsystemname_ |
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 45 of file GlobalMuonMatchAnalyzer.h.
|
explicit |
Class: GlobalMuonMatchAnalyzer
Authors :
Definition at line 39 of file GlobalMuonMatchAnalyzer.cc.
References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, glbToken_, iConfig, muAssociatorName_, cppFunctionSkipper::operator, out, staName_, staToken_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemname_, tkAssociatorName_, tkName_, tkToken_, tpName_, and tpToken_.
GlobalMuonMatchAnalyzer::~GlobalMuonMatchAnalyzer | ( | ) |
Definition at line 63 of file GlobalMuonMatchAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 78 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.
|
overrideprivatevirtual |
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 245 of file GlobalMuonMatchAnalyzer.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), 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::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tkAssociator_, and tkAssociatorName_.
|
private |
Definition at line 283 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 313 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 63 of file GlobalMuonMatchAnalyzer.h.
Referenced by endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 68 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 68 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 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 69 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 67 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), bookHistograms(), and endRun().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 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 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 71 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by endRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 71 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file GlobalMuonMatchAnalyzer.h.
Referenced by bookHistograms(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 73 of file GlobalMuonMatchAnalyzer.h.
Referenced by GlobalMuonMatchAnalyzer().
|
private |
Definition at line 74 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().