#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 | beginRun (DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) |
HLTMuonPlotter (const edm::ParameterSet &, const 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 ()=default | |
Private Member Functions | |
void | bookHist (DQMStore::IBooker &, const std::string &, const std::string &, const std::string &, const std::string &) |
void | findMatches (std::vector< MatchStruct > &, const l1t::MuonVectorRef &candsL1, const std::vector< std::vector< const reco::RecoChargedCandidate *>> &) |
template<typename T > | |
std::string | vector_to_string (std::vector< T > const &vec, std::string const &delimiter=" ") const |
Private Attributes | |
double | cutMaxEta_ |
double | cutMinPt_ |
std::vector< double > const | cutsDr_ |
std::unordered_map< std::string, MonitorElement * > | elements_ |
StringCutObjectSelector< reco::GenParticle > const | genMuonSelector_ |
edm::EDGetTokenT< reco::GenParticleCollection > const | genParticleToken_ |
std::string const | hltPath_ |
std::string const | hltProcessName_ |
bool | isInvalid_ |
L1MuonMatcherAlgoForDQM | l1Matcher_ |
std::vector< std::string > const | moduleLabels_ |
std::vector< double > const | parametersEta_ |
std::vector< double > const | parametersPhi_ |
std::vector< double > const | parametersTurnOn_ |
StringCutObjectSelector< reco::Muon > const | recMuonSelector_ |
edm::EDGetTokenT< reco::MuonCollection > const | recMuonToken_ |
std::vector< std::string > const | stepLabels_ |
edm::EDGetTokenT< trigger::TriggerEventWithRefs > const | triggerEventWithRefsToken_ |
Generate histograms for muon trigger efficiencies Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/MuonHLTOfflinePerformance
Definition at line 44 of file HLTMuonPlotter.h.
Definition at line 46 of file HLTMuonPlotter.h.
Definition at line 48 of file HLTMuonPlotter.h.
Definition at line 47 of file HLTMuonPlotter.h.
HLTMuonPlotter::HLTMuonPlotter | ( | const edm::ParameterSet & | pset, |
const std::string & | hltPath, | ||
const std::vector< std::string > & | moduleLabels, | ||
const std::vector< std::string > & | stepLabels, | ||
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > & | triggerEventWithRefsToken, | ||
const edm::EDGetTokenT< reco::GenParticleCollection > & | genParticlesToken, | ||
const edm::EDGetTokenT< reco::MuonCollection > & | recoMuonsToken, | ||
const L1MuonMatcherAlgoForDQM & | l1Matcher | ||
) |
Definition at line 26 of file HLTMuonPlotter.cc.
References submitPVResolutionJobs::err, custom_jme_cff::foo, hltPath_, isInvalid_, moduleLabels_, and stepLabels_.
|
default |
void HLTMuonPlotter::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 117 of file HLTMuonPlotter.cc.
References funct::abs(), submitPVResolutionJobs::count, cutMaxEta_, cutMinPt_, elements_, PVValHelper::eta, spr::find(), findMatches(), genMuonSelector_, EgammaValidation_cff::genp, genParticleToken_, hltPath_, hltProcessName_, mps_fire::i, heavyIonCSV_trainingSettings::idx, iEvent, ProducerED_cfi::InputTag, isInvalid_, dqmiolumiharvest::j, personalPlayback::level, LogTrace, oniaPATMuonsWithTrigger_cff::matches, moduleLabels_, phi, DiDispStaMuonMonitor_cfi::pt, push_back(), recMuonSelector_, recMuonToken_, edm::path_configuration::removeSchedulingTokensFromModuleLabel(), jetUpdater_cfi::sort, source, CalibrationSummaryClient_cfi::sources, stepLabels_, AlCaHLTBitMon_QueryRunRegistry::string, triggerEventWithRefsToken_, trigger::TriggerL1Mu, trigger::TriggerMuon, and vector_to_string().
void HLTMuonPlotter::beginRun | ( | DQMStore::IBooker & | iBooker, |
const edm::Run & | iRun, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 69 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(), isInvalid_, dqmiolumiharvest::j, l1Matcher_, dqm::implementation::NavigatorBase::setCurrentFolder(), source, CalibrationSummaryClient_cfi::sources, stepLabels_, AlCaHLTBitMon_QueryRunRegistry::string, and remoteMonitoring_LASER_era2018_cfg::threshold.
|
private |
Definition at line 395 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, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by beginRun().
|
private |
Definition at line 333 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 122 of file HLTMuonPlotter.h.
References makeHLTPrescaleTable::delimiter, custom_jme_cff::foo, and runTheMatrix::ret.
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 105 of file HLTMuonPlotter.h.
Referenced by findMatches().
|
private |
Definition at line 118 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and bookHist().
|
private |
Definition at line 103 of file HLTMuonPlotter.h.
Referenced by analyze().
|
private |
Definition at line 100 of file HLTMuonPlotter.h.
Referenced by analyze().
|
private |
Definition at line 93 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 94 of file HLTMuonPlotter.h.
Referenced by analyze().
|
private |
Definition at line 113 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 111 of file HLTMuonPlotter.h.
Referenced by beginRun().
|
private |
Definition at line 96 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 107 of file HLTMuonPlotter.h.
Referenced by bookHist().
|
private |
Definition at line 108 of file HLTMuonPlotter.h.
Referenced by bookHist().
|
private |
Definition at line 109 of file HLTMuonPlotter.h.
Referenced by bookHist().
|
private |
Definition at line 104 of file HLTMuonPlotter.h.
Referenced by analyze().
|
private |
Definition at line 101 of file HLTMuonPlotter.h.
Referenced by analyze().
|
private |
Definition at line 97 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 99 of file HLTMuonPlotter.h.
Referenced by analyze().