LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pymodG4tracking.cc File Reference
#include <boost/python.hpp>

Go to the source code of this file.

Functions

void export_G4TrackingManager ()
 
void export_G4UserSteppingAction ()
 
void export_G4UserTrackingAction ()
 
 BOOST_PYTHON_MODULE (G4tracking)
 

Function Documentation

BOOST_PYTHON_MODULE ( G4tracking  )

Definition at line 43 of file pymodG4tracking.cc.

References export_G4TrackingManager(), export_G4UserSteppingAction(), and export_G4UserTrackingAction().

44 {
48 }
void export_G4UserSteppingAction()
void export_G4TrackingManager()
void export_G4UserTrackingAction()
void export_G4TrackingManager ( )

Definition at line 40 of file pyG4TrackingManager.cc.

Referenced by BOOST_PYTHON_MODULE().

41 {
42  class_<G4TrackingManager>
43  ("G4TrackingManager", "tracking manager class")
44  // ---
45  // Note that exposed items are limited, because this class object
46  // is mainly for internal uses.
47  .def("GetStoreTrajectory", &G4TrackingManager::GetStoreTrajectory)
48  .def("SetStoreTrajectory", &G4TrackingManager::SetStoreTrajectory)
49  .def("SetVerboseLevel", &G4TrackingManager::SetVerboseLevel)
50  .def("GetVerboseLevel", &G4TrackingManager::GetVerboseLevel)
51  .def("SetUserTrackInformation",
52  &G4TrackingManager::SetUserTrackInformation)
53  ;
54 }
void export_G4UserSteppingAction ( )

Definition at line 57 of file pyG4UserSteppingAction.cc.

References CB_G4UserSteppingAction::UserSteppingAction().

Referenced by BOOST_PYTHON_MODULE().

58 {
59  class_<CB_G4UserSteppingAction, CB_G4UserSteppingAction*, boost::noncopyable>
60  ("G4UserSteppingAction", "stepping action class")
61 
62  .def("UserSteppingAction", &G4UserSteppingAction::UserSteppingAction,
64  ;
65 }
void UserSteppingAction(const G4Step *astep)
void export_G4UserTrackingAction ( )

Definition at line 68 of file pyG4UserTrackingAction.cc.

References CB_G4UserTrackingAction::PostUserTrackingAction(), and CB_G4UserTrackingAction::PreUserTrackingAction().

Referenced by BOOST_PYTHON_MODULE().

69 {
70  class_<CB_G4UserTrackingAction, CB_G4UserTrackingAction*, boost::noncopyable>
71  ("G4UserTrackingAction", "tracking action class")
72  // ---
73  .def("PreUserTrackingAction",
74  &G4UserTrackingAction::PreUserTrackingAction,
76  .def("PostUserTrackingAction",
77  &G4UserTrackingAction::PostUserTrackingAction,
79  ;
80 }
void PreUserTrackingAction(const G4Track *atrack)
void PostUserTrackingAction(const G4Track *atrack)