#include <HLTMuonPlotter.h>
Classes | |
struct | matchesByDescendingPt |
struct | MatchStruct |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
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 boost::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection >> &) | |
~HLTMuonPlotter () | |
Static Public Member Functions | |
static boost::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection > > | getTokens (const edm::ParameterSet &, edm::ConsumesCollector &&) |
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_ |
L1MuonMatcherAlgo | 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 52 of file HLTMuonPlotter.h.
Definition at line 54 of file HLTMuonPlotter.h.
Definition at line 55 of file HLTMuonPlotter.h.
HLTMuonPlotter::HLTMuonPlotter | ( | const edm::ParameterSet & | , |
std::string | , | ||
const std::vector< std::string > & | , | ||
const std::vector< std::string > & | , | ||
const boost::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection >> & | |||
) |
Definition at line 27 of file HLTMuonPlotter.cc.
References cutsDr_, genMuonCut_, genMuonSelector_, genParticleLabel_, edm::ParameterSet::getParameter(), zMuMuMuonUserData::hltPath, hltPath_, hltProcessName_, hltTriggerSummaryRAW_, moduleLabels_, parametersEta_, parametersPhi_, parametersTurnOn_, recMuonCut_, recMuonLabel_, recMuonSelector_, and stepLabels_.
|
inline |
Definition at line 65 of file HLTMuonPlotter.h.
References analyze(), beginJob(), beginRun(), genMuonSelector_, getTokens(), and recMuonSelector_.
void HLTMuonPlotter::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 110 of file HLTMuonPlotter.cc.
References KineDebug3::count(), cutMaxEta_, cutMinPt_, elements_, PVValHelper::eta, edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), trigger::TriggerEventWithRefs::filterIndex(), spr::find(), findMatches(), genMuonCut_, genMuonSelector_, genParticleLabel_, genParticles2HepMC_cfi::genParticles, edm::Event::getByToken(), trigger::TriggerEventWithRefs::getObjects(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, mps_fire::i, HLT_2018_cff::InputTag, edm::HandleBase::isValid(), dqmiolumiharvest::j, personalPlayback::level, LogTrace, patCandidatesForDimuonsSequences_cff::matches, moduleLabels_, phi, DiDispStaMuonMonitor_cfi::pt, recMuonCut_, recMuonLabel_, recMuonSelector_, findQualityFiles::size, source, CalibrationSummaryClient_cfi::sources, stepLabels_, GlobalPosition_Frontier_DevDB_cff::tag, trigger::TriggerL1Mu, and trigger::TriggerMuon.
Referenced by ~HLTMuonPlotter().
|
private |
Referenced by HLTMuonPlotter::matchesByDescendingPt::operator()().
void HLTMuonPlotter::beginJob | ( | void | ) |
void HLTMuonPlotter::beginRun | ( | DQMStore::IBooker & | iBooker, |
const edm::Run & | iRun, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 62 of file HLTMuonPlotter.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, dqm::dqmstoreimpl::DQMStore::IBooker::bookFloat(), bookHist(), hgcaltilesconstants::ceil(), cutMaxEta_, cutMinPt_, elements_, hltPath_, mps_fire::i, L1MuonMatcherAlgo::init(), dqmiolumiharvest::j, l1Matcher_, convertSQLiteXML::runNumber, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), source, CalibrationSummaryClient_cfi::sources, stepLabels_, and MessageLogger_cff::threshold.
Referenced by ~HLTMuonPlotter().
|
private |
Definition at line 350 of file HLTMuonPlotter.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), SelectiveReadoutTask_cfi::edges, elements_, h, mps_fire::i, createfilelist::int, label, SiStripPI::max, min(), Skims_PA_cff::name, seedmultiplicitymonitor_newtracking_cfi::nBins, parametersEta_, parametersPhi_, parametersTurnOn_, CalibrationSummaryClient_cfi::params, source, and overlapproblemtsosanalyzer_cfi::title.
Referenced by beginRun(), and HLTMuonPlotter::matchesByDescendingPt::operator()().
|
private |
Definition at line 280 of file HLTMuonPlotter.cc.
References begin, deltar::bestMatch(), cutsDr_, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, reco::Candidate::eta(), mps_fire::i, edm::eventsetup::heterocontainer::insert(), dqmiolumiharvest::j, kNull, personalPlayback::level, and reco::Candidate::phi().
Referenced by analyze(), and HLTMuonPlotter::matchesByDescendingPt::operator()().
|
static |
Definition at line 264 of file HLTMuonPlotter.cc.
References edm::ParameterSet::getParameter(), and HLT_2018_cff::InputTag.
Referenced by HLTMuonValidator::HLTMuonValidator(), and ~HLTMuonPlotter().
|
private |
Definition at line 124 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 123 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 125 of file HLTMuonPlotter.h.
|
private |
Definition at line 126 of file HLTMuonPlotter.h.
Referenced by findMatches(), and HLTMuonPlotter().
|
private |
Definition at line 135 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and bookHist().
|
private |
Definition at line 127 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 130 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 116 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 109 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 110 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 115 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 133 of file HLTMuonPlotter.h.
Referenced by beginRun().
|
private |
Definition at line 112 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 119 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 120 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 121 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 128 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 117 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 131 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 113 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().