#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 std::vector< l1extra::L1MuonParticleRef > &, 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 58 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 36 of file HLTMuonPlotter.cc.
References cutsDr_, genMuonCut_, genMuonSelector_, genParticleLabel_, edm::ParameterSet::getParameter(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, moduleLabels_, parametersEta_, parametersPhi_, parametersTurnOn_, recMuonCut_, recMuonLabel_, recMuonSelector_, and stepLabels_.
|
inline |
Definition at line 69 of file HLTMuonPlotter.h.
References genMuonSelector_, and recMuonSelector_.
void HLTMuonPlotter::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 137 of file HLTMuonPlotter.cc.
References prof2calltree::count, cutMaxEta_, cutMinPt_, elements_, eta, edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), spr::find(), findMatches(), genMuonCut_, genMuonSelector_, genParticleLabel_, genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByToken(), hltPath_, hltProcessName_, hltTriggerSummaryRAW_, i, HLT_25ns14e33_v1_cff::InputTag, edm::HandleBase::isValid(), j, testEve_cfg::level, LogTrace, matches, moduleLabels_, phi, EnergyCorrector::pt, recMuonCut_, recMuonLabel_, recMuonSelector_, findQualityFiles::size, python.multivaluedict::sort(), source, relval_parameters_module::step, stepLabels_, GlobalPosition_Frontier_DevDB_cff::tag, trigger::TriggerL1Mu, and trigger::TriggerMuon.
|
private |
void HLTMuonPlotter::beginJob | ( | void | ) |
Definition at line 75 of file HLTMuonPlotter.cc.
void HLTMuonPlotter::beginRun | ( | DQMStore::IBooker & | iBooker, |
const edm::Run & | iRun, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 83 of file HLTMuonPlotter.cc.
References DQMStore::IBooker::bookFloat(), bookHist(), cutMaxEta_, cutMinPt_, elements_, hltPath_, i, L1MuonMatcherAlgo::init(), j, l1Matcher_, convertSQLiteXML::runNumber, DQMStore::IBooker::setCurrentFolder(), source, stepLabels_, and dtDQMClient_cfg::threshold.
|
private |
Definition at line 398 of file HLTMuonPlotter.cc.
References DQMStore::IBooker::book1D(), prof2calltree::edges, elements_, h, i, diffTwoXMLs::label, bookConverter::max, min(), mergeVDriftHistosByStation::name, parametersEta_, parametersPhi_, parametersTurnOn_, source, and indexGen::title.
Referenced by beginRun().
|
private |
Definition at line 313 of file HLTMuonPlotter.cc.
References begin, deltar::bestMatch(), cutsDr_, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::Candidate::eta(), i, edm::eventsetup::heterocontainer::insert(), j, kNull, testEve_cfg::level, and reco::Candidate::phi().
Referenced by analyze().
|
static |
Definition at line 295 of file HLTMuonPlotter.cc.
References edm::ParameterSet::getParameter(), and HLT_25ns14e33_v1_cff::InputTag.
Referenced by HLTMuonValidator::HLTMuonValidator().
|
private |
Definition at line 137 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 136 of file HLTMuonPlotter.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 138 of file HLTMuonPlotter.h.
|
private |
Definition at line 139 of file HLTMuonPlotter.h.
Referenced by findMatches(), and HLTMuonPlotter().
|
private |
Definition at line 148 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and bookHist().
|
private |
Definition at line 140 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 143 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 129 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 122 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().
|
private |
Definition at line 123 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 128 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 146 of file HLTMuonPlotter.h.
Referenced by beginRun().
|
private |
Definition at line 125 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 132 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 133 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 134 of file HLTMuonPlotter.h.
Referenced by bookHist(), and HLTMuonPlotter().
|
private |
Definition at line 141 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 130 of file HLTMuonPlotter.h.
Referenced by analyze(), and HLTMuonPlotter().
|
private |
Definition at line 144 of file HLTMuonPlotter.h.
Referenced by analyze(), HLTMuonPlotter(), and ~HLTMuonPlotter().
|
private |
Definition at line 126 of file HLTMuonPlotter.h.
Referenced by analyze(), beginRun(), and HLTMuonPlotter().