Functions | |
void | makeParameterSets (std::string const &configtext, std::unique_ptr< ParameterSet > &main) |
essentially the same as the previous method More... | |
std::unique_ptr< ParameterSet > | readConfig (std::string const &config) |
std::unique_ptr< ParameterSet > | readConfig (std::string const &config, int argc, char *argv[]) |
same, but with arguments More... | |
std::unique_ptr< ParameterSet > | readPSetsFrom (std::string const &fileOrString) |
void edm::cmspybind11::makeParameterSets | ( | std::string const & | configtext, |
std::unique_ptr< ParameterSet > & | main | ||
) |
essentially the same as the previous method
Definition at line 36 of file MakePyBind11ParameterSets.cc.
References makeParameterSets(), and PyBind11ProcessDesc::parameterSet().
Referenced by edm::makeParameterSets().
std::unique_ptr< ParameterSet > edm::cmspybind11::readConfig | ( | std::string const & | config | ) |
Definition at line 26 of file MakePyBind11ParameterSets.cc.
References PyBind11ProcessDesc::parameterSet(), and readConfig().
Referenced by edm::readConfig().
std::unique_ptr< ParameterSet > edm::cmspybind11::readConfig | ( | std::string const & | config, |
int | argc, | ||
char * | argv[] | ||
) |
same, but with arguments
Definition at line 31 of file MakePyBind11ParameterSets.cc.
References dir2webdir::argc, cmsBatch::argv, PyBind11ProcessDesc::parameterSet(), and readConfig().
std::unique_ptr< ParameterSet > edm::cmspybind11::readPSetsFrom | ( | std::string const & | fileOrString | ) |
finds all the PSets used in the top level module referred as a file or as a string containing python commands. These PSets are bundled into a top level PSet from which they can be retrieved
Definition at line 41 of file MakePyBind11ParameterSets.cc.
References MillePedeFileConverter_cfg::e, cond::persistency::import(), edm::python::initializePyBind11Module(), makePSetsFromFile(), makePSetsFromString(), callgraph::module, resolutioncreator_cfi::object, Python11ParameterSet::pset(), edm::pythonToCppException(), and readPSetsFrom().
Referenced by main(), and edm::readPSetsFrom().