LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 51 of file pyG4ChordFinder.cc.

Referenced by BOOST_PYTHON_MODULE().

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 }