Add bindings & plotting
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -33,6 +33,8 @@ void G4System::init(ConstructionWrapper &CW){
|
||||
//delete actionInitialization;
|
||||
}
|
||||
|
||||
// save layers of CW to G4System class
|
||||
G4System::cw = CW;
|
||||
|
||||
|
||||
G4String session;
|
||||
|
||||
Reference in New Issue
Block a user