#include <MuonPFAnalyzer.h>
Public Types | |
typedef std::vector< RecoGenPair > | RecoGenCollection |
typedef std::pair< const reco::Muon *, const reco::GenParticle * > | RecoGenPair |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
MuonPFAnalyzer (const edm::ParameterSet &) | |
Constructor. More... | |
~MuonPFAnalyzer () override | |
Destructor. More... | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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_ |
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, extraflags_cff::muons, reco::LeafCandidate::p4(), impactParameterTagInfos_cfi::primaryVertex, EnergyCorrector::pt, reco::LeafCandidate::pt(), and reco::Muon::tunePMuonBestTrack().
|
override |
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(), boostedElectronIsolation_cff::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.