#include <L1TMuonDQMOffline.h>
Public Types | |
enum | Control { kCtrlTagPt, kCtrlTagEta, kCtrlTagPhi, kCtrlProbePt, kCtrlProbeEta, kCtrlProbePhi, kCtrlTagProbeDr, kCtrlTagHltDr, kCtrlMuonGmtDeltaR, kCtrlNTightVsAll, kCtrlNProbesVsTight } |
enum | EffType { kEffPt, kEffPhi, kEffEta, kEffVtx } |
enum | EtaRegion { kEtaRegionAll, kEtaRegionBmtf, kEtaRegionOmtf, kEtaRegionEmtf, kEtaRegionOut } |
enum | QualLevel { kQualAll, kQualOpen, kQualDouble, kQualSingle } |
enum | ResType { kResPt, kRes1OverPt, kResQOverPt, kResPhi, kResEta, kResCh } |
Public Member Functions | |
L1TMuonDQMOffline (const edm::ParameterSet &ps) | |
~L1TMuonDQMOffline () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
virtual void | bookControlHistos (DQMStore::IBooker &) |
virtual void | bookEfficiencyHistos (DQMStore::IBooker &ibooker) |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &iSetup) override |
virtual void | bookResolutionHistos (DQMStore::IBooker &ibooker) |
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
Private Types | |
typedef std::tuple< EffType, int, EtaRegion > | m_histoKeyEffDenVarType |
typedef std::pair< int, QualLevel > | m_histoKeyEffNumEtaType |
typedef std::tuple< EffType, int, EtaRegion, QualLevel > | m_histoKeyEffNumVarType |
typedef std::tuple< ResType, EtaRegion, QualLevel > | m_histoKeyResType |
Private Member Functions | |
std::vector< float > | getHistBinsEff (EffType eff) |
std::tuple< int, double, double > | getHistBinsRes (ResType res) |
void | getMuonGmtPairs (edm::Handle< l1t::MuonBxCollection > &gmtCands) |
const unsigned int | getNVertices (edm::Handle< reco::VertexCollection > &vertex) |
const reco::Vertex | getPrimaryVertex (edm::Handle< reco::VertexCollection > &vertex, edm::Handle< reco::BeamSpot > &beamSpot) |
void | getProbeMuons (edm::Handle< edm::TriggerResults > &trigResults, edm::Handle< trigger::TriggerEvent > &trigEvent) |
void | getTightMuons (edm::Handle< reco::MuonCollection > &muons, const reco::Vertex &vertex) |
double | matchHlt (edm::Handle< trigger::TriggerEvent > &triggerEvent, const reco::Muon *mu) |
Definition at line 63 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 104 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 103 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 102 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 101 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kCtrlTagPt | |
kCtrlTagEta | |
kCtrlTagPhi | |
kCtrlProbePt | |
kCtrlProbeEta | |
kCtrlProbePhi | |
kCtrlTagProbeDr | |
kCtrlTagHltDr | |
kCtrlMuonGmtDeltaR | |
kCtrlNTightVsAll | |
kCtrlNProbesVsTight |
Definition at line 65 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEffPt | |
kEffPhi | |
kEffEta | |
kEffVtx |
Definition at line 66 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEtaRegionAll | |
kEtaRegionBmtf | |
kEtaRegionOmtf | |
kEtaRegionEmtf | |
kEtaRegionOut |
Definition at line 68 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kQualAll | |
kQualOpen | |
kQualDouble | |
kQualSingle |
Definition at line 69 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kResPt | |
kRes1OverPt | |
kResQOverPt | |
kResPhi | |
kResEta | |
kResCh |
Definition at line 67 of file L1TMuonDQMOffline.h.
L1TMuonDQMOffline::L1TMuonDQMOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 95 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, kEffEta, kEffPhi, kEffPt, kEffVtx, kEtaRegionAll, kEtaRegionBmtf, kEtaRegionEmtf, kEtaRegionOmtf, kQualAll, kQualDouble, kQualOpen, kQualSingle, kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, kResQOverPt, m_BsInputTag, m_cuts, m_cutsVPSet, m_effLabelStrings, m_effStrings, m_effVsEtaBins, m_effVsPhiBins, m_effVsPtBins, m_effVsVtxBins, m_etaRegions, m_etaStrings, m_GmtInputTag, m_HistFolder, m_maxGmtMuonDR, m_maxHltMuonDR, m_minTagProbeDR, m_MuonInputTag, m_qualLevelsRes, m_qualStrings, m_recoToL1PtCutFactor, m_resLabelStrings, m_resStrings, m_resTypes, m_TagPtCut, m_trigInputTag, m_trigNames, m_trigProcess, m_trigProcess_token, m_useAtVtxCoord, m_verbose, and m_VtxInputTag.
|
override |
Definition at line 146 of file L1TMuonDQMOffline.cc.
|
overrideprotected |
Definition at line 182 of file L1TMuonDQMOffline.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, edm::Event::getByToken(), getMuonGmtPairs(), getNVertices(), getPrimaryVertex(), getProbeMuons(), getTightMuons(), kEffEta, kEffPt, kEffVtx, kEtaRegionAll, kEtaRegionOut, kQualAll, kResPt, m_BsInputTag, m_cuts, m_EfficiencyDenEtaHistos, m_EfficiencyDenPtHistos, m_EfficiencyDenVarHistos, m_EfficiencyNumEtaHistos, m_EfficiencyNumVarHistos, m_effTypes, m_GmtInputTag, m_MuonGmtPairs, m_MuonInputTag, m_qualLevelsRes, m_recoToL1PtCutFactor, m_ResolutionHistos, m_resTypes, m_trigInputTag, m_trigProcess_token, m_verbose, m_VtxInputTag, extraflags_cff::muons, impactParameterTagInfos_cfi::primaryVertex, and JetChargeProducer_cfi::var.
|
protectedvirtual |
Definition at line 304 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), gather_cfg::cout, kCtrlMuonGmtDeltaR, kCtrlNProbesVsTight, kCtrlNTightVsAll, kCtrlProbeEta, kCtrlProbePhi, kCtrlProbePt, kCtrlTagEta, kCtrlTagHltDr, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_HistFolder, m_verbose, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookHistograms().
|
protectedvirtual |
Definition at line 326 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), TkAlMuonSelectors_cfi::cut, getHistBinsEff(), kEffEta, kEffPt, m_cuts, m_EfficiencyDenEtaHistos, m_EfficiencyDenPtHistos, m_EfficiencyDenVarHistos, m_EfficiencyNumEtaHistos, m_EfficiencyNumVarHistos, m_effLabelStrings, m_effStrings, m_effTypes, m_etaRegions, m_etaStrings, m_HistFolder, m_qualStrings, dataset::name, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and JetChargeProducer_cfi::var.
Referenced by bookHistograms().
|
overrideprotected |
Definition at line 156 of file L1TMuonDQMOffline.cc.
References bookControlHistos(), bookEfficiencyHistos(), bookResolutionHistos(), gather_cfg::cout, createfilelist::int, m_hltConfig, m_trigIndices, m_trigNames, m_verbose, HLTConfigProvider::size(), and HLTConfigProvider::triggerName().
|
protectedvirtual |
Definition at line 368 of file L1TMuonDQMOffline.cc.
References DQMStore::IBooker::book1D(), gather_cfg::cout, getHistBinsRes(), m_etaRegions, m_etaStrings, m_HistFolder, m_qualLevelsRes, m_qualStrings, m_resLabelStrings, m_ResolutionHistos, m_resStrings, m_resTypes, m_verbose, dataset::name, pileupCalc::nbins, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, JetChargeProducer_cfi::var, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by bookHistograms().
|
overrideprotected |
Definition at line 148 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, PropagateToMuon::init(), HLTConfigProvider::init(), m_hltConfig, m_propagator, m_trigProcess, and m_verbose.
|
private |
Definition at line 568 of file L1TMuonDQMOffline.cc.
References kEffEta, kEffPhi, kEffPt, kEffVtx, m_effVsEtaBins, m_effVsPhiBins, m_effVsPtBins, and m_effVsVtxBins.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 588 of file L1TMuonDQMOffline.cc.
References DEFINE_FWK_MODULE, kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, and kResQOverPt.
Referenced by bookResolutionHistos().
|
private |
Definition at line 505 of file L1TMuonDQMOffline.cc.
References BXVector< T >::begin(), gather_cfg::cout, MuonGmtPair::dR(), BXVector< T >::end(), MuonGmtPair::getVar(), kCtrlMuonGmtDeltaR, kCtrlProbeEta, kCtrlProbePhi, kCtrlProbePt, kEffEta, kEffPhi, kEffPt, m_ControlHistos, m_maxGmtMuonDR, m_MuonGmtPairs, m_ProbeMuons, m_propagator, m_useAtVtxCoord, and m_verbose.
Referenced by analyze().
|
private |
Definition at line 387 of file L1TMuonDQMOffline.cc.
References edm::HandleBase::isValid().
Referenced by analyze().
|
private |
Definition at line 401 of file L1TMuonDQMOffline.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::HandleBase::isValid(), reco::BeamSpot::position(), impactParameterTagInfos_cfi::primaryVertex, and reco::BeamSpot::sigmaZ().
Referenced by analyze().
|
private |
Definition at line 449 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, particleFlow_cfi::dEta, SoftLeptonByDistance_cfi::distance, particleFlow_cfi::dPhi, PVValHelper::eta, kCtrlNProbesVsTight, kCtrlTagEta, kCtrlTagHltDr, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_minTagProbeDR, m_ProbeMuons, m_TagPtCut, m_TightMuons, m_verbose, matchHlt(), phi, EnergyCorrector::pt, and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 433 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, muon::isTightMuon(), kCtrlNTightVsAll, m_ControlHistos, m_TightMuons, and m_verbose.
Referenced by analyze().
|
private |
Definition at line 540 of file L1TMuonDQMOffline.cc.
References deltaR(), trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), m_hltConfig, m_trigIndices, m_trigProcess, HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), and TriggerAnalyzer::trigObjs.
Referenced by getProbeMuons().
|
private |
Definition at line 150 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 113 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), getMuonGmtPairs(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 125 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 146 of file L1TMuonDQMOffline.h.
Referenced by L1TMuonDQMOffline().
|
private |
Definition at line 111 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 110 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 109 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 108 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 107 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 135 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 134 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 128 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 158 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 157 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 156 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 159 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff(), and L1TMuonDQMOffline().
|
private |
Definition at line 130 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 138 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 148 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 143 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 93 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 123 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 121 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 164 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and L1TMuonDQMOffline().
|
private |
Definition at line 166 of file L1TMuonDQMOffline.h.
Referenced by L1TMuonDQMOffline().
|
private |
Definition at line 165 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 118 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and getMuonGmtPairs().
|
private |
Definition at line 147 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 117 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and getProbeMuons().
|
private |
Definition at line 95 of file L1TMuonDQMOffline.h.
Referenced by dqmBeginRun(), and getMuonGmtPairs().
|
private |
Definition at line 131 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 139 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 120 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 122 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 145 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 137 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 112 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 136 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 129 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookResolutionHistos(), and L1TMuonDQMOffline().
|
private |
Definition at line 144 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 116 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and getTightMuons().
|
private |
Definition at line 161 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 151 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 155 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), and L1TMuonDQMOffline().
|
private |
Definition at line 152 of file L1TMuonDQMOffline.h.
Referenced by dqmBeginRun(), L1TMuonDQMOffline(), and matchHlt().
|
private |
Definition at line 153 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().
|
private |
Definition at line 163 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and L1TMuonDQMOffline().
|
private |
Definition at line 142 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookControlHistos(), bookHistograms(), bookResolutionHistos(), dqmBeginRun(), getMuonGmtPairs(), getProbeMuons(), getTightMuons(), and L1TMuonDQMOffline().
|
private |
Definition at line 149 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and L1TMuonDQMOffline().