![]() |
![]() |
Functions | |
void | makeParameterSets (std::string const &configtext, std::unique_ptr< edm::ParameterSet > &main) |
essentially the same as the previous method More... | |
std::unique_ptr< edm::ParameterSet > | readConfig (std::string const &config) |
std::unique_ptr< edm::ParameterSet > | readConfig (std::string const &config, int argc, char *argv[]) |
same, but with arguments More... | |
std::unique_ptr< edm::ParameterSet > | readPSetsFrom (std::string const &fileOrString) |
void edm::boost_python::makeParameterSets | ( | std::string const & | configtext, |
std::unique_ptr< edm::ParameterSet > & | main | ||
) |
essentially the same as the previous method
Definition at line 55 of file MakeParameterSets.cc.
References makeParameterSets(), and PythonProcessDesc::parameterSet().
Referenced by edm::ServiceRegistry::createServicesFromConfig(), and edm::makeParameterSets().
std::unique_ptr< edm::ParameterSet > edm::boost_python::readConfig | ( | std::string const & | config | ) |
Definition at line 43 of file MakeParameterSets.cc.
References PythonProcessDesc::parameterSet(), and readConfig().
Referenced by edm::readConfig().
std::unique_ptr< edm::ParameterSet > edm::boost_python::readConfig | ( | std::string const & | config, |
int | argc, | ||
char * | argv[] | ||
) |
same, but with arguments
Definition at line 49 of file MakeParameterSets.cc.
References PythonProcessDesc::parameterSet(), and readConfig().
Referenced by XMLConfigReader::setEventsFile().
std::unique_ptr< edm::ParameterSet > edm::boost_python::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 62 of file MakeParameterSets.cc.
References edm::python::initializeModule(), makePSetsFromFile(), makePSetsFromString(), resolutioncreator_cfi::object, PythonParameterSet::pset(), edm::pythonToCppException(), and readPSetsFrom().
Referenced by main(), MakeVersionedSelector< reco::Muon >::operator()(), and edm::readPSetsFrom().