Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(MCTruth)
#----------------------------------------------------------------------------
@@ -14,6 +14,12 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13 November 2020 B. Morgan (mctruthex-V10-06-01)
- Enforce use of Serial RunManager.
10 November 2020 B. Morgan (mctruthex-V10-06-00)
- Migration to G4RunManagerFactory.
4 September 2018 I. Hrivnacova (mctruthex-V10-04-00)
- coding guidelines
@@ -27,7 +27,7 @@
/// \brief Main program of the eventgenerator/HepMC/MCTruth example
//
//
#include "G4RunManager.hh"
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "FTFP_BERT.hh"
@@ -41,8 +41,8 @@
int main()
{
// Construct the default run manager
G4RunManager* runManager = new G4RunManager;
// Construct a serial run manager
auto* runManager = G4RunManagerFactory::CreateRunManager(G4RunManagerType::SerialOnly);
// set mandatory initialization classes
runManager->SetUserInitialization(new DetectorConstruction);