changed to be serialisable for multiprocessing

This commit is contained in:
Jan Kieseler
2024-07-23 14:01:20 +02:00
parent da97ad4613
commit e849d0bac5
6 changed files with 257 additions and 167 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ class G4System{
friend class GeometryDescriptor;
public:
G4System(bool Gui=false):gui(Gui){};
G4System():gui(false){};
G4System(bool Gui):gui(Gui){};
~G4System(){
if(visManager != nullptr){
delete visManager;