#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) |
Private Member Functions | |
void | configure () |
Private Attributes | |
bool | configured_ |
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 edm::ParameterSet::getUntrackedParameter(), i, iLvl1IndexDefault_, lvl1Labels_, 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 54 of file PrescaleService.cc.
|
private |
Definition at line 83 of file PrescaleService.cc.
References configured_, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::getProcessParameterSet(), i, moduleLabel(), nLvl1Index_, pathName(), makeHLTPrescaleTable::prescales, prescaleTable_, CrabTask::pset, and vpsetPrescales_.
Referenced by getPrescale(), postBeginJob(), and reconfigure().
|
static |
Definition at line 164 of file PrescaleService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::addVPSet().
|
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 147 of file PrescaleService.cc.
References configure(), configured_, edm::hlt::Exception, 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 141 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 76 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 61 of file PrescaleService.cc.
References configure(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameter(), i, 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 71 of file PrescaleService.h.
Referenced by configure(), getPrescale(), and postBeginJob().
|
private |
Definition at line 74 of file PrescaleService.h.
Referenced by getLvl1IndexDefault(), getPrescale(), PrescaleService(), reconfigure(), and setIndex().
|
private |
Definition at line 72 of file PrescaleService.h.
Referenced by getLvl1Labels(), PrescaleService(), and reconfigure().
|
private |
Definition at line 73 of file PrescaleService.h.
Referenced by configure(), getPrescale(), and reconfigure().
|
private |
Definition at line 76 of file PrescaleService.h.
Referenced by configure(), getPrescale(), getPrescaleTable(), and reconfigure().
|
private |
Definition at line 75 of file PrescaleService.h.
Referenced by configure(), and reconfigure().