#include <PrescaleService.h>
Public Types | |
typedef std::map< std::string, std::vector< unsigned int > > | PrescaleTable_t |
typedef std::vector< std::string > | VString_t |
Public Member Functions | |
unsigned int | getLvl1IndexDefault () const |
const VString_t & | getLvl1Labels () const |
unsigned int | getPrescale (std::string const &prescaledPath) const |
unsigned int | getPrescale (unsigned int lvl1Index, std::string const &prescaledPath) const |
const PrescaleTable_t & | getPrescaleTable () const |
PrescaleService (ParameterSet const &, ActivityRegistry &) | |
~PrescaleService () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static unsigned int | findDefaultIndex (std::string const &label, std::vector< std::string > const &labels) |
Private Member Functions | |
void | postBeginJob () |
void | preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &) |
Private Attributes | |
const bool | forceDefault_ |
const unsigned int | lvl1Default_ |
const VString_t | lvl1Labels_ |
PrescaleTable_t | prescaleTable_ |
ParameterSetID | processParameterSetID_ |
const std::vector< ParameterSet > | vpsetPrescales_ |
Definition at line 20 of file PrescaleService.h.
typedef std::map<std::string, std::vector<unsigned int> > edm::service::PrescaleService::PrescaleTable_t |
Definition at line 37 of file PrescaleService.h.
typedef std::vector<std::string> edm::service::PrescaleService::VString_t |
Definition at line 36 of file PrescaleService.h.
edm::service::PrescaleService::PrescaleService | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iReg | ||
) |
Definition at line 23 of file PrescaleService.cc.
References Exception, edm::ParameterSet::getParameter(), lvl1Default_, lvl1Labels_, hltMonBTagIPClient_cfi::pathName, postBeginJob(), preBeginJob(), hltrates_dqm_sourceclient-live_cfg::prescales, prescaleTable_, AlCaHLTBitMon_QueryRunRegistry::string, vpsetPrescales_, edm::ActivityRegistry::watchPostBeginJob(), and edm::ActivityRegistry::watchPreBeginJob().
edm::service::PrescaleService::~PrescaleService | ( | ) |
Definition at line 56 of file PrescaleService.cc.
|
static |
Definition at line 161 of file PrescaleService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getPrescaleTable().
|
static |
Definition at line 151 of file PrescaleService.cc.
References mps_fire::i.
Referenced by getPrescaleTable().
|
inline |
Definition at line 38 of file PrescaleService.h.
References lvl1Default_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
inline |
Definition at line 39 of file PrescaleService.h.
References lvl1Labels_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), HLTPrescaleRecorder::beginRun(), and PSMonitor::bookHistograms().
unsigned int edm::service::PrescaleService::getPrescale | ( | std::string const & | prescaledPath | ) | const |
Definition at line 133 of file PrescaleService.cc.
References lvl1Default_.
Referenced by HLTPrescaler::filter().
unsigned int edm::service::PrescaleService::getPrescale | ( | unsigned int | lvl1Index, |
std::string const & | prescaledPath | ||
) | const |
Definition at line 138 of file PrescaleService.cc.
References Exception, forceDefault_, lvl1Default_, lvl1Labels_, and prescaleTable_.
|
inline |
Definition at line 40 of file PrescaleService.h.
References fillDescriptions(), findDefaultIndex(), label, SummaryClient_cfi::labels, postBeginJob(), preBeginJob(), prescaleTable_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
private |
Definition at line 66 of file PrescaleService.cc.
References edmTracerLogToSimpleConfig::allModules, mutracking_dqm_sourceclient-live_cfg::allPaths, relativeConstraints::empty, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::getParameterSet(), mps_fire::i, genParticles_cff::map, HerwigMaxPtPartonFilter_cfi::moduleLabel, hltMonBTagIPClient_cfi::pathName, prescaleTable_, processParameterSetID_, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getPrescaleTable(), and PrescaleService().
|
private |
Definition at line 60 of file PrescaleService.cc.
References edm::Hash< I >::isValid(), edm::ProcessContext::parameterSetID(), and processParameterSetID_.
Referenced by getPrescaleTable(), and PrescaleService().
|
private |
Definition at line 55 of file PrescaleService.h.
Referenced by getPrescale().
|
private |
Definition at line 57 of file PrescaleService.h.
Referenced by getLvl1IndexDefault(), getPrescale(), and PrescaleService().
|
private |
Definition at line 56 of file PrescaleService.h.
Referenced by getLvl1Labels(), getPrescale(), and PrescaleService().
|
private |
Definition at line 59 of file PrescaleService.h.
Referenced by getPrescale(), getPrescaleTable(), postBeginJob(), and PrescaleService().
|
private |
Definition at line 60 of file PrescaleService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 58 of file PrescaleService.h.
Referenced by PrescaleService().