#include <HLTMuonPlotter.h>
Classes | |
struct | matchesByDescendingPt |
struct | MatchStruct |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef L1MuonMatcherAlgoT< edm::Transition::BeginRun > | L1MuonMatcherAlgoForDQM |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | beginRun (DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) |
HLTMuonPlotter (const edm::ParameterSet &, std::string, const std::vector< std::string > &, const std::vector< std::string > &, const edm::EDGetTokenT< trigger::TriggerEventWithRefs > &, const edm::EDGetTokenT< reco::GenParticleCollection > &, const edm::EDGetTokenT< reco::MuonCollection > &, const L1MuonMatcherAlgoForDQM &) | |
~HLTMuonPlotter () | |
Private Member Functions | |
void | analyzePath (const edm::Event &, const std::string &, const std::string &, const std::vector< MatchStruct > &, edm::Handle< trigger::TriggerEventWithRefs >) |
void | bookHist (DQMStore::IBooker &, std::string, std::string, std::string, std::string) |
void | findMatches (std::vector< MatchStruct > &, const l1t::MuonVectorRef &candsL1, const std::vector< std::vector< const reco::RecoChargedCandidate *>> &) |
Private Attributes | |
double | cutMaxEta_ |
double | cutMinPt_ |
unsigned int | cutMotherId_ |
std::vector< double > | cutsDr_ |
std::map< std::string, MonitorElement * > | elements_ |
std::string | genMuonCut_ |
StringCutObjectSelector< reco::GenParticle > * | genMuonSelector_ |
edm::EDGetTokenT< reco::GenParticleCollection > | genParticleLabel_ |
std::string | hltPath_ |
std::string | hltProcessName_ |
edm::EDGetTokenT< trigger::TriggerEventWithRefs > | hltTriggerSummaryRAW_ |
L1MuonMatcherAlgoForDQM | l1Matcher_ |
std::vector< std::string > | moduleLabels_ |
std::vector< double > | parametersEta_ |
std::vector< double > | parametersPhi_ |
std::vector< double > | parametersTurnOn_ |
std::string | recMuonCut_ |
edm::EDGetTokenT< reco::MuonCollection > | recMuonLabel_ |
StringCutObjectSelector< reco::Muon > * | recMuonSelector_ |
std::vector< std::string > | stepLabels_ |
Generate histograms for muon trigger efficiencies Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/MuonHLTOfflinePerformance
Definition at line 47 of file HLTMuonPlotter.h.
Definition at line 49 of file HLTMuonPlotter.h.
Definition at line 51 of file HLTMuonPlotter.h.
Definition at line 50 of file HLTMuonPlotter.h.
HLTMuonPlotter::HLTMuonPlotter | ( | const edm::ParameterSet & | , |
std::string | , | ||
const std::vector< std::string > & | , | ||
const std::vector< std::string > & | , | ||
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > & | , | ||
const edm::EDGetTokenT< reco::GenParticleCollection > & | , | ||
const edm::EDGetTokenT< reco::MuonCollection > & | , | ||
const L1MuonMatcherAlgoForDQM & | |||
) |
Definition at line 31 of file HLTMuonPlotter.cc.
References cutsDr_, genMuonCut_, genMuonSelector_, genParticleLabel_, TriggerAnalyzer::hltPath, hltPath_, hltProcessName_, hltTriggerSummaryRAW_, moduleLabels_, parametersEta_, parametersPhi_, parametersTurnOn_, muonDTDigis_cfi::pset, recMuonCut_, recMuonLabel_, recMuonSelector_, and stepLabels_.
|
inline |
Definition at line 62 of file HLTMuonPlotter.h.
References genMuonSelector_, and recMuonSelector_.
void HLTMuonPlotter::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 109 of file HLTMuonPlotter.cc.
References submitPVResolutionJobs::count, cutMaxEta_, cutMinPt_, elements_, PVValHelper::eta, edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), trigger::TriggerEventWithRefs::filterIndex(), spr::find(), findMatches(), genMuonCut_, genMuonSelector_, genParticleLabel_, AJJGenJetFilter_cfi::genParticles, trigger::TriggerEventWithRefs::getObjects(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, mps_fire::i, iEvent, HLT_2022v15_cff::InputTag, edm::HandleBase::isValid(), dqmiolumiharvest::j, personalPlayback::level, LogTrace, oniaPATMuonsWithTrigger_cff::matches, moduleLabels_, phi, DiDispStaMuonMonitor_cfi::pt, recMuonCut_, recMuonLabel_, recMuonSelector_, findQualityFiles::size, jetsAK4_CHS_cff::sort, source, CalibrationSummaryClient_cfi::sources, stepLabels_, makeGlobalPositionRcd_cfg::tag, trigger::TriggerL1Mu, and trigger::TriggerMuon.
|
private |
void HLTMuonPlotter::beginJob | ( | void | ) |
Definition at line 62 of file HLTMuonPlotter.cc.
void HLTMuonPlotter::beginRun | ( | DQMStore::IBooker & | iBooker, |
const edm::Run & | iRun, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 64 of file HLTMuonPlotter.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, dqm::implementation::IBooker::bookFloat(), bookHist(), reco::ceil(), cutMaxEta_, cutMinPt_, elements_, hltPath_, mps_fire::i, L1MuonMatcherAlgoT< Tr >::init(), dqmiolumiharvest::j, l1Matcher_, dqm::implementation::NavigatorBase::setCurrentFolder(), source, CalibrationSummaryClient_cfi::sources, stepLabels_, and remoteMonitoring_LASER_era2018_cfg::threshold.
|
private |
Definition at line 328 of file HLTMuonPlotter.cc.
References dqm::implementation::IBooker::book1D(), submitPVResolutionJobs::desc, SelectiveReadoutTask_cfi::edges, elements_, h, mps_fire::i, createfilelist::int, label, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, seedmultiplicitymonitor_newtracking_cfi::nBins, parametersEta_, parametersPhi_, parametersTurnOn_, submitPVValidationJobs::params, source, and runGCPTkAlMap::title.
Referenced by beginRun().
|
private |
Definition at line 258 of file HLTMuonPlotter.cc.
References deltar::bestMatch(), cutsDr_, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, mps_fire::i, edm::eventsetup::heterocontainer::insert(), dqmiolumiharvest::j, personalPlayback::level, and oniaPATMuonsWithTrigger_cff::matches.
Referenced by analyze().
|
private |
Definition at line 116 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 115 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 117 of file HLTMuonPlotter.h.
|
private |
Definition at line 118 of file HLTMuonPlotter.h.
Referenced by findMatches(), and HLTMuonPlotter().
|
private |
Definition at line 127 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and bookHist().
|
private |
Definition at line 119 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 122 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 108 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 101 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 102 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 107 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 125 of file HLTMuonPlotter.h.
Referenced by beginRun().
|
private |
Definition at line 104 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 111 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 112 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 113 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 120 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 109 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 123 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 105 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().