Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4MagneticField.cc File Reference
#include <boost/python.hpp>
#include "G4MagneticField.hh"
#include "G4ThreeVector.hh"
Include dependency graph for pyG4MagneticField.cc:

Go to the source code of this file.

Classes

class  PyG4MagneticField
 
struct  pyG4MagneticField::CB_PyG4MagneticField
 

Namespaces

 pyG4MagneticField
 

Functions

void export_G4MagneticField ()
 

Variables

const G4ThreeVector const G4double pyG4MagneticField::const = &PyG4MagneticField::GetFieldValue
 

Function Documentation

void export_G4MagneticField ( )

Definition at line 89 of file pyG4MagneticField.cc.

90 {
91  class_<G4MagneticField, boost::noncopyable >
92  ("__G4MagneticField", "dummy class of magnetic field", no_init)
93  ;
94 
95  class_<CB_PyG4MagneticField, boost::noncopyable,
96  bases<G4Field, G4MagneticField> >
97  ("G4MagneticField", "base class of magnetic field")
98  // ---
99  .def("DoesFieldChangeEnergy", &G4MagneticField::DoesFieldChangeEnergy)
100  .def("GetFieldValue", pure_virtual(f1_GetFieldValue))
101  ;
102 }
G4bool DoesFieldChangeEnergy() const

Here is the call graph for this function:

Here is the caller graph for this function: