Commit 6e0929d2 authored by Chad Lantz's avatar Chad Lantz
Browse files

Placed analysis manager getInstance call in BeginOfRunAction in preparation for multi-threading

parent 2362a493
......@@ -45,7 +45,7 @@
RunAction::RunAction()
: G4UserRunAction()
{
m_analysisManager = AnalysisManager::getInstance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
......@@ -57,6 +57,7 @@ RunAction::~RunAction()
void RunAction::BeginOfRunAction(__attribute__((unused)) const G4Run* run)
{
m_analysisManager = AnalysisManager::getInstance();
// Book the output file
m_analysisManager->Book();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment