Geant4-11
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

namespace  pyG4ChordFinder
 

Functions

void export_G4ChordFinder ()
 

Function Documentation

◆ export_G4ChordFinder()

void export_G4ChordFinder ( )

Definition at line 51 of file pyG4ChordFinder.cc.

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

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

Referenced by BOOST_PYTHON_MODULE().