32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4VSensitiveDetector {
44 public wrapper<G4VSensitiveDetector> {
53 return get_override(
"ProcessHits")(&aStep, &ROhist);
59 using namespace pyG4VSensitiveDetector;
66 class_<CB_G4VSensitiveDetector, boost::noncopyable>
67 (
"G4VSensitiveDetector",
"base class of senstive detector")
69 .def(init<const G4String&>())
77 .def(
"ProcessHits", pure_virtual(&CB_G4VSensitiveDetector::ProcessHits))
80 .def(
"GetNumberOfCollections",
90 return_internal_reference<>())
G4bool Hit(G4Step *aStep)
G4String GetFullPathName() const
void SetROgeometry(G4VReadOutGeometry *value)
~CB_G4VSensitiveDetector()
void export_G4VSensitiveDetector()
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
virtual void EndOfEvent(G4HCofThisEvent *)
G4String GetCollectionName(G4int id) const
CB_G4VSensitiveDetector(const G4String &name)
G4VReadOutGeometry * GetROgeometry() const
virtual void Initialize(G4HCofThisEvent *)
G4int GetNumberOfCollections() const
CB_G4VSensitiveDetector()
void Activate(G4bool activeFlag)
void SetVerboseLevel(G4int vl)
G4String GetPathName() const