Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 16:15:15 +00:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -618,6 +618,7 @@ void RMC01AnalysisManager::Book()
//Histo manager
G4AnalysisManager* theHistoManager = G4AnalysisManager::Instance();
theHistoManager->SetDefaultFileType("root");
G4String extension = theHistoManager->GetFileType();
fFileName[1] = fFileName[0] + "." + extension;
theHistoManager->SetFirstHistoId(1);
@@ -780,7 +781,7 @@ void RMC01AnalysisManager::Save(G4double scaling_factor)
theHistoManager->CloseFile();
G4cout << "\n----> Histogram Tree is saved in " << fFileName[1] << G4endl;
delete G4AnalysisManager::Instance();
theHistoManager->Clear();
fFactoryOn = false;
}
}