Add bindings & plotting

This commit is contained in:
lars
2023-10-04 13:36:57 +02:00
parent 417053a583
commit f6db42ce09
8 changed files with 1270 additions and 34 deletions
+5
View File
@@ -68,6 +68,11 @@ std::vector<Layer> & ConstructionWrapper::getLayers(){
return layers;
}
double ConstructionWrapper::getXYWidth() const{
return xywidth;
}
void ConstructionWrapper::resetSensorEnergies()const {
for(const auto & layer : layers){
for(const auto & sensor : layer.sensors){
+2
View File
@@ -33,6 +33,8 @@ void G4System::init(ConstructionWrapper &CW){
//delete actionInitialization;
}
// save layers of CW to G4System class
G4System::cw = CW;
G4String session;