#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 (unsigned int lvl1Index, std::string const &prescaledPath) |
unsigned int | getPrescale (std::string const &prescaledPath) |
const PrescaleTable_t & | getPrescaleTable () const |
void | postBeginJob () |
void | postEndJob () |
void | postEventProcessing (Event const &, EventSetup const &) |
void | postModule (ModuleDescription const &) |
void | preEventProcessing (EventID const &, Timestamp const &) |
void | preModule (ModuleDescription const &) |
PrescaleService (ParameterSet const &, ActivityRegistry &) | |
void | reconfigure (ParameterSet const &ps) |
void | setIndex (unsigned int lvl1Index) |
~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 | configure () |
Private Attributes | |
bool | configured_ |
bool | forceDefault_ |
unsigned int | iLvl1IndexDefault_ |
VString_t | lvl1Labels_ |
unsigned int | nLvl1Index_ |
PrescaleTable_t | prescaleTable_ |
std::vector< ParameterSet > | vpsetPrescales_ |
Definition at line 25 of file PrescaleService.h.
typedef std::map<std::string, std::vector<unsigned int> > edm::service::PrescaleService::PrescaleTable_t |
Definition at line 54 of file PrescaleService.h.
typedef std::vector<std::string> edm::service::PrescaleService::VString_t |
Definition at line 53 of file PrescaleService.h.
edm::service::PrescaleService::PrescaleService | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iReg | ||
) |
Definition at line 29 of file PrescaleService.cc.
References postBeginJob(), postEndJob(), postEventProcessing(), postModule(), preEventProcessing(), preModule(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPostProcessEvent(), edm::ActivityRegistry::watchPreModule(), and edm::ActivityRegistry::watchPreProcessEvent().
edm::service::PrescaleService::~PrescaleService | ( | ) |
Definition at line 49 of file PrescaleService.cc.
|
private |
Definition at line 73 of file PrescaleService.cc.
References configured_, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::getProcessParameterSet(), i, nLvl1Index_, EgammaValidation_cff::pathName, makeHLTPrescaleTable::prescales, prescaleTable_, and vpsetPrescales_.
Referenced by getPrescale(), postBeginJob(), and reconfigure().
|
static |
Definition at line 168 of file PrescaleService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), and edm::ParameterSetDescription::addVPSet().
|
static |
|
inline |
Definition at line 55 of file PrescaleService.h.
References iLvl1IndexDefault_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
|
inline |
Definition at line 56 of file PrescaleService.h.
References lvl1Labels_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
unsigned int edm::service::PrescaleService::getPrescale | ( | unsigned int | lvl1Index, |
std::string const & | prescaledPath | ||
) |
Definition at line 137 of file PrescaleService.cc.
References configure(), configured_, edm::hlt::Exception, forceDefault_, iLvl1IndexDefault_, nLvl1Index_, and prescaleTable_.
Referenced by HLTPrescaler::filter(), getPrescale(), and evf::FWEPWrapper::taskWebPage().
unsigned int edm::service::PrescaleService::getPrescale | ( | std::string const & | prescaledPath | ) |
Definition at line 131 of file PrescaleService.cc.
References getPrescale(), and iLvl1IndexDefault_.
|
inline |
Definition at line 57 of file PrescaleService.h.
References prescaleTable_.
Referenced by HLTPrescaleRecorder::beginLuminosityBlock(), and HLTPrescaleRecorder::beginRun().
void edm::service::PrescaleService::postBeginJob | ( | ) |
Definition at line 66 of file PrescaleService.cc.
References configure(), and configured_.
Referenced by PrescaleService().
|
inline |
|
inline |
|
inline |
|
inline |
void edm::service::PrescaleService::reconfigure | ( | ParameterSet const & | ps | ) |
Definition at line 56 of file PrescaleService.cc.
References configure(), findDefaultIndex(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSetVector(), iLvl1IndexDefault_, lvl1Labels_, nLvl1Index_, prescaleTable_, and vpsetPrescales_.
Referenced by evf::FWEPWrapper::init().
|
inline |
Definition at line 45 of file PrescaleService.h.
References iLvl1IndexDefault_.
Referenced by evf::FWEPWrapper::getTriggerReport().
|
private |
Definition at line 73 of file PrescaleService.h.
Referenced by configure(), getPrescale(), and postBeginJob().
|
private |
Definition at line 74 of file PrescaleService.h.
Referenced by getPrescale().
|
private |
Definition at line 77 of file PrescaleService.h.
Referenced by getLvl1IndexDefault(), getPrescale(), reconfigure(), and setIndex().
|
private |
Definition at line 75 of file PrescaleService.h.
Referenced by getLvl1Labels(), and reconfigure().
|
private |
Definition at line 76 of file PrescaleService.h.
Referenced by configure(), getPrescale(), and reconfigure().
|
private |
Definition at line 79 of file PrescaleService.h.
Referenced by configure(), getPrescale(), getPrescaleTable(), and reconfigure().
|
private |
Definition at line 78 of file PrescaleService.h.
Referenced by configure(), and reconfigure().