#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 21 of file PrescaleService.h.
typedef std::map<std::string, std::vector<unsigned int> > edm::service::PrescaleService::PrescaleTable_t |
Definition at line 41 of file PrescaleService.h.
typedef std::vector<std::string> edm::service::PrescaleService::VString_t |
Definition at line 40 of file PrescaleService.h.
edm::service::PrescaleService::PrescaleService | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iReg | ||
) |
Definition at line 25 of file PrescaleService.cc.
References Exception, edm::ParameterSet::getParameter(), lvl1Default_, lvl1Labels_, postBeginJob(), preBeginJob(), prescaleTable_, AlCaHLTBitMon_QueryRunRegistry::string, vpsetPrescales_, edm::ActivityRegistry::watchPostBeginJob(), and edm::ActivityRegistry::watchPreBeginJob().
edm::service::PrescaleService::~PrescaleService | ( | ) |
Definition at line 60 of file PrescaleService.cc.
|
static |
Definition at line 165 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 155 of file PrescaleService.cc.
References mps_fire::i.
Referenced by getPrescaleTable().
|
inline |
Definition at line 42 of file PrescaleService.h.
References lvl1Default_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
inline |
Definition at line 43 of file PrescaleService.h.
References lvl1Labels_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
unsigned int edm::service::PrescaleService::getPrescale | ( | std::string const & | prescaledPath | ) | const |
Definition at line 136 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 142 of file PrescaleService.cc.
References Exception, forceDefault_, lvl1Default_, lvl1Labels_, and prescaleTable_.
|
inline |
Definition at line 44 of file PrescaleService.h.
References fillDescriptions(), findDefaultIndex(), diffTwoXMLs::label, tablePrinter::labels, postBeginJob(), preBeginJob(), prescaleTable_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
private |
Definition at line 72 of file PrescaleService.cc.
References Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::getParameterSet(), mps_fire::i, genParticles_cff::map, prescaleTable_, processParameterSetID_, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getPrescaleTable(), and PrescaleService().
|
private |
Definition at line 65 of file PrescaleService.cc.
References edm::Hash< I >::isValid(), edm::ProcessContext::parameterSetID(), and processParameterSetID_.
Referenced by getPrescaleTable(), and PrescaleService().
|
private |
Definition at line 59 of file PrescaleService.h.
Referenced by getPrescale().
|
private |
Definition at line 61 of file PrescaleService.h.
Referenced by getLvl1IndexDefault(), getPrescale(), and PrescaleService().
|
private |
Definition at line 60 of file PrescaleService.h.
Referenced by getLvl1Labels(), getPrescale(), and PrescaleService().
|
private |
Definition at line 63 of file PrescaleService.h.
Referenced by getPrescale(), getPrescaleTable(), postBeginJob(), and PrescaleService().
|
private |
Definition at line 64 of file PrescaleService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 62 of file PrescaleService.h.
Referenced by PrescaleService().