#include <RecoMuonValidator.h>
Classes | |
struct | CommonME |
struct | HistoDimensions |
struct | MuonME |
Public Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
virtual int | countMuonHits (const reco::Track &track) const |
virtual int | countTrackerHits (const reco::Track &track) const |
virtual void | dqmBeginRun (const edm::Run &, const edm::EventSetup &eventSetup) |
virtual void | endRun () |
RecoMuonValidator (const edm::ParameterSet &pset) | |
~RecoMuonValidator () | |
Public Member Functions inherited from thread_unsafe::DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
DQMEDAnalyzer (void) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Attributes | |
const MuonAssociatorByHits * | assoByHits |
edm::InputTag | beamspotLabel_ |
edm::EDGetTokenT< reco::BeamSpot > | beamspotToken_ |
CommonME * | commonME_ |
DQMStore * | dbe_ |
bool | doAbsEta_ |
bool | doAssoc_ |
HistoDimensions | hDim |
edm::InputTag | muAssocLabel_ |
edm::InputTag | muonLabel_ |
MuonME * | muonME_ |
std::string | muonSelection_ |
edm::EDGetTokenT< edm::View < reco::Muon > > | muonToken_ |
std::string | outputFileName_ |
edm::InputTag | primvertexLabel_ |
edm::EDGetTokenT < reco::VertexCollection > | primvertexToken_ |
edm::ParameterSet | pset |
edm::InputTag | simLabel_ |
edm::EDGetTokenT < TrackingParticleCollection > | simToken_ |
std::string | subDir_ |
std::string | subsystemname_ |
MuonServiceProxy * | theMuonService |
TrackingParticleSelector | tpSelector_ |
MuonAssociatorByHits::MuonTrackType | trackType_ |
bool | usePFMuon_ |
unsigned int | verbose_ |
Private Attributes | |
StringCutObjectSelector < reco::Muon > | selector_ |
bool | wantTightMuon_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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 33 of file RecoMuonValidator.h.
RecoMuonValidator::RecoMuonValidator | ( | const edm::ParameterSet & | pset | ) |
Definition at line 419 of file RecoMuonValidator.cc.
References beamspotLabel_, beamspotToken_, dbe_, RecoMuonValidator::HistoDimensions::doAbsEta, doAbsEta_, doAssoc_, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MuonAssociatorByHits::GlobalTk, hDim, MuonAssociatorByHits::InnerTk, RecoMuonValidator::HistoDimensions::maxDxy, RecoMuonValidator::HistoDimensions::maxDz, RecoMuonValidator::HistoDimensions::maxErrDxy, RecoMuonValidator::HistoDimensions::maxErrDz, RecoMuonValidator::HistoDimensions::maxErrEta, RecoMuonValidator::HistoDimensions::maxErrP, RecoMuonValidator::HistoDimensions::maxErrPhi, RecoMuonValidator::HistoDimensions::maxErrPt, RecoMuonValidator::HistoDimensions::maxErrQPt, RecoMuonValidator::HistoDimensions::maxEta, RecoMuonValidator::HistoDimensions::maxP, RecoMuonValidator::HistoDimensions::maxPhi, RecoMuonValidator::HistoDimensions::maxPt, RecoMuonValidator::HistoDimensions::minDxy, RecoMuonValidator::HistoDimensions::minDz, RecoMuonValidator::HistoDimensions::minErrDxy, RecoMuonValidator::HistoDimensions::minErrDz, RecoMuonValidator::HistoDimensions::minErrEta, RecoMuonValidator::HistoDimensions::minErrP, RecoMuonValidator::HistoDimensions::minErrPhi, RecoMuonValidator::HistoDimensions::minErrPt, RecoMuonValidator::HistoDimensions::minErrQPt, RecoMuonValidator::HistoDimensions::minEta, RecoMuonValidator::HistoDimensions::minP, RecoMuonValidator::HistoDimensions::minPhi, RecoMuonValidator::HistoDimensions::minPt, muAssocLabel_, muonLabel_, MuonServiceProxy_cff::MuonServiceProxy, muonToken_, RecoMuonValidator::HistoDimensions::nAssoc, RecoMuonValidator::HistoDimensions::nBinDxy, RecoMuonValidator::HistoDimensions::nBinDz, RecoMuonValidator::HistoDimensions::nBinErr, RecoMuonValidator::HistoDimensions::nBinEta, RecoMuonValidator::HistoDimensions::nBinP, RecoMuonValidator::HistoDimensions::nBinPhi, RecoMuonValidator::HistoDimensions::nBinPt, RecoMuonValidator::HistoDimensions::nBinPull, RecoMuonValidator::HistoDimensions::nDof, RecoMuonValidator::HistoDimensions::nTrks, cppFunctionSkipper::operator, MuonAssociatorByHits::OuterTk, outputFileName_, Pi, primvertexLabel_, primvertexToken_, MuonAssociatorByHits::Segments, simLabel_, simToken_, AlCaHLTBitMon_QueryRunRegistry::string, subDir_, subsystemname_, theMuonService, tpSelector_, trackType_, RecoMuonValidator::HistoDimensions::usePFMuon, usePFMuon_, verbose_, wantTightMuon_, and RecoMuonValidator::HistoDimensions::wPull.
RecoMuonValidator::~RecoMuonValidator | ( | ) |
Definition at line 606 of file RecoMuonValidator.cc.
References theMuonService.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 639 of file RecoMuonValidator.cc.
References assoByHits, MuonAssociatorByHits::associateMuons(), beamspotToken_, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::View< T >::begin(), commonME_, funct::cos(), countMuonHits(), countTrackerHits(), doAbsEta_, doAssoc_, edm::View< T >::end(), relativeConstraints::error, MonitorElement::Fill(), RecoMuonValidator::MuonME::fill(), edm::Ref< C, T, F >::get(), RecoMuonValidator::CommonME::hMuonAllEta_, RecoMuonValidator::CommonME::hMuonAllP_, RecoMuonValidator::CommonME::hMuonAllPhi_, RecoMuonValidator::CommonME::hMuonAllPt_, RecoMuonValidator::CommonME::hMuonEta_, RecoMuonValidator::CommonME::hMuonP_, RecoMuonValidator::CommonME::hMuonPhi_, RecoMuonValidator::CommonME::hMuonPt_, RecoMuonValidator::CommonME::hMuonTrackDxy_, RecoMuonValidator::CommonME::hMuonTrackDz_, RecoMuonValidator::CommonME::hMuonTrackEta_, RecoMuonValidator::CommonME::hMuonTrackP_, RecoMuonValidator::CommonME::hMuonTrackPhi_, RecoMuonValidator::CommonME::hMuonTrackPt_, RecoMuonValidator::CommonME::hNDeltaInvalidHitsHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsGTHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsITHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsOTHitPattern_, RecoMuonValidator::MuonME::hNMuon_, RecoMuonValidator::MuonME::hNMuonHits_, RecoMuonValidator::MuonME::hNMuonHits_vs_Eta_, RecoMuonValidator::MuonME::hNMuonHits_vs_Pt_, RecoMuonValidator::MuonME::hNSim_, RecoMuonValidator::MuonME::hNSimHits_, RecoMuonValidator::MuonME::hNSimToReco_, RecoMuonValidator::MuonME::hNTrackerHits_, RecoMuonValidator::MuonME::hNTrackerHits_vs_Eta_, RecoMuonValidator::MuonME::hNTrackerHits_vs_Pt_, RecoMuonValidator::MuonME::hNTrksEta_, RecoMuonValidator::MuonME::hNTrksPt_, RecoMuonValidator::MuonME::hSimDxy_, RecoMuonValidator::MuonME::hSimDz_, RecoMuonValidator::MuonME::hSimEta_, RecoMuonValidator::MuonME::hSimP_, RecoMuonValidator::MuonME::hSimPhi_, RecoMuonValidator::MuonME::hSimPt_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHits_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHitsEta_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHitsPt_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHits_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHitsEta_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHitsPt_, i, edm::Ref< C, T, F >::isNonnull(), muon::isTightMuon(), Mu, PatBasicFWLiteAnalyzer::muonEta, muonME_, PatBasicFWLiteAnalyzer::muonPhi, PatBasicFWLiteAnalyzer::muonPt, muonToken_, reco::BeamSpot::position(), position, primvertexToken_, edm::Handle< T >::product(), edm::RefVector< C, T, F >::push_back(), selector_, reco::BeamSpot::sigmaZ(), simToken_, funct::sin(), edm::View< T >::size(), tpSelector_, trackType_, usePFMuon_, wantTightMuon_, and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 549 of file RecoMuonValidator.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), RecoMuonValidator::MuonME::bookHistos(), DQMStore::IBooker::cd(), commonME_, hDim, RecoMuonValidator::CommonME::hMuonAllEta_, RecoMuonValidator::CommonME::hMuonAllP_, RecoMuonValidator::CommonME::hMuonAllPhi_, RecoMuonValidator::CommonME::hMuonAllPt_, RecoMuonValidator::CommonME::hMuonEta_, RecoMuonValidator::CommonME::hMuonP_, RecoMuonValidator::CommonME::hMuonPhi_, RecoMuonValidator::CommonME::hMuonPt_, RecoMuonValidator::CommonME::hMuonTrackDxy_, RecoMuonValidator::CommonME::hMuonTrackDz_, RecoMuonValidator::CommonME::hMuonTrackEta_, RecoMuonValidator::CommonME::hMuonTrackP_, RecoMuonValidator::CommonME::hMuonTrackPhi_, RecoMuonValidator::CommonME::hMuonTrackPt_, RecoMuonValidator::CommonME::hNDeltaInvalidHitsHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsGTHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsITHitPattern_, RecoMuonValidator::CommonME::hNInvalidHitsOTHitPattern_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHits_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHitsEta_, RecoMuonValidator::CommonME::hStaToGlbDiffNMuonHitsPt_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHits_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHitsEta_, RecoMuonValidator::CommonME::hTrkToGlbDiffNTrackerHitsPt_, RecoMuonValidator::HistoDimensions::maxDxy, RecoMuonValidator::HistoDimensions::maxDz, RecoMuonValidator::HistoDimensions::maxEta, RecoMuonValidator::HistoDimensions::maxP, RecoMuonValidator::HistoDimensions::maxPhi, RecoMuonValidator::HistoDimensions::maxPt, RecoMuonValidator::HistoDimensions::minDxy, RecoMuonValidator::HistoDimensions::minDz, RecoMuonValidator::HistoDimensions::minEta, RecoMuonValidator::HistoDimensions::minP, RecoMuonValidator::HistoDimensions::minPhi, RecoMuonValidator::HistoDimensions::minPt, muonME_, RecoMuonValidator::HistoDimensions::nBinDxy, RecoMuonValidator::HistoDimensions::nBinDz, RecoMuonValidator::HistoDimensions::nBinEta, RecoMuonValidator::HistoDimensions::nBinP, RecoMuonValidator::HistoDimensions::nBinPhi, RecoMuonValidator::HistoDimensions::nBinPt, DQMStore::IBooker::setCurrentFolder(), and subDir_.
|
virtual |
Definition at line 889 of file RecoMuonValidator.cc.
References prof2calltree::count, DetId::det(), DetId::Muon, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), and query::result.
Referenced by analyze().
|
virtual |
Definition at line 904 of file RecoMuonValidator.cc.
References prof2calltree::count, DetId::det(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), query::result, and DetId::Tracker.
Referenced by analyze().
|
virtual |
Reimplemented from thread_unsafe::DQMEDAnalyzer.
Definition at line 615 of file RecoMuonValidator.cc.
References assoByHits, doAssoc_, edm::hlt::Exception, edm::EventSetup::get(), edm::InputTag::label(), muAssocLabel_, edm::ESHandle< class >::product(), and theMuonService.
|
virtual |
Definition at line 631 of file RecoMuonValidator.cc.
References dbe_, outputFileName_, and DQMStore::save().
|
protected |
Definition at line 56 of file RecoMuonValidator.h.
Referenced by analyze(), and dqmBeginRun().
|
protected |
Definition at line 59 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 61 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 85 of file RecoMuonValidator.h.
Referenced by analyze(), and bookHistograms().
|
protected |
Definition at line 70 of file RecoMuonValidator.h.
Referenced by endRun(), and RecoMuonValidator().
|
protected |
Definition at line 72 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 73 of file RecoMuonValidator.h.
Referenced by analyze(), dqmBeginRun(), and RecoMuonValidator().
|
protected |
Definition at line 131 of file RecoMuonValidator.h.
Referenced by bookHistograms(), and RecoMuonValidator().
|
protected |
Definition at line 55 of file RecoMuonValidator.h.
Referenced by dqmBeginRun(), and RecoMuonValidator().
|
protected |
Definition at line 50 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 82 of file RecoMuonValidator.h.
Referenced by analyze(), and bookHistograms().
|
protected |
Definition at line 51 of file RecoMuonValidator.h.
|
protected |
Definition at line 53 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 64 of file RecoMuonValidator.h.
Referenced by endRun(), and RecoMuonValidator().
|
protected |
Definition at line 60 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 62 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 67 of file RecoMuonValidator.h.
|
private |
Definition at line 133 of file RecoMuonValidator.h.
Referenced by analyze().
|
protected |
Definition at line 49 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 52 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 65 of file RecoMuonValidator.h.
Referenced by bookHistograms(), and RecoMuonValidator().
|
protected |
Definition at line 66 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 69 of file RecoMuonValidator.h.
Referenced by dqmBeginRun(), RecoMuonValidator(), and ~RecoMuonValidator().
|
protected |
Definition at line 77 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 80 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 74 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 47 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
private |
Definition at line 134 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().