Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -30,11 +30,7 @@
|
||||
#include "B5DetectorConstruction.hh"
|
||||
#include "B5ActionInitialization.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
#include "G4RunManager.hh"
|
||||
#endif
|
||||
#include "G4RunManagerFactory.hh"
|
||||
|
||||
#include "G4UImanager.hh"
|
||||
#include "FTFP_BERT.hh"
|
||||
@@ -56,11 +52,8 @@ int main(int argc,char** argv)
|
||||
|
||||
// Construct the default run manager
|
||||
//
|
||||
#ifdef G4MULTITHREADED
|
||||
auto runManager = new G4MTRunManager;
|
||||
#else
|
||||
auto runManager = new G4RunManager;
|
||||
#endif
|
||||
auto* runManager =
|
||||
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
|
||||
|
||||
// Mandatory user initialization classes
|
||||
runManager->SetUserInitialization(new B5DetectorConstruction);
|
||||
|
||||
Reference in New Issue
Block a user