Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
pyQgeom.cc File Reference
#include <boost/python.hpp>
#include "G4RunManager.hh"
#include "QDetectorConstruction.hh"

Go to the source code of this file.

Namespaces

 pyQgeom
 

Functions

void pyQgeom::Construct ()
 
 BOOST_PYTHON_MODULE (Qgeom)
 

Function Documentation

BOOST_PYTHON_MODULE ( Qgeom  )

Definition at line 62 of file pyQgeom.cc.

References pyQgeom::Construct().

62  {
63 
64  class_<QDetectorConstruction, QDetectorConstruction*,
65  bases<G4VUserDetectorConstruction> >
66  ("QDetectorConstruction", "my detector")
67  ;
68 
69  // ---
70  def("Construct", Construct);
71 }
void Construct()
Definition: pyQgeom.cc:48