#include <PythonProcessDesc.h>
Public Member Functions | |
std::string | dump () const |
PythonParameterSet | newPSet () const |
std::shared_ptr < edm::ParameterSet > | parameterSet () |
std::shared_ptr< edm::ProcessDesc > | processDesc () |
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 | ( | ) |
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(), dbtoconf::object, theMainModule, theMainNamespace, and theProcessPSet.
Referenced by PythonProcessDesc().
std::shared_ptr< edm::ProcessDesc > PythonProcessDesc::processDesc | ( | ) |
Definition at line 97 of file PythonProcessDesc.cc.
References parameterSet().
Referenced by main().
|
private |
Definition at line 46 of file PythonProcessDesc.cc.
References edm::pythonToCppException(), readFile(), and readString().
Referenced by PythonProcessDesc().
|
private |
Definition at line 61 of file PythonProcessDesc.cc.
References edmPickEvents::command, AlCaHLTBitMon_QueryRunRegistry::string, and theMainNamespace.
Referenced by read().
|
private |
Definition at line 77 of file PythonProcessDesc.cc.
References edmPickEvents::command, AlCaHLTBitMon_QueryRunRegistry::string, and theMainNamespace.
Referenced by read().
|
private |
Definition at line 49 of file PythonProcessDesc.h.
Referenced by prepareToRead().
|
private |
Definition at line 50 of file PythonProcessDesc.h.
Referenced by prepareToRead(), readFile(), and readString().
|
private |
Definition at line 48 of file PythonProcessDesc.h.
Referenced by dump(), parameterSet(), and prepareToRead().