Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -27,7 +27,7 @@
/// \brief Main program of the persistency/P02 example
//
//
// $Id: exampleP02.cc 68025 2013-03-13 13:43:46Z gcosmo $
// $Id: exampleP02.cc 82291 2014-06-13 15:20:32Z gcosmo $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -35,9 +35,11 @@
#include "ExP02DetectorConstruction.hh"
#include "ExP02DetConstrReader.hh"
#include "ExP02PhysicsList.hh"
#include "ExP02PrimaryGeneratorAction.hh"
#include "FTFP_BERT.hh"
#include "G4RunManager.hh"
#include "G4UImanager.hh"
@@ -56,7 +58,7 @@ int main(int argc, char** argv)
if(argc==1)
{
std::cout << "Please give 'write' or 'read' as argument " << std::endl;
G4cout << "Please give 'write' or 'read' as argument " << G4endl;
return 0;
}
@@ -72,7 +74,7 @@ int main(int argc, char** argv)
}
else
{
std::cout << "Wrong argument!" << std::endl;
G4cout << "Wrong argument!" << G4endl;
return 0;
}
@@ -81,7 +83,9 @@ int main(int argc, char** argv)
// UserInitialization classes (mandatory)
runManager->SetUserInitialization(det);
runManager->SetUserInitialization(new ExP02PhysicsList);
G4VModularPhysicsList* physicsList = new FTFP_BERT;
runManager->SetUserInitialization(physicsList);
#ifdef G4VIS_USE
// Visualization, if you choose to have it!