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

Go to the source code of this file.

Functions

void export_G4VSensitiveDetector ()
 
 BOOST_PYTHON_MODULE (G4digits_hits)
 

Function Documentation

BOOST_PYTHON_MODULE ( G4digits_hits  )

Definition at line 42 of file pymodG4digits_hits.cc.

References export_G4VSensitiveDetector().

43 {
45 }
void export_G4VSensitiveDetector()
void export_G4VSensitiveDetector ( )

Definition at line 64 of file pyG4VSensitiveDetector.cc.

References clear(), and Initialize().

Referenced by BOOST_PYTHON_MODULE().

65 {
66  class_<CB_G4VSensitiveDetector, boost::noncopyable>
67  ("G4VSensitiveDetector", "base class of senstive detector")
68  // ---
69  .def(init<const G4String&>())
70  // ---
71  .def("Initialize", &G4VSensitiveDetector::Initialize)
72  .def("EndOfEvent", &G4VSensitiveDetector::EndOfEvent)
73  .def("clear", &G4VSensitiveDetector::clear)
74  .def("DrawAll", &G4VSensitiveDetector::DrawAll)
75  .def("PrintAll", &G4VSensitiveDetector::PrintAll)
76  .def("Hit", &G4VSensitiveDetector::Hit)
77  .def("ProcessHits", pure_virtual(&CB_G4VSensitiveDetector::ProcessHits))
78  // ---
79  .def("SetROgeometry", &G4VSensitiveDetector::SetROgeometry)
80  .def("GetNumberOfCollections",
81  &G4VSensitiveDetector::GetNumberOfCollections)
82  .def("GetCollectionName", &G4VSensitiveDetector::GetCollectionName)
83  .def("SetVerboseLevel", &G4VSensitiveDetector::SetVerboseLevel)
84  .def("Activate", &G4VSensitiveDetector::Activate)
85  .def("isActive", &G4VSensitiveDetector::isActive)
86  .def("GetName", &G4VSensitiveDetector::GetName)
87  .def("GetPathName", &G4VSensitiveDetector::GetPathName)
88  .def("GetFullPathName", &G4VSensitiveDetector::GetFullPathName)
89  .def("GetROgeometry", &G4VSensitiveDetector::GetROgeometry,
90  return_internal_reference<>())
91  ;
92 }
void Initialize()
Definition: errprop.cc:101
vec_iX clear()