LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pydemo_wp.cc File Reference
#include <boost/python.hpp>
#include "MyMaterials.hh"
#include "MyDetectorConstruction.hh"
#include "G4VSensitiveDetector.hh"

Go to the source code of this file.

Functions

 BOOST_PYTHON_MODULE (demo_wp)
 

Function Documentation

BOOST_PYTHON_MODULE ( demo_wp  )

Definition at line 44 of file pydemo_wp.cc.

References MyMaterials::Construct(), and MyDetectorConstruction::SetSDtoScoreVoxel().

44  {
45  class_<MyMaterials>("MyMaterials", "my material")
46  .def("Construct", &MyMaterials::Construct)
47  ;
48 
49  class_<MyDetectorConstruction, MyDetectorConstruction*,
50  bases<G4VUserDetectorConstruction> >
51  ("MyDetectorConstruction", "my detector")
52  .def("SetSDtoScoreVoxel", &MyDetectorConstruction::SetSDtoScoreVoxel)
53  ;
54 }
void Construct()
Definition: MyMaterials.cc:58
void SetSDtoScoreVoxel(G4VSensitiveDetector *asd)