#include <RecoMuonValidator.h>
Classes | |
struct | CommonME |
struct | MuonME |
Public Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &eventSetup) |
virtual int | countMuonHits (const reco::Track &track) const |
virtual int | countTrackerHits (const reco::Track &track) const |
virtual void | endRun () |
RecoMuonValidator (const edm::ParameterSet &pset) | |
~RecoMuonValidator () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Attributes | |
const MuonAssociatorByHits * | assoByHits |
edm::InputTag | beamspotLabel_ |
CommonME * | commonME_ |
bool | doAbsEta_ |
bool | doAssoc_ |
edm::InputTag | muAssocLabel_ |
edm::InputTag | muonLabel_ |
MuonME * | muonME_ |
std::string | muonSelection_ |
std::string | outputFileName_ |
edm::InputTag | primvertexLabel_ |
edm::InputTag | simLabel_ |
std::string | subDir_ |
DQMStore * | theDQM |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 25 of file RecoMuonValidator.h.
RecoMuonValidator::RecoMuonValidator | ( | const edm::ParameterSet & | pset | ) |
Definition at line 469 of file RecoMuonValidator.cc.
References beamspotLabel_, DQMStore::book1D(), DQMStore::book2D(), RecoMuonValidator::MuonME::bookHistograms(), DQMStore::cd(), commonME_, doAbsEta_, doAssoc_, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MuonAssociatorByHits::GlobalTk, 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_, MuonAssociatorByHits::InnerTk, muAssocLabel_, muonLabel_, muonME_, MuonServiceProxy_cff::MuonServiceProxy, HistoDimensions::nBinP, cppFunctionSkipper::operator, MuonAssociatorByHits::OuterTk, outputFileName_, Pi, primvertexLabel_, MuonAssociatorByHits::Segments, DQMStore::setCurrentFolder(), DQMStore::showDirStructure(), simLabel_, AlCaHLTBitMon_QueryRunRegistry::string, subDir_, theDQM, theMuonService, tpSelector_, trackType_, usePFMuon_, verbose_, and wantTightMuon_.
RecoMuonValidator::~RecoMuonValidator | ( | ) |
Definition at line 646 of file RecoMuonValidator.cc.
References theMuonService.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 678 of file RecoMuonValidator.cc.
References assoByHits, MuonAssociatorByHits::associateMuons(), beamspotLabel_, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::View< T >::begin(), commonME_, funct::cos(), countMuonHits(), countTrackerHits(), doAbsEta_, doAssoc_, edm::View< T >::end(), 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, muonLabel_, muonME_, reco::BeamSpot::position(), position, primvertexLabel_, edm::Handle< T >::product(), edm::RefVector< C, T, F >::push_back(), selector_, reco::BeamSpot::sigmaZ(), simLabel_, funct::sin(), edm::View< T >::size(), theDQM, tpSelector_, trackType_, usePFMuon_, wantTightMuon_, and PV3DBase< T, PVType, FrameType >::x().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 654 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 926 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 941 of file RecoMuonValidator.cc.
References prof2calltree::count, DetId::det(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), query::result, and DetId::Tracker.
Referenced by analyze().
|
virtual |
Definition at line 670 of file RecoMuonValidator.cc.
References outputFileName_, DQMStore::save(), and theDQM.
|
protected |
Definition at line 45 of file RecoMuonValidator.h.
Referenced by analyze(), and beginRun().
|
protected |
Definition at line 47 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 68 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 56 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 57 of file RecoMuonValidator.h.
Referenced by analyze(), beginRun(), and RecoMuonValidator().
|
protected |
Definition at line 44 of file RecoMuonValidator.h.
Referenced by beginRun(), and RecoMuonValidator().
|
protected |
Definition at line 41 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 65 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 42 of file RecoMuonValidator.h.
|
protected |
Definition at line 50 of file RecoMuonValidator.h.
Referenced by endRun(), and RecoMuonValidator().
|
protected |
Definition at line 48 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
private |
Definition at line 72 of file RecoMuonValidator.h.
Referenced by analyze().
|
protected |
Definition at line 40 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 51 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
protected |
Definition at line 54 of file RecoMuonValidator.h.
Referenced by analyze(), endRun(), and RecoMuonValidator().
|
protected |
Definition at line 53 of file RecoMuonValidator.h.
Referenced by beginRun(), RecoMuonValidator(), and ~RecoMuonValidator().
|
protected |
Definition at line 60 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 63 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 58 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().
|
protected |
Definition at line 38 of file RecoMuonValidator.h.
Referenced by RecoMuonValidator().
|
private |
Definition at line 73 of file RecoMuonValidator.h.
Referenced by analyze(), and RecoMuonValidator().