#include <MuonPFAnalyzer.h>
Public Types | |
typedef std::vector< RecoGenPair > | RecoGenCollection |
typedef std::pair< const reco::Muon *, const reco::GenParticle * > | RecoGenPair |
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 |
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &, const std::string &) |
float | combRelIso (const reco::Muon *muon) |
float | fDeltaPhi (float phi1, float phi2) |
void | fillInRange (MonitorElement *plot, int nAxis, double x, double y=0) |
MonitorElement * | getPlot (const std::string &group, const std::string &type) |
const reco::Vertex | getPrimaryVertex (edm::Handle< reco::VertexCollection > &vertex, edm::Handle< reco::BeamSpot > &beamSpot) |
int | muonTrackType (const reco::Muon *muon, bool usePF) |
void | recoToGenMatch (edm::Handle< reco::MuonCollection > &reco, edm::Handle< reco::GenParticleCollection > &gen) |
void | setCodeLabels (MonitorElement *plot, int nAxis) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | theBeamSpotLabel_ |
std::string | theFolder |
edm::EDGetTokenT< reco::GenParticleCollection > | theGenLabel_ |
double | theHighPtTh |
double | theIsoCut |
std::vector< std::string > | theMuonKinds |
std::map< std::string, std::map< std::string, MonitorElement * > > | thePlots |
RecoGenCollection | theRecoGen |
double | theRecoGenR |
edm::EDGetTokenT< reco::MuonCollection > | theRecoLabel_ |
bool | theRunOnMC |
edm::EDGetTokenT< reco::VertexCollection > | theVertexLabel_ |
Additional Inherited Members | |
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 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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 34 of file MuonPFAnalyzer.h.
typedef std::vector<RecoGenPair> MuonPFAnalyzer::RecoGenCollection |
Definition at line 39 of file MuonPFAnalyzer.h.
typedef std::pair<const reco::Muon*, const reco::GenParticle*> MuonPFAnalyzer::RecoGenPair |
Definition at line 38 of file MuonPFAnalyzer.h.
|
explicit |
Constructor.
Definition at line 42 of file MuonPFAnalyzer.cc.
References edm::ParameterSet::getParameter(), and LogTrace.
|
override |
|
override |
Definition at line 92 of file MuonPFAnalyzer.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, PVValHelper::eta, dataDML::fillInRange(), runTauDisplay::genMuons, PFJetFilter_cfi::genPt, edmIntegrityCheck::group, reco::Muon::innerTrack(), edm::Ref< C, T, F >::isNull(), reco::Muon::isPFMuon(), muon::isTightMuon(), callgraph::kind, nano_cff::muons, reco::LeafCandidate::p4(), impactParameterTagInfos_cfi::primaryVertex, EnergyCorrector::pt, reco::LeafCandidate::pt(), and reco::Muon::tunePMuonBestTrack().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 71 of file MuonPFAnalyzer.cc.
References bookHistos().
|
private |
Definition at line 277 of file MuonPFAnalyzer.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), edmIntegrityCheck::group, LogTrace, plotFactory::plot, and DQMStore::IBooker::setCurrentFolder().
|
inlineprivate |
Definition at line 376 of file MuonPFAnalyzer.cc.
References reco::MuonIsolation::emEt, reco::MuonIsolation::hadEt, reco::Muon::isolationR03(), reco::LeafCandidate::pt(), and reco::MuonIsolation::sumPt.
|
inlineprivate |
|
private |
Definition at line 421 of file MuonPFAnalyzer.cc.
References MonitorElement::Fill(), MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, edm::max(), and edm::min().
|
private |
Definition at line 353 of file MuonPFAnalyzer.cc.
References LogTrace.
|
private |
Definition at line 536 of file MuonPFAnalyzer.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), DEFINE_FWK_MODULE, edm::HandleBase::isValid(), reco::BeamSpot::position(), impactParameterTagInfos_cfi::primaryVertex, and reco::BeamSpot::sigmaZ().
|
private |
Definition at line 455 of file MuonPFAnalyzer.cc.
References reco::Muon::muonBestTrackType(), None, and reco::Muon::tunePMuonBestTrackType().
|
private |
Definition at line 479 of file MuonPFAnalyzer.cc.
References funct::abs(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, edm::HandleBase::isValid(), PatBasicFWLiteAnalyzer::muonEta, and PatBasicFWLiteAnalyzer::muonPhi.
|
private |
Definition at line 395 of file MuonPFAnalyzer.cc.
References MonitorElement::getTH1(), and trackerHits::histo.
|
private |
Definition at line 85 of file MuonPFAnalyzer.h.
|
private |
Definition at line 99 of file MuonPFAnalyzer.h.
|
private |
Definition at line 82 of file MuonPFAnalyzer.h.
|
private |
Definition at line 93 of file MuonPFAnalyzer.h.
|
private |
Definition at line 95 of file MuonPFAnalyzer.h.
|
private |
Definition at line 87 of file MuonPFAnalyzer.h.
|
private |
Definition at line 90 of file MuonPFAnalyzer.h.
|
private |
Definition at line 91 of file MuonPFAnalyzer.h.
|
private |
Definition at line 94 of file MuonPFAnalyzer.h.
|
private |
Definition at line 83 of file MuonPFAnalyzer.h.
|
private |
Definition at line 97 of file MuonPFAnalyzer.h.
|
private |
Definition at line 84 of file MuonPFAnalyzer.h.