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 PyBind11ProcessDesc(config, false).parameterSet();
7 }
8 
9 //its really the stuff in MakePythonParameterSets that should be in the different namespace
10 //I'll do that if this setup is ok
11 std::unique_ptr<edm::ParameterSet> edm::readConfig(std::string const& config, const std::vector<std::string>& args) {
13 }
14 
15 std::unique_ptr<edm::ParameterSet> edm::readConfig(std::string const& config) {
17 }
18 
19 void edm::makeParameterSets(std::string const& configtext, std::unique_ptr<ParameterSet>& main) {
21 }
22 
23 std::unique_ptr<edm::ParameterSet> edm::readPSetsFrom(std::string const& fileOrString) {
24  return edm::cmspybind11::readPSetsFrom(fileOrString);
25 }
std::unique_ptr< edm::ParameterSet > parameterSet() const
std::unique_ptr< edm::ParameterSet > getPSetFromConfig(const std::string &config)
Definition: config.py:1
std::unique_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
std::unique_ptr< edm::ParameterSet > readConfig(std::string const &config, const std::vector< std::string > &args)
same, but with arguments
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)
std::unique_ptr< ParameterSet > readConfig(std::string const &config)
Definition: main.py:1
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method