CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
edm::python Namespace Reference

Classes

class  ConstEventWrapper
 

Functions

void initializeModule ()
 

Function Documentation

void edm::python::initializeModule ( )

Definition at line 28 of file initializeModule.cc.

References s_initialized.

Referenced by PythonProcessDesc::prepareToRead(), and edm::readPSetsFrom().

28  {
29  char *libFWCoreParameterSet = const_cast<char *>("libFWCoreParameterSet");
30  PyImport_AppendInittab(libFWCoreParameterSet, &initlibFWCoreParameterSet );
31  Py_Initialize();
32  if(!s_initialized)
33  {
34  PyImport_ImportModule(libFWCoreParameterSet);
35  s_initialized = true;
36  }
37 
38  }
static bool s_initialized