#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Private Member Functions | |
void | bookHistos (const std::string &group) |
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_ |
DQMStore * | theDbe |
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::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 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 43 of file MuonPFAnalyzer.cc.
References edm::ParameterSet::getParameter(), and LogTrace.
MuonPFAnalyzer::~MuonPFAnalyzer | ( | ) |
|
virtual |
Perform the PF - TUNEP muon analysis.
Implements edm::EDAnalyzer.
Definition at line 106 of file MuonPFAnalyzer.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, reco::CompositeRefCandidateT< D >::begin(), eta(), dataDML::fillInRange(), reco::Muon::innerTrack(), edm::Ref< C, T, F >::isNull(), reco::Muon::isPFMuon(), muon::isTightMuon(), metsig::muon, patZpeak::muons, reco::LeafCandidate::p4(), phi, RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), and reco::Muon::tunePMuonBestTrack().
|
virtual |
Initialize an book plots.
Reimplemented from edm::EDAnalyzer.
Definition at line 79 of file MuonPFAnalyzer.cc.
References bookHistos(), LogTrace, and cppFunctionSkipper::operator.
|
private |
Definition at line 291 of file MuonPFAnalyzer.cc.
References LogTrace, and plotResiduals::plot().
|
inlineprivate |
Definition at line 389 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 434 of file MuonPFAnalyzer.cc.
References MonitorElement::Fill(), MonitorElement::getTH1(), timingPdfMaker::histo, i, edm::max(), edm::min(), relativeConstraints::value, x, and detailsBasic3DVector::y.
|
private |
Definition at line 366 of file MuonPFAnalyzer.cc.
References LogTrace.
|
private |
Definition at line 549 of file MuonPFAnalyzer.cc.
References edm::HandleBase::isValid().
|
private |
Definition at line 468 of file MuonPFAnalyzer.cc.
References reco::Muon::muonBestTrackType(), and reco::Muon::tunePMuonBestTrackType().
|
private |
Definition at line 492 of file MuonPFAnalyzer.cc.
References funct::abs(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, edm::HandleBase::isValid(), PatBasicFWLiteAnalyzer::muonEta, and PatBasicFWLiteAnalyzer::muonPhi.
|
private |
Definition at line 408 of file MuonPFAnalyzer.cc.
References MonitorElement::getTH1(), and timingPdfMaker::histo.
|
private |
Definition at line 88 of file MuonPFAnalyzer.h.
|
private |
Definition at line 92 of file MuonPFAnalyzer.h.
|
private |
Definition at line 103 of file MuonPFAnalyzer.h.
|
private |
Definition at line 85 of file MuonPFAnalyzer.h.
|
private |
Definition at line 97 of file MuonPFAnalyzer.h.
|
private |
Definition at line 99 of file MuonPFAnalyzer.h.
|
private |
Definition at line 90 of file MuonPFAnalyzer.h.
|
private |
Definition at line 94 of file MuonPFAnalyzer.h.
|
private |
Definition at line 95 of file MuonPFAnalyzer.h.
|
private |
Definition at line 98 of file MuonPFAnalyzer.h.
|
private |
Definition at line 86 of file MuonPFAnalyzer.h.
|
private |
Definition at line 101 of file MuonPFAnalyzer.h.
|
private |
Definition at line 87 of file MuonPFAnalyzer.h.