Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -38,48 +38,32 @@
// * *
// *******************************
//
// $Id: BrachyRunAction.cc,v 1.18 2006/06/29 15:48:57 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: BrachyRunAction.cc,v 1.18 2006-06-29 15:48:57 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#include "BrachyRunAction.hh"
#ifdef G4ANALYSIS_USE
#include "BrachyAnalysisManager.hh"
#endif
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "G4ios.hh"
#include "BrachyRunAction.hh"
BrachyRunAction::BrachyRunAction()
{
}
{}
BrachyRunAction::~BrachyRunAction()
{
}
{}
void BrachyRunAction::BeginOfRunAction(const G4Run* aRun)
{
G4cout << "### Run " << aRun -> GetRunID() << " start." << G4endl;
#ifdef G4ANALYSIS_USE
G4int runNb = aRun -> GetRunID();
if (runNb == 0)
{
BrachyAnalysisManager* analysis = BrachyAnalysisManager::getInstance();
analysis->book();
}
else { G4cout << "The results of Run:"<< runNb << " are summed to the" <<
" results of the previous Run in brachytherapy.hbk" << G4endl;}
#endif
}
void BrachyRunAction::EndOfRunAction(const G4Run* aRun)
{
G4cout << "number of events = " << aRun->GetNumberOfEvent() << G4endl;
{
G4cout << "number of events = " << aRun->GetNumberOfEvent() << G4endl;
}