59 #ifdef G4MULTITHREADED
88 G4int numberOfEvents = 100;
92 #ifdef G4MULTITHREADED
102 G4Random::setTheSeed(myseed);
110 G4String parallelName(
"ParallelBiasingWorld");
119 physlist->AddBiasing(&pgs,parallelName);
147 for (cell=1; cell<=18; cell++) {
149 G4cout <<
" adding cell: " << cell
152 G4double imp = std::pow(2.0,cell-1);
169 G4String command1 =
"/control/cout/setCoutFile fileName";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetNumberOfThreads(G4int n)
Definition of the B03ActionInitialization class.
static G4String ConvertToString(G4bool boolVal)
Definition of the B03PhysicsList class.
int main(int argc, char **argv)
Definition of the B03DetectorConstruction class.
G4VPhysicalVolume * GetWorldVolume()
void RegisterParallelWorld(G4VUserParallelWorld *)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4int G4GetNumberOfCores()
G4int GetReplicaNumber() const
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
const G4VPhysicalVolume & GetPhysicalVolume() const
static G4IStore * GetInstance()
void AddParallelWorldName(G4String &pname)
G4VPhysicalVolume & GetWorldVolumeAddress() const
virtual void Initialize()
Definition of the B03ImportanceDetectorConstruction class.
G4GeometryCell GetGeometryCell(G4int i)
G4int ApplyCommand(const char *aCommand)