LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 41 of file pyG4EventManager.cc.

Referenced by BOOST_PYTHON_MODULE().

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