#include <HLTMuonValidator.h>
Classes | |
struct | matchesByDescendingPt |
struct | MatchStruct |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
HLTMuonValidator (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | analyzePath (const edm::Event &, const std::string &, const std::string &, const std::vector< MatchStruct >, edm::Handle< trigger::TriggerEventWithRefs >) |
void | bookHist (std::string, std::string, std::string, std::string) |
void | findMatches (std::vector< MatchStruct > &, std::vector< l1extra::L1MuonParticleRef >, std::vector< std::vector< const reco::RecoChargedCandidate * > >) |
void | initializeHists () |
Private Attributes | |
double | cutMaxEta_ |
unsigned int | cutMotherId_ |
std::vector< double > | cutsDr_ |
std::map< std::string, double > | cutsMinPt_ |
DQMStore * | dbe_ |
std::map< std::string, MonitorElement * > | elements_ |
std::map< std::string, std::vector< std::string > > | filterLabels_ |
std::string | genMuonCut_ |
StringCutObjectSelector < reco::GenParticle > * | genMuonSelector_ |
std::string | genParticleLabel_ |
HLTConfigProvider | hltConfig_ |
std::set< std::string > | hltPaths_ |
std::vector< std::string > | hltPathsToCheck_ |
std::string | hltProcessName_ |
std::string | l1CandLabel_ |
L1MuonMatcherAlgo | l1Matcher_ |
std::string | l2CandLabel_ |
std::string | l3CandLabel_ |
std::vector< double > | parametersEta_ |
std::vector< double > | parametersPhi_ |
std::vector< double > | parametersTurnOn_ |
std::string | recMuonCut_ |
std::string | recMuonLabel_ |
StringCutObjectSelector < reco::Muon > * | recMuonSelector_ |
std::map< std::string, std::vector< std::string > > | stepLabels_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Generate histograms for muon trigger efficiencies Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/MuonHLTOfflinePerformance
Definition at line 60 of file HLTMuonValidator.h.
HLTMuonValidator::HLTMuonValidator | ( | const edm::ParameterSet & | pset | ) |
Definition at line 37 of file HLTMuonValidator.cc.
References cutsDr_, dbe_, genMuonCut_, genMuonSelector_, genParticleLabel_, edm::ParameterSet::getParameter(), hltPathsToCheck_, hltProcessName_, l1CandLabel_, l2CandLabel_, l3CandLabel_, cmsCodeRules.cppFunctionSkipper::operator, parametersEta_, parametersPhi_, parametersTurnOn_, recMuonCut_, recMuonLabel_, recMuonSelector_, and DQMStore::setVerbose().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 212 of file HLTMuonValidator.cc.
References analyzePath(), edm::HandleBase::failedToGet(), genMuonCut_, genMuonSelector_, genParticleLabel_, genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByLabel(), hltPaths_, i, edm::HandleBase::isValid(), LogTrace, recMuonCut_, recMuonLabel_, recMuonSelector_, python.multivaluedict::sort(), and LaserTracksInput_cfi::source.
|
private |
Definition at line 269 of file HLTMuonValidator.cc.
References prof2calltree::count, cutsMinPt_, elements_, eta(), HcalObjRepresent::Fill(), filterLabels_, findMatches(), edm::Event::getByLabel(), hltProcessName_, i, edm::HandleBase::isValid(), j, l2CandLabel_, l3CandLabel_, testEve_cfg::level, LogTrace, maxEta, path(), phi, findQualityFiles::size, launcher::step, stepLabels_, GlobalPosition_Frontier_DevDB_cff::tag, trigger::TriggerL1Mu, and trigger::TriggerMuon.
Referenced by analyze().
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 77 of file HLTMuonValidator.cc.
References filterLabels_, hltConfig_, hltPaths_, hltPathsToCheck_, hltProcessName_, i, L1MuonMatcherAlgo::init(), HLTConfigProvider::init(), initializeHists(), j, l1Matcher_, listBenchmarks::pattern, inputsource_file_cfi::runNumber, and HLTConfigProvider::triggerNames().
|
private |
Definition at line 476 of file HLTMuonValidator.cc.
References DQMStore::book1D(), dbe_, prof2calltree::edges, elements_, h, i, label, max(), min, mergeVDriftHistosByStation::name, parametersEta_, parametersPhi_, parametersTurnOn_, LaserTracksInput_cfi::source, and indexGen::title.
Referenced by initializeHists().
|
private |
Definition at line 391 of file HLTMuonValidator.cc.
References begin, cutsDr_, deltaR(), reco::Candidate::eta(), i, edm::eventsetup::heterocontainer::insert(), j, kNull, testEve_cfg::level, and reco::Candidate::phi().
Referenced by analyzePath().
|
private |
Definition at line 111 of file HLTMuonValidator.cc.
References DQMStore::bookFloat(), bookHist(), cutsMinPt_, dbe_, elements_, filterLabels_, spr::find(), DQMStore::get(), hltConfig_, hltPaths_, i, j, HLTConfigProvider::moduleLabels(), path(), DQMStore::setCurrentFolder(), LaserTracksInput_cfi::source, stepLabels_, and dtT0WireCalibration_cfg::threshold.
Referenced by beginRun().
|
private |
Definition at line 125 of file HLTMuonValidator.h.
|
private |
Definition at line 126 of file HLTMuonValidator.h.
|
private |
Definition at line 127 of file HLTMuonValidator.h.
Referenced by findMatches(), and HLTMuonValidator().
|
private |
Definition at line 123 of file HLTMuonValidator.h.
Referenced by analyzePath(), and initializeHists().
|
private |
Definition at line 138 of file HLTMuonValidator.h.
Referenced by bookHist(), HLTMuonValidator(), and initializeHists().
|
private |
Definition at line 139 of file HLTMuonValidator.h.
Referenced by analyzePath(), bookHist(), and initializeHists().
|
private |
Definition at line 111 of file HLTMuonValidator.h.
Referenced by analyzePath(), beginRun(), and initializeHists().
|
private |
Definition at line 128 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 131 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 113 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 134 of file HLTMuonValidator.h.
Referenced by beginRun(), and initializeHists().
|
private |
Definition at line 110 of file HLTMuonValidator.h.
Referenced by analyze(), beginRun(), and initializeHists().
|
private |
Definition at line 109 of file HLTMuonValidator.h.
Referenced by beginRun(), and HLTMuonValidator().
|
private |
Definition at line 107 of file HLTMuonValidator.h.
Referenced by analyzePath(), beginRun(), and HLTMuonValidator().
|
private |
Definition at line 115 of file HLTMuonValidator.h.
Referenced by HLTMuonValidator().
|
private |
Definition at line 136 of file HLTMuonValidator.h.
Referenced by beginRun().
|
private |
Definition at line 116 of file HLTMuonValidator.h.
Referenced by analyzePath(), and HLTMuonValidator().
|
private |
Definition at line 117 of file HLTMuonValidator.h.
Referenced by analyzePath(), and HLTMuonValidator().
|
private |
Definition at line 119 of file HLTMuonValidator.h.
Referenced by bookHist(), and HLTMuonValidator().
|
private |
Definition at line 120 of file HLTMuonValidator.h.
Referenced by bookHist(), and HLTMuonValidator().
|
private |
Definition at line 121 of file HLTMuonValidator.h.
Referenced by bookHist(), and HLTMuonValidator().
|
private |
Definition at line 129 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 114 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 132 of file HLTMuonValidator.h.
Referenced by analyze(), and HLTMuonValidator().
|
private |
Definition at line 140 of file HLTMuonValidator.h.
Referenced by analyzePath(), and initializeHists().