CMS 3D CMS Logo

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().

                              {
         char *libFWCoreParameterSet = const_cast<char *>("libFWCoreParameterSet");
         PyImport_AppendInittab(libFWCoreParameterSet, &initlibFWCoreParameterSet );
         Py_Initialize();
         if(!s_initialized)
         {
            PyImport_ImportModule(libFWCoreParameterSet);
            s_initialized = true;
         }
         
      }