LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4EventManager.cc File Reference
#include <boost/python.hpp>
#include "G4EventManager.hh"
#include "G4Event.hh"

Go to the source code of this file.

Functions

void export_G4EventManager ()
 

Function Documentation

void export_G4EventManager ( )

Definition at line 40 of file pyG4EventManager.cc.

Referenced by BOOST_PYTHON_MODULE().

41 {
42  class_<G4EventManager, boost::noncopyable>
43  ("G4EventManager", "event manager class")
44  .def("GetEventManager", &G4EventManager::GetEventManager,
45  return_value_policy<reference_existing_object>())
46  .staticmethod("GetEventManager")
47  // ---
48  .def("GetConstCurrentEvent", &G4EventManager::GetConstCurrentEvent,
49  return_internal_reference<>())
50  .def("GetNonconstCurrentEvent",
51  &G4EventManager::GetNonconstCurrentEvent,
52  return_internal_reference<>())
53  .def("AbortCurrentEvent", &G4EventManager::AbortCurrentEvent)
54  .def("SetNumberOfAdditionalWaitingStacks",
55  &G4EventManager::SetNumberOfAdditionalWaitingStacks)
56  .def("GetStackManager", &G4EventManager::GetStackManager,
57  return_value_policy<reference_existing_object>())
58  .def("GetTrackingManager", &G4EventManager::GetTrackingManager,
59  return_value_policy<reference_existing_object>())
60  .def("GetVerboseLevel", &G4EventManager::GetVerboseLevel)
61  .def("SetVerboseLevel", &G4EventManager::SetVerboseLevel)
62  .def("SetUserInformation", &G4EventManager::SetUserInformation)
63  .def("GetUserInformation", &G4EventManager::GetUserInformation,
64  return_value_policy<reference_existing_object>())
65  ;
66 
67  // Note that exposed items are limited,
68  // because this class object is mainly for internal uses.
69  // ProcessOneEvent
70  // SetUserAction
71  // GetUserXXXAction
72  // GetPrimaryTransformer
73  // SetPrimaryTransformer
74 
75 }