76 vacuum=
new G4Material(
"_Vacuum", universe_mean_density, 2);
81 G4Box* sdworld=
new G4Box(
"world", dx/2., dy/2., dz/2.);
84 lvworld, 0,
false, 0);
88 vaworld-> SetForceWireframe(
true);
89 lvworld-> SetVisAttributes(vaworld);
104 runManager-> DefineWorldVolume(
world);
112 G4Box* box=
dynamic_cast<G4Box*
>(
world-> GetLogicalVolume()-> GetSolid());
113 box-> SetXHalfLength(dx/2.);
114 box-> SetYHalfLength(dy/2.);
115 box-> SetZHalfLength(dz/2.);
135 world-> GetLogicalVolume()-> GetVisAttributes());
CLHEP::Hep3Vector G4ThreeVector
static G4VPhysicalVolume * world
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
static void Resize(G4double dx, G4double dy, G4double dz)
static void SetVisibility(G4bool qvis)
static void SetMaterial(G4Material *amaterial)
static G4VPhysicalVolume * CreateWorld(G4double dx=1.*m, G4double dy=1.*m, G4double dz=1.*m)
static G4RunManager * GetRunManager()
static void Reset(G4double dx, G4double dy, G4double dz)