LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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.

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 }