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
@@ -56,6 +56,8 @@ RunAction::RunAction(DetectorConstruction* det, PrimaryGeneratorAction* kin)
// Create analysis manager
// The choice of analysis technology is done via selection of a namespace
fAnalysisManager = G4AnalysisManager::Instance();
fAnalysisManager->SetDefaultFileType("root");
// Set the default file name "testem2"
// which can be then redefine in a macro via UI command
fAnalysisManager->SetFileName("testem2");
@@ -170,6 +172,7 @@ void RunAction::EndOfRunAction(const G4Run*)
// save histos and close analysis
fAnalysisManager->Write();
fAnalysisManager->CloseFile();
fAnalysisManager->Clear();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......