#include <FWCore/Python/src/PythonService.h>
Public Member Functions | |
void | postBeginJob () |
void | postEndJob () |
void | postProcessEvent (const edm::Event &, const edm::EventSetup &) |
void | preProcessEvent (const edm::EventID &, const edm::Timestamp &) |
PythonService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
~PythonService () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
std::string | command_ |
std::string | fileName_ |
PythonManagerHandle | handle_ |
boost::python::object | service_ |
Description: interface to write EDMService in Python
Usage: <usage>
Definition at line 32 of file PythonService.h.
PythonService::PythonService | ( | const edm::ParameterSet & | iConfig, |
edm::ActivityRegistry & | iRegistry | ||
) |
Definition at line 24 of file PythonService.cc.
References command_, gather_cfg::cout, edm::hlt::Exception, convertXMLtoSQLite_cfg::fileName, edm::ParameterSet::getParameter(), postBeginJob(), postEndJob(), postProcessEvent(), query::result, service_, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), and edm::ActivityRegistry::watchPostProcessEvent().
PythonService::~PythonService | ( | ) |
Definition at line 57 of file PythonService.cc.
|
static |
Definition at line 115 of file PythonService.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
void PythonService::postBeginJob | ( | ) |
Definition at line 63 of file PythonService.cc.
References pythonToCppException(), query::result, and service_.
Referenced by PythonService().
void PythonService::postEndJob | ( | ) |
Definition at line 79 of file PythonService.cc.
References pythonToCppException(), query::result, and service_.
Referenced by PythonService().
void PythonService::postProcessEvent | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) |
Definition at line 98 of file PythonService.cc.
References pythonToCppException(), query::result, and service_.
Referenced by PythonService().
void PythonService::preProcessEvent | ( | const edm::EventID & | , |
const edm::Timestamp & | |||
) |
Definition at line 95 of file PythonService.cc.
|
private |
Definition at line 47 of file PythonService.h.
Referenced by PythonService().
|
private |
Definition at line 46 of file PythonService.h.
|
private |
Definition at line 44 of file PythonService.h.
|
private |
Definition at line 45 of file PythonService.h.
Referenced by postBeginJob(), postEndJob(), postProcessEvent(), and PythonService().