Geant4-11
Data Structures | Namespaces | Functions
pyG4VSensitiveDetector.cc File Reference
#include <boost/python.hpp>
#include "G4VSensitiveDetector.hh"

Go to the source code of this file.

Data Structures

class  pyG4VSensitiveDetector::CB_G4VSensitiveDetector
 

Namespaces

namespace  pyG4VSensitiveDetector
 

Functions

void export_G4VSensitiveDetector ()
 

Function Documentation

◆ export_G4VSensitiveDetector()

void export_G4VSensitiveDetector ( )

Definition at line 63 of file pyG4VSensitiveDetector.cc.

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",
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}
virtual void EndOfEvent(G4HCofThisEvent *)
void SetROgeometry(G4VReadOutGeometry *value)
G4bool Hit(G4Step *aStep)
void Activate(G4bool activeFlag)
virtual void Initialize(G4HCofThisEvent *)
G4int GetNumberOfCollections() const
G4String GetCollectionName(G4int id) const
G4String GetFullPathName() const
G4String GetPathName() const
G4VReadOutGeometry * GetROgeometry() const

References G4VSensitiveDetector::Activate(), G4VSensitiveDetector::clear(), G4VSensitiveDetector::DrawAll(), G4VSensitiveDetector::EndOfEvent(), G4VSensitiveDetector::GetCollectionName(), G4VSensitiveDetector::GetFullPathName(), G4VSensitiveDetector::GetName(), G4VSensitiveDetector::GetNumberOfCollections(), G4VSensitiveDetector::GetPathName(), G4VSensitiveDetector::GetROgeometry(), G4VSensitiveDetector::Hit(), G4VSensitiveDetector::Initialize(), G4VSensitiveDetector::isActive(), G4VSensitiveDetector::PrintAll(), G4VSensitiveDetector::SetROgeometry(), and G4VSensitiveDetector::SetVerboseLevel().

Referenced by BOOST_PYTHON_MODULE().