Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -28,12 +28,12 @@
/// \brief Implementation of the RunAction class
#include "RunAction.hh"
#include "Analysis.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UnitsTable.hh"
#include "G4SystemOfUnits.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,12 +42,11 @@ RunAction::RunAction(const G4String& fileName)
fFileName(fileName)
{
// Create analysis manager
// The choice of analysis technology is done via selectin of a namespace
// in Analysis.hh
auto analysisManager = G4AnalysisManager::Instance();
G4cout << "Using " << analysisManager->GetType() << G4endl;
analysisManager->SetDefaultFileType("root");
analysisManager->SetVerboseLevel(1);
analysisManager->SetNtupleMerging(true);
G4cout << "Using " << analysisManager->GetType() << G4endl;
// Note: merging ntuples is available only with Root output
// Set default fileName
@@ -69,7 +68,6 @@ RunAction::RunAction(const G4String& fileName)
RunAction::~RunAction()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -29,12 +29,12 @@
//
#include "ScreenSD.hh"
#include "Analysis.hh"
#include "G4VTouchable.hh"
#include "G4Step.hh"
#include "G4ios.hh"
#include "G4SystemOfUnits.hh"
#include "G4AnalysisManager.hh"
#include "G4VProcess.hh"