Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
+2
View File
@@ -5,6 +5,8 @@
Category History file
---------------------
29.08.2019 - S. Guatelli;doiPET-V10-05-01
G4VIS_USE and G4_UI removed
17.12.2018 - G. Cosmo;doiPET-V10-05-00
Fixed compilation warnings on clang for unused data members in
+1 -16
View File
@@ -56,15 +56,6 @@
#include "G4RunManager.hh"
#endif
//
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//
//////////////////////////////////////////////////////////////////////////////
int main(int argc,char** argv)
@@ -125,21 +116,15 @@ int main(int argc,char** argv)
else //define visualization and UI terminal for interactive mode
{
#ifdef G4VIS_USE
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
#ifdef G4UI_USE
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
ui->SessionStart();
delete ui;
#endif
//
#ifdef G4VIS_USE
delete visManager;
#endif
delete visManager;
}
//close the file