CMS 3D CMS Logo

ParameterSetReader.cc
Go to the documentation of this file.
4 
5 std::unique_ptr<edm::ParameterSet> edm::getPSetFromConfig(const std::string &config) {
6  return PythonProcessDesc(config).parameterSet();
7 }
8 
9 
10 //its really the stuff in MakePythonParameterSets that should be in the different namespace
11 //I'll do that if this setup is ok
12 std::unique_ptr<edm::ParameterSet> edm::readConfig(std::string const& config, int argc, char* argv[]) {
13  return edm::boost_python::readConfig(config,argc,argv);
14 }
15 
16 std::unique_ptr<edm::ParameterSet> edm::readConfig(std::string const& config) {
17  return edm::boost_python::readConfig(config);
18 }
19 
20 void edm::makeParameterSets(std::string const& configtext,
21  std::unique_ptr<ParameterSet> & main) {
22  edm::boost_python::makeParameterSets(configtext,main);
23 }
24 
25 std::unique_ptr<edm::ParameterSet> edm::readPSetsFrom(std::string const& fileOrString) {
26  return edm::boost_python::readPSetsFrom(fileOrString);
27 }
std::unique_ptr< edm::ParameterSet > parameterSet() const
std::unique_ptr< edm::ParameterSet > readConfig(std::string const &config)
std::unique_ptr< edm::ParameterSet > getPSetFromConfig(const std::string &config)
Definition: config.py:1
std::unique_ptr< edm::ParameterSet > readConfig(std::string const &config, int argc, char *argv[])
same, but with arguments
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)
void makeParameterSets(std::string const &configtext, std::unique_ptr< edm::ParameterSet > &main)
essentially the same as the previous method
Definition: main.py:1
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method