Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -47,6 +47,7 @@
#include "SteppingAction.hh"
#include "SteppingVerbose.hh"
#include "HistoManager.hh"
#include "TrackingAction.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -64,10 +65,13 @@ int main(int argc,char** argv)
runManager->SetUserAction(new PrimaryGeneratorAction(detector));
PrimaryGeneratorAction* primary = new PrimaryGeneratorAction(detector);
TrackingAction* trackingAction = new TrackingAction(detector);
runManager->SetUserAction(trackingAction);
HistoManager* histo = new HistoManager();
// Set optional user action classes
RunAction* RunAct = new RunAction(detector,histo);
RunAction* RunAct = new RunAction(detector,histo,trackingAction);
runManager->SetUserAction(RunAct);
runManager->SetUserAction(new SteppingAction(RunAct,detector,primary,histo));