Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

 pyG4VSensitiveDetector
 

Functions

void export_G4VSensitiveDetector ()
 

Function Documentation

void export_G4VSensitiveDetector ( )

Definition at line 64 of file pyG4VSensitiveDetector.cc.

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().

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