#include <HLTMuonPlotter.h>
Classes | |
struct | matchesByDescendingPt |
struct | MatchStruct |
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 53 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(), TriggerAnalyzer::hltPath, hltPath_, hltProcessName_, hltTriggerSummaryRAW_, moduleLabels_, parametersEta_, parametersPhi_, parametersTurnOn_, recMuonCut_, recMuonLabel_, recMuonSelector_, and stepLabels_.
|
inline |
Definition at line 63 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_, GenHFHadronMatcher_cfi::genParticles, edm::Event::getByToken(), trigger::TriggerEventWithRefs::getObjects(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, mps_fire::i, edm::HandleBase::isValid(), hcalDigis_cfi::level, LogTrace, patRefSel_triggerMatching_cfi::matches, moduleLabels_, phi, EnergyCorrector::pt, recMuonCut_, recMuonLabel_, recMuonSelector_, findQualityFiles::size, source, 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 DQMStore::IBooker::bookFloat(), bookHist(), cutMaxEta_, cutMinPt_, elements_, hltPath_, mps_fire::i, L1MuonMatcherAlgo::init(), l1Matcher_, convertSQLiteXML::runNumber, DQMStore::IBooker::setCurrentFolder(), source, stepLabels_, and electronIdCutBased_cfi::threshold.
Referenced by ~HLTMuonPlotter().
|
private |
Definition at line 350 of file HLTMuonPlotter.cc.
References DQMStore::IBooker::book1D(), elements_, h, mps_fire::i, createfilelist::int, label, SiStripPI::max, min(), dataset::name, parametersEta_, parametersPhi_, parametersTurnOn_, source, and runGCPTkAlMap::title.
Referenced by beginRun(), and HLTMuonPlotter::matchesByDescendingPt::operator()().
|
private |
Definition at line 280 of file HLTMuonPlotter.cc.
References begin, deltar::bestMatch(), cutsDr_, boostedElectronIsolation_cff::deltaR, reco::Candidate::eta(), mps_fire::i, edm::eventsetup::heterocontainer::insert(), kNull, hcalDigis_cfi::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().
Referenced by HLTMuonValidator::HLTMuonValidator(), and ~HLTMuonPlotter().
|
private |
Definition at line 122 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 121 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 123 of file HLTMuonPlotter.h.
|
private |
Definition at line 124 of file HLTMuonPlotter.h.
Referenced by findMatches(), and HLTMuonPlotter().
|
private |
Definition at line 133 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and bookHist().
|
private |
Definition at line 125 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 128 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 114 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 107 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 108 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 113 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 131 of file HLTMuonPlotter.h.
Referenced by beginRun().
|
private |
Definition at line 110 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 117 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 118 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 119 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 126 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 129 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 111 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().