#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 63 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 119 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 117 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 116 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 114 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 78 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kEtaRegionAll | |
kEtaRegionBmtf | |
kEtaRegionOmtf | |
kEtaRegionEmtf | |
kEtaRegionOut |
Definition at line 80 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kQualAll | |
kQualOpen | |
kQualDouble | |
kQualSingle |
Definition at line 81 of file L1TMuonDQMOffline.h.
Enumerator | |
---|---|
kResPt | |
kRes1OverPt | |
kResQOverPt | |
kResPhi | |
kResEta | |
kResCh |
Definition at line 79 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 214 of file L1TMuonDQMOffline.cc.
References edm::HLTGlobalStatus::accept(), pwdgSkimBPark_cfi::beamSpot, DMR_cfg::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_hltConfig, m_MuonGmtPairs, m_MuonInputTag, m_ProbeMuons, m_propagatorSetup, m_qualLevelsRes, m_recoToL1PtCutFactor, m_ResolutionHistos, m_resTypes, m_TightMuons, m_trigIndices, 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, HLTConfigProvider::triggerName(), trigObjTnPSource_cfi::var, and bphysicsOniaDQM_cfi::vertex.
|
protectedvirtual |
Definition at line 384 of file L1TMuonDQMOffline.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), 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 410 of file L1TMuonDQMOffline.cc.
References dqm::implementation::IBooker::book1D(), DMR_cfg::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(), createfilelist::int, m_hltConfig, m_trigIndices, m_trigNames, m_verbose, HLTConfigProvider::size(), and HLTConfigProvider::triggerName().
|
protectedvirtual |
Definition at line 459 of file L1TMuonDQMOffline.cc.
References dqm::implementation::IBooker::book1D(), 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 HLTConfigProvider::init(), m_hltConfig, m_trigProcess, m_verbose, and writedatasetfile::run.
|
private |
Definition at line 686 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 706 of file L1TMuonDQMOffline.cc.
References kRes1OverPt, kResCh, kResEta, kResPhi, kResPt, and kResQOverPt.
Referenced by bookResolutionHistos().
|
private |
Definition at line 602 of file L1TMuonDQMOffline.cc.
References BXVector< T >::begin(), 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 480 of file L1TMuonDQMOffline.cc.
References L1TkPrimaryVertex_cfi::nVtx, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 494 of file L1TMuonDQMOffline.cc.
References pwdgSkimBPark_cfi::beamSpot, BeamMonitor_cff::primaryVertex, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 541 of file L1TMuonDQMOffline.cc.
References HLT_2022v15_cff::dEta, HLT_2022v15_cff::distance, HLT_2022v15_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 525 of file L1TMuonDQMOffline.cc.
References muon::isTightMuon(), kCtrlNTightVsAll, m_ControlHistos, m_TightMuons, m_verbose, PDWG_BPHSkim_cff::muons, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 637 of file L1TMuonDQMOffline.cc.
References PbPb_ZMuSkimMuonDPG_cff::deltaR, trigger::TriggerObject::eta(), cuy::ii, HLT_2022v15_cff::InputTag, createfilelist::int, m_hltConfig, m_trigIndices, m_trigProcess, m_verbose, HLTConfigProvider::moduleLabels(), amptDefaultParameters_cff::mu, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), PDWG_DiPhoton_SD_cff::triggerEvent, and TriggerAnalyzer::trigObjs.
Referenced by getProbeMuons().
|
private |
Definition at line 165 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 128 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), getMuonGmtPairs(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 140 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 161 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 126 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
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 150 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 149 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos().
|
private |
Definition at line 143 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookEfficiencyHistos().
|
private |
Definition at line 173 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
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 174 of file L1TMuonDQMOffline.h.
Referenced by getHistBinsEff().
|
private |
Definition at line 145 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 153 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 163 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 158 of file L1TMuonDQMOffline.h.
Referenced by bookControlHistos(), bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 106 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 138 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 136 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 179 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs().
|
private |
Definition at line 181 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 180 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons().
|
private |
Definition at line 133 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and getMuonGmtPairs().
|
private |
Definition at line 162 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 132 of file L1TMuonDQMOffline.h.
Referenced by analyze(), getMuonGmtPairs(), and getProbeMuons().
|
private |
Definition at line 108 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 146 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 154 of file L1TMuonDQMOffline.h.
Referenced by bookEfficiencyHistos(), and bookResolutionHistos().
|
private |
Definition at line 135 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 137 of file L1TMuonDQMOffline.h.
|
private |
Definition at line 160 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 152 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos().
|
private |
Definition at line 127 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 151 of file L1TMuonDQMOffline.h.
Referenced by bookResolutionHistos().
|
private |
Definition at line 144 of file L1TMuonDQMOffline.h.
Referenced by analyze(), and bookResolutionHistos().
|
private |
Definition at line 159 of file L1TMuonDQMOffline.h.
Referenced by getProbeMuons().
|
private |
Definition at line 131 of file L1TMuonDQMOffline.h.
Referenced by analyze(), getProbeMuons(), and getTightMuons().
|
private |
Definition at line 176 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookHistograms(), and matchHlt().
|
private |
Definition at line 166 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 170 of file L1TMuonDQMOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 167 of file L1TMuonDQMOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 168 of file L1TMuonDQMOffline.h.
Referenced by analyze().
|
private |
Definition at line 178 of file L1TMuonDQMOffline.h.
Referenced by getMuonGmtPairs().
|
private |
Definition at line 157 of file L1TMuonDQMOffline.h.
Referenced by analyze(), bookControlHistos(), bookHistograms(), bookResolutionHistos(), dqmBeginRun(), getMuonGmtPairs(), getProbeMuons(), getTightMuons(), and matchHlt().
|
private |
Definition at line 164 of file L1TMuonDQMOffline.h.
Referenced by analyze().