50 fBoxMaterialName(boxMaterialName),
51 fWorldMaterialName(worldMaterialName),
52 fBoxDimensions(boxHx*2, boxHy*2, boxHz*2),
53 fWorldSizeFactor(worldSizeFactor),
73 G4bool fromIsotopes =
false;
83 G4ThreeVector worldDimensions = fBoxDimensions * fWorldSizeFactor;
139 G4bool fromIsotopes =
false;
144 if ( ! newMaterial ) {
145 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
146 G4cerr <<
"The box material was not changed." <<
G4endl;
150 if ( fBoxVolume ) fBoxVolume->
SetMaterial(newMaterial);
151 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
159 G4bool fromIsotopes =
false;
164 if ( ! newMaterial ) {
165 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
166 G4cerr <<
"The box material was not changed." <<
G4endl;
170 if ( fWorldVolume ) fWorldVolume->
SetMaterial(newMaterial);
171 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
192 fWorldSizeFactor = factor;