#include <PythonProcessDesc.h>
Public Member Functions | |
std::string | dump () const |
PythonParameterSet | newPSet () const |
std::shared_ptr< edm::ParameterSet > | parameterSet () const |
std::shared_ptr< edm::ProcessDesc > | processDesc () const |
PythonParameterSet & | pset () |
PythonProcessDesc () | |
PythonProcessDesc (std::string const &config) | |
PythonProcessDesc (std::string const &config, int argc, char *argv[]) | |
Private Member Functions | |
void | prepareToRead () |
void | read (std::string const &config) |
void | readFile (std::string const &fileName) |
void | readString (std::string const &pyConfig) |
Private Attributes | |
boost::python::object | theMainModule |
boost::python::object | theMainNamespace |
PythonParameterSet | theProcessPSet |
Definition at line 17 of file PythonProcessDesc.h.
PythonProcessDesc::PythonProcessDesc | ( | ) |
Definition at line 11 of file PythonProcessDesc.cc.
PythonProcessDesc::PythonProcessDesc | ( | std::string const & | config | ) |
This constructor will parse the given file or string and create two objects in python-land: a PythonProcessDesc named 'processDesc' a PythonParameterSet named 'processPSet' It decides whether it's a file or string by seeing if it ends in '.py'
Definition at line 17 of file PythonProcessDesc.cc.
References prepareToRead(), and read().
PythonProcessDesc::PythonProcessDesc | ( | std::string const & | config, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 26 of file PythonProcessDesc.cc.
References prepareToRead(), and read().
std::string PythonProcessDesc::dump | ( | void | ) | const |
Definition at line 90 of file PythonProcessDesc.cc.
References PythonParameterSet::dump(), and theProcessPSet.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 31 of file PythonProcessDesc.h.
Referenced by BOOST_PYTHON_MODULE().
std::shared_ptr< edm::ParameterSet > PythonProcessDesc::parameterSet | ( | ) | const |
Definition at line 86 of file PythonProcessDesc.cc.
References PythonParameterSet::pset(), and theProcessPSet.
Referenced by edm::EventProcessor::EventProcessor(), edm::makeParameterSets(), processDesc(), and edm::readConfig().
|
private |
Definition at line 36 of file PythonProcessDesc.cc.
References edm::python::initializeModule(), resolutioncreator_cfi::object, theMainModule, theMainNamespace, and theProcessPSet.
Referenced by PythonProcessDesc().
std::shared_ptr< edm::ProcessDesc > PythonProcessDesc::processDesc | ( | ) | const |
Definition at line 97 of file PythonProcessDesc.cc.
References parameterSet().
Referenced by main().
|
inline |
Definition at line 33 of file PythonProcessDesc.h.
References FrontierConditions_GlobalTag_cff::dump, MillePedeFileConverter_cfg::fileName, edm::parameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 46 of file PythonProcessDesc.cc.
References edm::pythonToCppException(), readFile(), and readString().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and PythonProcessDesc().
|
private |
Definition at line 61 of file PythonProcessDesc.cc.
References mps_alisetup::command, AlCaHLTBitMon_QueryRunRegistry::string, and theMainNamespace.
Referenced by read().
|
private |
Definition at line 77 of file PythonProcessDesc.cc.
References mps_alisetup::command, AlCaHLTBitMon_QueryRunRegistry::string, and theMainNamespace.
Referenced by read().
|
private |
Definition at line 51 of file PythonProcessDesc.h.
Referenced by prepareToRead().
|
private |
Definition at line 52 of file PythonProcessDesc.h.
Referenced by prepareToRead(), readFile(), and readString().
|
private |
Definition at line 50 of file PythonProcessDesc.h.
Referenced by dump(), parameterSet(), and prepareToRead().