#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 |
std::shared_ptr< ParameterSet const > | getProcessPSet () const |
get the parameter set More... | |
std::shared_ptr< ParameterSet > & | getProcessPSet () |
auto const & | getServicesPSets () const |
get the descriptions of the services More... | |
auto & | getServicesPSets () |
ProcessDesc (std::shared_ptr< ParameterSet > pset) | |
ProcessDesc (std::unique_ptr< ParameterSet > pset) | |
ProcessDesc (std::string const &config) | |
construct from the configuration language string More... | |
~ProcessDesc () | |
Private Attributes | |
edm::propagate_const< std::shared_ptr< ParameterSet > > | pset_ |
std::vector< ParameterSet > | services_ |
Definition at line 14 of file ProcessDesc.h.
|
explicit |
Definition at line 7 of file ProcessDesc.cc.
|
explicit |
Definition at line 10 of file ProcessDesc.cc.
|
explicit |
construct from the configuration language string
Definition at line 13 of file ProcessDesc.cc.
References edm::errors::Configuration, and Exception.
edm::ProcessDesc::~ProcessDesc | ( | ) |
Definition at line 17 of file ProcessDesc.cc.
void edm::ProcessDesc::addDefaultService | ( | std::string const & | service | ) |
add a service if it's not already there
Definition at line 30 of file ProcessDesc.cc.
References addService(), dataset::name, muonDTDigis_cfi::pset, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addServices(), and getServicesPSets().
void edm::ProcessDesc::addForcedService | ( | std::string const & | service | ) |
add a service and replace it if it's already there
Definition at line 45 of file ProcessDesc.cc.
References addService(), dataset::name, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addServices(), and getServicesPSets().
void edm::ProcessDesc::addService | ( | ParameterSet & | pset | ) |
Definition at line 19 of file ProcessDesc.cc.
References muonDTDigis_cfi::pset, and services_.
Referenced by addDefaultService(), addForcedService(), addService(), and getServicesPSets().
void edm::ProcessDesc::addService | ( | std::string const & | service | ) |
add a service as an empty pset
Definition at line 24 of file ProcessDesc.cc.
References edm::ParameterSet::addParameter(), addService(), 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 57 of file ProcessDesc.cc.
References addDefaultService(), and addForcedService().
Referenced by getServicesPSets().
std::string edm::ProcessDesc::dump | ( | void | ) | const |
Definition at line 69 of file ProcessDesc.cc.
References MillePedeFileConverter_cfg::out, pset_, services_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getServicesPSets().
|
inline |
get the parameter set
Definition at line 25 of file ProcessDesc.h.
References edm::get_underlying_safe(), and pset_.
|
inline |
Definition at line 26 of file ProcessDesc.h.
References edm::get_underlying_safe(), and pset_.
|
inline |
get the descriptions of the services
Definition at line 29 of file ProcessDesc.h.
References services_.
|
inline |
Definition at line 30 of file ProcessDesc.h.
References addDefaultService(), addForcedService(), addService(), addServices(), dump(), services_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 46 of file ProcessDesc.h.
Referenced by dump(), and getProcessPSet().
|
private |
Definition at line 47 of file ProcessDesc.h.
Referenced by addDefaultService(), addForcedService(), addService(), dump(), Config.Process::dumpConfig(), Config.Process::dumpPython(), and getServicesPSets().