30#ifndef DetectorConstruction_h
31#define DetectorConstruction_h 1
33#include "G4VUserDetectorConstruction.hh"
34#include "G4ThreeVector.hh"
35#include "CLHEP/Units/SystemOfUnits.h"
50 const G4String& boxMaterialName =
"G4_AIR",
51 G4double boxHx = 40*CLHEP::cm,
52 G4double boxHy = 40*CLHEP::cm,
53 G4double boxHz = 40*CLHEP::cm,
54 const G4String& worldMaterialName =
"G4_AIR",
55 G4double worldSizeFactor = 1.25);
Simple detector construction with a box volume placed in a world.
G4String fWorldMaterialName
~DetectorConstruction() override
void SetWorldMaterial(const G4String &materialName)
void SetBoxDimensions(G4ThreeVector dimensions)
G4LogicalVolume * fBoxVolume
G4ThreeVector fBoxDimensions
G4double fWorldSizeFactor
void SetBoxMaterial(const G4String &materialName)
void SetWorldSizeFactor(G4double factor)
G4String fBoxMaterialName
G4LogicalVolume * fWorldVolume
G4GenericMessenger * fMessenger
G4VPhysicalVolume * Construct() override