31#include <boost/python.hpp>
34using namespace boost::python;
43 public wrapper<G4VSensitiveDetector> {
52 return get_override(
"ProcessHits")(&aStep, &ROhist);
65 class_<CB_G4VSensitiveDetector, boost::noncopyable>
66 (
"G4VSensitiveDetector",
"base class of senstive detector")
68 .def(init<const G4String&>())
76 .def(
"ProcessHits", pure_virtual(&CB_G4VSensitiveDetector::ProcessHits))
79 .def(
"GetNumberOfCollections",
89 return_internal_reference<>())
virtual void EndOfEvent(G4HCofThisEvent *)
void SetROgeometry(G4VReadOutGeometry *value)
G4bool Hit(G4Step *aStep)
void Activate(G4bool activeFlag)
virtual void Initialize(G4HCofThisEvent *)
G4int GetNumberOfCollections() const
void SetVerboseLevel(G4int vl)
G4String GetCollectionName(G4int id) const
G4String GetFullPathName() const
G4String GetPathName() const
G4VReadOutGeometry * GetROgeometry() const
CB_G4VSensitiveDetector(const G4String &name)
CB_G4VSensitiveDetector()
~CB_G4VSensitiveDetector()
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
const char * name(G4int ptype)
void export_G4VSensitiveDetector()