#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "GammaRayTelDetectorConstruction.hh"
#include "GammaRayTelPhysicsList.hh"
#include "GammaRayTelActionInitializer.hh"
#include "FTFP_BERT.hh"
#include "GammaRayTelAnalysis.hh"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 68 of file GammaRayTel.cc.
71 #ifdef G4MULTITHREADED 72 G4MTRunManager* runManager =
new G4MTRunManager;
75 G4RunManager* runManager =
new G4RunManager;
79 GammaRayTelDetectorConstruction* detector =
80 new GammaRayTelDetectorConstruction;
81 runManager->SetUserInitialization(detector);
86 runManager->SetUserInitialization(
new GammaRayTelPhysicsList);
92 runManager->SetUserInitialization(
new GammaRayTelActionInitializer());
95 GammaRayTelAnalysis* analysis = GammaRayTelAnalysis::getInstance();
100 G4VisManager* visManager =
new G4VisExecutive;
101 visManager->Initialize();
108 G4UImanager* UImanager = G4UImanager::GetUIpointer();
111 G4String command =
"/control/execute ";
113 UImanager->ApplyCommand(command+fileName);
118 G4UIExecutive* ui =
new G4UIExecutive(argc, argv);
122 UImanager->ApplyCommand(
"/control/execute prerunGammaRayTel.mac");