|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
14 #ifndef DDG4_PYTHON_GEANT4PYTHONDETECTORCONSTRUCTION_H
15 #define DDG4_PYTHON_GEANT4PYTHONDETECTORCONSTRUCTION_H
95 #endif // DDG4_PYTHON_GEANT4PYTHONDETECTORCONSTRUCTION_H
Base class to initialize a multi-threaded or single threaded Geant4 application.
void exec(const std::string &desc, const Geant4PythonCall &cmd) const
Execute command in the python interpreter.
Geant4PythonCall m_constructSD
Sensitive detector initialization command. Default: empty.
virtual void constructField(Geant4DetectorConstructionContext *ctxt) override
Electromagnetic field construction callback. Called at "ConstructSDandField()".
void setConstructSensitives(PyObject *callable, PyObject *args)
Set the sensitive detector initialization command.
Geant4PythonCall m_constructFLD
Field initialization command. Default: empty.
void setConstructGeo(PyObject *callable, PyObject *args)
Set the Detector initialization command.
void setConstructField(PyObject *callable, PyObject *args)
Set the field initialization command.
virtual ~Geant4PythonDetectorConstruction()
Default destructor.
Geant4 detector construction context definition.
Base class to initialize a multi-threaded or single threaded Geant4 application.
Geant4PythonCall m_constructGEO
Geometry initialization command. Default: empty.
virtual void constructSensitives(Geant4DetectorConstructionContext *ctxt) override
Sensitive detector construction callback. Called at "ConstructSDandField()".
virtual void constructGeo(Geant4DetectorConstructionContext *ctxt) override
Geometry construction callback. Called at "Construct()".
Namespace for the AIDA detector description toolkit.
Geant4PythonDetectorConstruction(Geant4Context *c, const std::string &nam)
Standard constructor.
Basic implementation of the Geant4 detector construction action.
Generic context to extend user, run and event information.