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<>())
void Activate(G4bool activeFlag)
void SetVerboseLevel(G4int vl)
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
void export_G4VSensitiveDetector()
G4VReadOutGeometry * GetROgeometry() const
void SetROgeometry(G4VReadOutGeometry *value)
G4bool Hit(G4Step *aStep)
G4String GetFullPathName() const
CB_G4VSensitiveDetector(const G4String &name)
virtual void Initialize(G4HCofThisEvent *)
G4int GetNumberOfCollections() const
~CB_G4VSensitiveDetector()
CB_G4VSensitiveDetector()
G4String GetCollectionName(G4int id) const
virtual void EndOfEvent(G4HCofThisEvent *)
G4String GetPathName() const