#include <L1TMuonDQMOffline.h>
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 |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
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, PropagateToMuon const &propagator) |
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) |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Definition at line 62 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 118 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 116 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 115 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 113 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kCtrlTagPt | |
kCtrlTagEta | |
kCtrlTagPhi | |
kCtrlProbePt | |
kCtrlProbeEta | |
kCtrlProbePhi | |
kCtrlTagProbeDr | |
kCtrlTagHltDr | |
kCtrlMuonGmtDeltaR | |
kCtrlNTightVsAll | |
kCtrlNProbesVsTight |
Definition at line 64 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEffPt | |
kEffPhi | |
kEffEta | |
kEffVtx |
Definition at line 77 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEtaRegionAll | |
kEtaRegionBmtf | |
kEtaRegionOmtf | |
kEtaRegionEmtf | |
kEtaRegionOut |
Definition at line 79 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kQualAll | |
kQualOpen | |
kQualDouble | |
kQualSingle |
Definition at line 80 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kResPt | |
kRes1OverPt | |
kResQOverPt | |
kResPhi | |
kResEta | |
kResCh |
Definition at line 78 of file L1TMuonDQMOffline.h.
L1TMuonDQMOffline::L1TMuonDQMOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 110 of file L1TMuonDQMOffline.cc.
References kEffEta, kEffPhi, kEffPt, and kEffVtx.
|
override |
Definition at line 175 of file L1TMuonDQMOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 212 of file L1TMuonDQMOffline.cc.
References pwdgSkimBPark_cfi::beamSpot, gather_cfg::cout, PA_MinBiasSkim_cff::cut, options_cfi::eventSetup, getMuonGmtPairs(), getNVertices(), getPrimaryVertex(), getProbeMuons(), getTightMuons(), iEvent, 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_propagatorSetup, m_qualLevelsRes, m_recoToL1PtCutFactor, m_ResolutionHistos, m_resTypes, m_trigInputTag, m_trigProcess_token, m_verbose, m_VtxInputTag, PDWG_BPHSkim_cff::muons, L1TkPrimaryVertex_cfi::nVtx, BeamMonitor_cff::primaryVertex, TrackCandidateProducer_cfi::propagator, L1TMuonDQMOffline_cfi::qualCut, B2GTnPMonitor_cfi::trigEvent, trigObjTnPSource_cfi::var, and bphysicsOniaDQM_cfi::vertex.
|
protectedvirtual |
Definition at line 338 of file L1TMuonDQMOffline.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), gather_cfg::cout, kCtrlMuonGmtDeltaR, kCtrlNProbesVsTight, kCtrlNTightVsAll, kCtrlProbeEta, kCtrlProbePhi, kCtrlProbePt, kCtrlTagEta, kCtrlTagHltDr, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_HistFolder, m_verbose, and dqm::implementation::NavigatorBase::setCurrentFolder().
Referenced by bookHistograms().
|
protectedvirtual |
Definition at line 364 of file L1TMuonDQMOffline.cc.
References dqm::implementation::IBooker::book1D(), PA_MinBiasSkim_cff::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, Skims_PA_cff::name, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and trigObjTnPSource_cfi::var.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 185 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 413 of file L1TMuonDQMOffline.cc.
References dqm::implementation::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, Skims_PA_cff::name, LaserClient_cfi::nbins, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, trigObjTnPSource_cfi::var, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 177 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, HLTConfigProvider::init(), m_hltConfig, m_trigProcess, m_verbose, and writedatasetfile::run.
|
private |
Definition at line 619 of file L1TMuonDQMOffline.cc.
References L1TMuonDQMOffline_cfi::effVsEtaBins, L1TMuonDQMOffline_cfi::effVsPhiBins, L1TMuonDQMOffline_cfi::effVsPtBins, L1TMuonDQMOffline_cfi::effVsVtxBins, kEffEta, kEffPhi, kEffPt, kEffVtx, m_effVsEtaBins, m_effVsPhiBins, m_effVsPtBins, and m_effVsVtxBins.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 639 of file L1TMuonDQMOffline.cc.
References kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, and kResQOverPt.
Referenced by bookResolutionHistos().
|
private |
Definition at line 556 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_useAtVtxCoord, m_verbose, and TrackCandidateProducer_cfi::propagator.
Referenced by analyze().
|
private |
Definition at line 434 of file L1TMuonDQMOffline.cc.
References L1TkPrimaryVertex_cfi::nVtx, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 448 of file L1TMuonDQMOffline.cc.
References pwdgSkimBPark_cfi::beamSpot, BeamMonitor_cff::primaryVertex, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 495 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, HLT_2022v11_cff::dEta, HLT_2022v11_cff::distance, HLT_2022v11_cff::dPhi, PVValHelper::eta, kCtrlNProbesVsTight, kCtrlTagEta, kCtrlTagHltDr, kCtrlTagPhi, kCtrlTagProbeDr, kCtrlTagPt, m_ControlHistos, m_minTagProbeDR, m_ProbeMuons, m_TagPtCut, m_TightMuons, m_verbose, matchHlt(), phi, DiDispStaMuonMonitor_cfi::pt, mathSSE::sqrt(), and B2GTnPMonitor_cfi::trigEvent.
Referenced by analyze().
|
private |
Definition at line 479 of file L1TMuonDQMOffline.cc.
References gather_cfg::cout, muon::isTightMuon(), kCtrlNTightVsAll, m_ControlHistos, m_TightMuons, m_verbose, PDWG_BPHSkim_cff::muons, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 591 of file L1TMuonDQMOffline.cc.
References PbPb_ZMuSkimMuonDPG_cff::deltaR, HLT_2022v11_cff::InputTag, m_hltConfig, m_trigIndices, m_trigProcess, HLTConfigProvider::moduleLabels(), amptDefaultParameters_cff::mu, HLTConfigProvider::size(), PDWG_DiPhoton_SD_cff::triggerEvent, and TriggerAnalyzer::trigObjs.
Referenced by getProbeMuons().
|
private |
Definition at line 164 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 127 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), getMuonGmtPairs(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 139 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 160 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 125 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 124 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 123 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 122 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 121 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 149 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 148 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 142 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 172 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
private |
Definition at line 171 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
private |
Definition at line 170 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
private |
Definition at line 173 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
private |
Definition at line 144 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 152 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 162 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 157 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 105 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 137 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 135 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 178 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs().
|
private |
Definition at line 180 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 179 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons().
|
private |
Definition at line 132 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and getMuonGmtPairs().
|
private |
Definition at line 161 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 131 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs(), and getProbeMuons().
|
private |
Definition at line 107 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 145 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 153 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 134 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 136 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 159 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 151 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos().
|
private |
Definition at line 126 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 150 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos().
|
private |
Definition at line 143 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 158 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons().
|
private |
Definition at line 130 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons(), and getTightMuons().
|
private |
Definition at line 175 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 165 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 169 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 166 of file L1TMuonDQMOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 167 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 177 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs().
|
private |
Definition at line 156 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookControlHistos(), bookHistograms(), bookResolutionHistos(), dqmBeginRun(), getMuonGmtPairs(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 163 of file L1TMuonDQMOffline.h.
Referenced by analyze().