#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 () |
Private Attributes | |
const bool | forceDefault_ |
const unsigned int | lvl1Default_ |
const VString_t | lvl1Labels_ |
PrescaleTable_t | prescaleTable_ |
const std::vector< ParameterSet > | vpsetPrescales_ |
Definition at line 18 of file PrescaleService.h.
typedef std::map<std::string, std::vector<unsigned int> > edm::service::PrescaleService::PrescaleTable_t |
Definition at line 38 of file PrescaleService.h.
typedef std::vector<std::string> edm::service::PrescaleService::VString_t |
Definition at line 37 of file PrescaleService.h.
edm::service::PrescaleService::PrescaleService | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iReg | ||
) |
Definition at line 25 of file PrescaleService.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), lvl1Default_, lvl1Labels_, EgammaValidation_cff::pathName, postBeginJob(), makeHLTPrescaleTable::prescales, prescaleTable_, AlCaHLTBitMon_QueryRunRegistry::string, vpsetPrescales_, and edm::ActivityRegistry::watchPostBeginJob().
edm::service::PrescaleService::~PrescaleService | ( | ) |
Definition at line 59 of file PrescaleService.cc.
|
static |
Definition at line 158 of file PrescaleService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
|
inline |
Definition at line 39 of file PrescaleService.h.
References lvl1Default_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
inline |
Definition at line 40 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 129 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 135 of file PrescaleService.cc.
References edm::hlt::Exception, forceDefault_, lvl1Default_, lvl1Labels_, and prescaleTable_.
|
inline |
Definition at line 41 of file PrescaleService.h.
References prescaleTable_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
private |
Definition at line 64 of file PrescaleService.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::getProcessParameterSet(), i, python.multivaluedict::map(), EgammaValidation_cff::pathName, prescaleTable_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by 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 58 of file PrescaleService.h.
Referenced by PrescaleService().