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

References export_G4VSensitiveDetector().

42 {
44 }
void export_G4VSensitiveDetector()
void export_G4VSensitiveDetector ( )

Definition at line 63 of file pyG4VSensitiveDetector.cc.

References clear(), Initialize(), and tca::PrintAll().

Referenced by BOOST_PYTHON_MODULE().

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