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
@@ -45,16 +45,15 @@ HistoManager::HistoManager()
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
HistoManager::~HistoManager() { delete G4AnalysisManager::Instance(); }
HistoManager::~HistoManager() {}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void HistoManager::Book()
{
// Create or get analysis manager
// The choice of analysis technology is done via selection of a namespace
// in HistoManager.hh
G4AnalysisManager* analysisMan = G4AnalysisManager::Instance();
analysisMan->SetDefaultFileType("root");
analysisMan->SetFileName(fFileName);
analysisMan->SetVerboseLevel(1);
analysisMan->SetActivation(true); // enable inactivation of histograms
@@ -535,8 +535,8 @@ void Run::EndOfRun()
->GetProperty(kRINDEX)
->Value(fEkin);
G4H1* histo_trans = analysisMan->GetH1(histo_id_trans);
G4H1* histo_refl = analysisMan->GetH1(histo_id_refl);
auto histo_trans = analysisMan->GetH1(histo_id_trans);
auto histo_refl = analysisMan->GetH1(histo_id_refl);
std::vector<G4double> trans;
std::vector<G4double> refl;
std::vector<G4double> tot;