material printout added but doesn't work yet

This commit is contained in:
Jan Kieseler
2023-09-22 12:14:36 +02:00
parent 5344586a7a
commit fb00ca0a7a
4 changed files with 14 additions and 2 deletions
+9
View File
@@ -1,5 +1,8 @@
#include "G4System.hh"
#include <G4Material.hh>
#include <G4NistManager.hh>
#include <G4String.hh>
void G4System::init(ConstructionWrapper &CW){
@@ -122,6 +125,12 @@ void G4System::run_visualize(const std::string& partSpecies, double minEnergy, d
runManager->BeamOn(1);
}
void G4System::printMaterial(const std::string& materialName)const{
// Get the material from the material name
return ; //ToDo
}
void G4System::run_gui(){
if(ui == nullptr){
throw std::runtime_error("GUI not initialized");