#include <ProcessDesc.h>
Public Member Functions | |
void | addDefaultService (std::string const &service) |
add a service if it's not already there More... | |
void | addForcedService (std::string const &service) |
add a service and replace it if it's already there More... | |
void | addService (ParameterSet &pset) |
void | addService (std::string const &service) |
add a service as an empty pset More... | |
void | addServices (std::vector< std::string > const &defaultServices, std::vector< std::string > const &forcedServices=std::vector< std::string >()) |
add some default services and forced services More... | |
std::string | dump () const |
boost::shared_ptr< ParameterSet > | getProcessPSet () const |
get the parameter set More... | |
boost::shared_ptr< std::vector < ParameterSet > > | getServicesPSets () const |
get the descriptions of the services More... | |
ProcessDesc (boost::shared_ptr< ParameterSet > pset) | |
ProcessDesc (std::string const &config) | |
construct from the configuration language string More... | |
~ProcessDesc () | |
Private Attributes | |
boost::shared_ptr< ParameterSet > | pset_ |
boost::shared_ptr< std::vector < ParameterSet > > | services_ |
Definition at line 12 of file ProcessDesc.h.
|
explicit |
Definition at line 8 of file ProcessDesc.cc.
|
explicit |
construct from the configuration language string
Definition at line 12 of file ProcessDesc.cc.
References edm::errors::Configuration, and edm::hlt::Exception.
edm::ProcessDesc::~ProcessDesc | ( | ) |
Definition at line 18 of file ProcessDesc.cc.
void edm::ProcessDesc::addDefaultService | ( | std::string const & | service | ) |
add a service if it's not already there
Definition at line 42 of file ProcessDesc.cc.
References addService(), mergeVDriftHistosByStation::name, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addServices().
void edm::ProcessDesc::addForcedService | ( | std::string const & | service | ) |
add a service and replace it if it's already there
Definition at line 58 of file ProcessDesc.cc.
References addService(), mergeVDriftHistosByStation::name, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addServices().
void edm::ProcessDesc::addService | ( | ParameterSet & | pset | ) |
Definition at line 31 of file ProcessDesc.cc.
References services_.
Referenced by addDefaultService(), addForcedService(), and addService().
void edm::ProcessDesc::addService | ( | std::string const & | service | ) |
add a service as an empty pset
Definition at line 36 of file ProcessDesc.cc.
References edm::ParameterSet::addParameter(), addService(), fff_monitoring::service, and AlCaHLTBitMon_QueryRunRegistry::string.
void edm::ProcessDesc::addServices | ( | std::vector< std::string > const & | defaultServices, |
std::vector< std::string > const & | forcedServices = std::vector<std::string>() |
||
) |
add some default services and forced services
Definition at line 71 of file ProcessDesc.cc.
References addDefaultService(), addForcedService(), and i.
std::string edm::ProcessDesc::dump | ( | void | ) | const |
Definition at line 85 of file ProcessDesc.cc.
References dbtoconf::out, pset_, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
boost::shared_ptr< ParameterSet > edm::ProcessDesc::getProcessPSet | ( | ) | const |
boost::shared_ptr< std::vector< ParameterSet > > edm::ProcessDesc::getServicesPSets | ( | ) | const |
get the descriptions of the services
Definition at line 27 of file ProcessDesc.cc.
References services_.
|
private |
Definition at line 41 of file ProcessDesc.h.
Referenced by dump(), and getProcessPSet().
|
private |
Definition at line 42 of file ProcessDesc.h.
Referenced by addDefaultService(), addForcedService(), addService(), dump(), Config.Process::dumpConfig(), Config.Process::dumpPython(), and getServicesPSets().