Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -29,7 +29,7 @@
|
||||
// #define MATRIX_BOUND_CHECK
|
||||
|
||||
#include "RunAction.hh"
|
||||
#include "Analysis.hh"
|
||||
#include "G4AnalysisManager.hh"
|
||||
#include "G4AutoLock.hh"
|
||||
|
||||
namespace
|
||||
@@ -69,6 +69,7 @@ void RunAction::BeginOfRunAction(const G4Run* /*aRun*/)
|
||||
G4cout << "##### Create analysis manager " << " " << this << G4endl;
|
||||
|
||||
G4AnalysisManager* man = G4AnalysisManager::Instance();
|
||||
man->SetDefaultFileType("root");
|
||||
|
||||
G4cout << "Using " << man->GetType() << " analysis manager" << G4endl;
|
||||
|
||||
@@ -172,7 +173,5 @@ if (fDetector->GetCoef()==1)
|
||||
man->CloseFile();
|
||||
|
||||
// Complete clean-up
|
||||
|
||||
delete G4AnalysisManager::Instance();
|
||||
|
||||
man->Clear();
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
// Nucl.Instrum.Meth.B260:20-27, 2007
|
||||
|
||||
#include "SteppingAction.hh"
|
||||
#include "Analysis.hh"
|
||||
#include "G4AnalysisManager.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user