#include <GlobalMuonMatchAnalyzer.h>
Public Member Functions | |
GlobalMuonMatchAnalyzer (const edm::ParameterSet &) | |
~GlobalMuonMatchAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 () |
Private Attributes | |
DQMStore * | dbe_ |
edm::InputTag | glbName_ |
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_ |
const TrackAssociatorBase * | tkAssociator_ |
std::string | tkAssociatorName_ |
edm::InputTag | tkName_ |
edm::InputTag | tpName_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
|
explicit |
Class: GlobalMuonMatchAnalyzer
Authors :
Definition at line 43 of file GlobalMuonMatchAnalyzer.cc.
References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, muAssociatorName_, cppFunctionSkipper::operator, out, staName_, AlCaHLTBitMon_QueryRunRegistry::string, tkAssociatorName_, tkName_, and tpName_.
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::getByLabel(), glbName_, h_fakeMatch, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, i, electronStore::links, muAssociator_, reco::TrackBase::pt(), L1Trigger_dataformats::reco, staName_, tkAssociator_, tkName_, and tpName_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 228 of file GlobalMuonMatchAnalyzer.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::cd(), dbe_, 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::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 262 of file GlobalMuonMatchAnalyzer.cc.
References edm::EventSetup::get(), muAssociator_, muAssociatorName_, edm::ESHandle< class >::product(), tkAssociator_, and tkAssociatorName_.
|
private |
Definition at line 277 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, error, MonitorElement::getTH2F(), L1Trigger_dataformats::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endJob().
|
private |
Definition at line 307 of file GlobalMuonMatchAnalyzer.cc.
References newFWLiteAna::bin, error, MonitorElement::getTH2F(), L1Trigger_dataformats::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().
Referenced by endJob().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 252 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 57 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginJob(), endJob(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 61 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 61 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 62 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 60 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 64 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 56 of file GlobalMuonMatchAnalyzer.h.
Referenced by endJob(), and 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 analyze(), and beginRun().
|
private |
Definition at line 65 of file GlobalMuonMatchAnalyzer.h.
Referenced by beginRun(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().
|
private |
Definition at line 66 of file GlobalMuonMatchAnalyzer.h.
Referenced by analyze(), and GlobalMuonMatchAnalyzer().