#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::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
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 DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 42 of file MuonPFAnalyzer.cc.
References edm::ParameterSet::getParameter(), and LogTrace.
MuonPFAnalyzer::~MuonPFAnalyzer | ( | ) |
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 92 of file MuonPFAnalyzer.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, reco::Candidate::begin(), eta(), dataDML::fillInRange(), watchdog::group, reco::Muon::innerTrack(), edm::Ref< C, T, F >::isNull(), reco::Muon::isPFMuon(), muon::isTightMuon(), class-composition::kind, digitizers_cfi::muon, patZpeak::muons, reco::LeafCandidate::p4(), phi, HLT_25ns14e33_v1_cff::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(), watchdog::group, LogTrace, plotResiduals::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(), timingPdfMaker::histo, i, edm::max(), edm::min(), relativeConstraints::value, x, and detailsBasic3DVector::y.
|
private |
Definition at line 353 of file MuonPFAnalyzer.cc.
References LogTrace.
|
private |
Definition at line 536 of file MuonPFAnalyzer.cc.
References edm::HandleBase::isValid(), and HLT_25ns14e33_v1_cff::primaryVertex.
|
private |
Definition at line 455 of file MuonPFAnalyzer.cc.
References reco::Muon::muonBestTrackType(), FSQ::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 timingPdfMaker::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.