57 #ifdef G4MULTITHREADED
86 int main(
int argc,
char **argv)
89 if (argc>1) mode = atoi(argv[1]);
91 G4cout <<
" mode not used yet, refer to B01 to see WeightWindow technique "
95 G4int numberOfEvents = 100;
98 #ifdef G4MULTITHREADED
108 G4Random::setTheSeed(myseed);
114 G4String parallelName(
"ParallelBiasingWorld");
140 G4String command1 =
"/control/cout/setCoutFile threadOut";
142 G4String command2 =
"/run/beamOn " +
Definition of the B02ImportanceDetectorConstruction class.
void SetNumberOfThreads(G4int n)
G4int ApplyCommand(const char *aCommand)
G4int G4GetNumberOfCores()
G4VIStore * CreateImportanceStore()
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Definition of the B02ActionInitialization class.
void RegisterPhysics(G4VPhysicsConstructor *)
static G4GeometryManager * GetInstance()
void OpenGeometry(G4VPhysicalVolume *vol=0)
int main(int argc, char **argv)
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
Definition of the B02DetectorConstruction class.
static G4String ConvertToString(G4bool boolVal)
void SetParallel(G4bool paraflag)
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * GetWorldVolume()
void RegisterParallelWorld(G4VUserParallelWorld *)
virtual void Initialize()