31 #ifdef G4MULTITHREADED
50 #include "PhysicsList.hh"
55 int main(
int argc,
char** argv) {
61 if (argc > 1) macroFile = argv[1];
62 if (argc > 2) startingSeed = argv[2];
63 if (argc > 3) outputFile = argv[3];
70 #ifdef G4MULTITHREADED
77 G4Random::setTheEngine(
new CLHEP::MTwistEngine);
80 unsigned startingSeedInt;
81 std::istringstream is(startingSeed);
82 is >> startingSeedInt;
83 G4Random::setTheSeed(startingSeedInt);
117 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Action initialization class.
int main(int argc, char **argv)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
Definition of the ElectronBenchmarkDetector class.
Definition of the ElectronActionInitialization class.
static G4ScoringManager * GetScoringManager()
G4int ApplyCommand(const char *aCommand)