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