63 #ifdef G4MULTITHREADED
91 int main(
int argc,
char **argv)
94 if (argc>1) mode = atoi(argv[1]);
96 G4int numberOfEvents = 100;
99 #ifdef G4MULTITHREADED
109 G4Random::setTheSeed(myseed);
155 G4String command1 =
"/control/cout/setCoutFile threadOut";
157 G4String command2 =
"/run/beamOn " +
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
G4VPhysicalVolume * GetWorldVolume()
void SetNumberOfThreads(G4int n)
Definition of the B01ActionInitialization class.
static G4String ConvertToString(G4bool boolVal)
int main(int argc, char **argv)
Definition of the B01DetectorConstruction class.
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4VWeightWindowStore * CreateWeightWindowStore()
G4int G4GetNumberOfCores()
static G4GeometryManager * GetInstance()
G4VIStore * CreateImportanceStore()
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
virtual void Initialize()
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4int ApplyCommand(const char *aCommand)