#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 std::tuple< edm::EDGetTokenT< trigger::TriggerEventWithRefs >, edm::EDGetTokenT< reco::GenParticleCollection >, edm::EDGetTokenT< reco::MuonCollection >> &) | |
~HLTMuonPlotter () | |
Static Public Member Functions | |
static std::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 std::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_, TriggerAnalyzer::hltPath, hltPath_, hltProcessName_, hltTriggerSummaryRAW_, moduleLabels_, parametersEta_, parametersPhi_, parametersTurnOn_, muonDTDigis_cfi::pset, recMuonCut_, recMuonLabel_, recMuonSelector_, and stepLabels_.
|
inline |
Definition at line 65 of file HLTMuonPlotter.h.
References genMuonSelector_, and recMuonSelector_.
void HLTMuonPlotter::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 107 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_, genParticles2HepMC_cfi::genParticles, trigger::TriggerEventWithRefs::getObjects(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, mps_fire::i, iEvent, HLT_FULL_cff::InputTag, edm::HandleBase::isValid(), dqmiolumiharvest::j, personalPlayback::level, LogTrace, oniaPATMuonsWithTrigger_cff::matches, moduleLabels_, phi, DiDispStaMuonMonitor_cfi::pt, recMuonCut_, recMuonLabel_, recMuonSelector_, findQualityFiles::size, jetUpdater_cfi::sort, source, CalibrationSummaryClient_cfi::sources, stepLabels_, GlobalPosition_Frontier_DevDB_cff::tag, trigger::TriggerL1Mu, and trigger::TriggerMuon.
|
private |
void HLTMuonPlotter::beginJob | ( | void | ) |
Definition at line 60 of file HLTMuonPlotter.cc.
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::implementation::IBooker::bookFloat(), bookHist(), reco::ceil(), cutMaxEta_, cutMinPt_, elements_, hltPath_, mps_fire::i, L1MuonMatcherAlgo::init(), dqmiolumiharvest::j, l1Matcher_, dqm::implementation::NavigatorBase::setCurrentFolder(), source, CalibrationSummaryClient_cfi::sources, stepLabels_, and remoteMonitoring_LED_IterMethod_cfg::threshold.
|
private |
Definition at line 345 of file HLTMuonPlotter.cc.
References dqm::implementation::IBooker::book1D(), submitPVResolutionJobs::desc, 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 runGCPTkAlMap::title.
Referenced by beginRun().
|
private |
Definition at line 275 of file HLTMuonPlotter.cc.
References deltar::bestMatch(), cutsDr_, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, mps_fire::i, edm::eventsetup::heterocontainer::insert(), dqmiolumiharvest::j, kNull, personalPlayback::level, and oniaPATMuonsWithTrigger_cff::matches.
Referenced by analyze().
|
static |
Definition at line 259 of file HLTMuonPlotter.cc.
References HLT_FULL_cff::InputTag, and muonDTDigis_cfi::pset.
Referenced by HLTMuonValidator::HLTMuonValidator().
|
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().