102   new G4Material(
"Galactic", z=1., a=1.01*
g/
mole,density= universe_mean_density,
 
  114   G4int nofLayers = 10;
 
  119   G4double layerThickness = absoThickness + gapThickness;
 
  120   G4double calorThickness = nofLayers * layerThickness;
 
  121   G4double worldSizeXY = 1.2 * calorSizeXY;
 
  122   G4double worldSizeZ  = 1.2 * calorThickness; 
 
  129   if ( ! defaultMaterial || ! absorberMaterial || ! gapMaterial ) {
 
  131     msg << 
"Cannot retrieve materials already defined."; 
 
  132     G4Exception(
"B4DetectorConstruction::DefineVolumes()",
 
  141                  worldSizeXY/2, worldSizeXY/2, worldSizeZ/2); 
 
  164     = 
new G4Box(
"Calorimeter",     
 
  165                  calorSizeXY/2, calorSizeXY/2, calorThickness/2); 
 
  188                  calorSizeXY/2, calorSizeXY/2, layerThickness/2); 
 
  209                  calorSizeXY/2, calorSizeXY/2, absoThickness/2); 
 
  232                  calorSizeXY/2, calorSizeXY/2, gapThickness/2); 
 
  253   G4cout << 
"\n------------------------------------------------------------" 
  254          << 
"\n---> The calorimeter is " << nofLayers << 
" layers of: [ " 
  255          << absoThickness/
mm << 
"mm of " << absorberMaterial->
GetName() 
 
  257          << gapThickness/
mm << 
"mm of " << gapMaterial->
GetName() << 
" ] "  
  258          << 
"\n------------------------------------------------------------\n";
 
void SetVerboseLevel(G4int verboseLevel)
virtual G4VPhysicalVolume * Construct()
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
virtual void ConstructSDandField()
std::ostringstream G4ExceptionDescription
CLHEP::Hep3Vector G4ThreeVector
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
void SetVerboseLevel(G4int vl)
const G4String & GetName() const 
void SetVisibility(G4bool)
static G4MaterialTable * GetMaterialTable()
void SetFilter(G4VSDFilter *f)
static G4NistManager * Instance()
G4VPhysicalVolume * DefineVolumes()
G4GLOB_DLL std::ostream G4cout
Definition of the B4dDetectorConstruction class. 
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const double kelvin
static G4ThreadLocal G4GlobalMagFieldMessenger * fMagFieldMessenger
static G4SDManager * GetSDMpointer()
static const G4VisAttributes Invisible
B4dDetectorConstruction()
virtual ~B4dDetectorConstruction()
void SetVisAttributes(const G4VisAttributes *pVA)