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

Go to the source code of this file.

Namespaces

 pyG4ChordFinder
 

Functions

void export_G4ChordFinder ()
 

Function Documentation

void export_G4ChordFinder ( )

Definition at line 52 of file pyG4ChordFinder.cc.

References G4ChordFinder::GetDeltaChord(), G4ChordFinder::PrintStatistics(), G4ChordFinder::SetDeltaChord(), and G4ChordFinder::SetVerbose().

Referenced by BOOST_PYTHON_MODULE().

53 {
54  class_<G4ChordFinder, G4ChordFinder*, boost::noncopyable>
55  ("G4ChordFinder", "chord finder class", no_init)
56  // constructor
57  .def(init<G4MagInt_Driver*>())
58  .def(init<G4MagneticField*>())
59  .def(init<G4MagneticField*, G4double>())
60  .def(init<G4MagneticField*, G4double, G4MagIntegratorStepper*>())
61  // ---
62  .def("GetDeltaChord", &G4ChordFinder::GetDeltaChord)
63  .def("SetDeltaChord", &G4ChordFinder::SetDeltaChord)
64  // ---
65  .def("PrintStatistics", &G4ChordFinder::PrintStatistics)
66  .def("SetVerbose", &G4ChordFinder::SetVerbose, f_SetVerbose())
67  ;
68 }
virtual void PrintStatistics()
G4int SetVerbose(G4int newvalue=1)
G4double GetDeltaChord() const
void SetDeltaChord(G4double newval)