1 #ifndef EDepSim_UserDetectorConstruction_h 2 #define EDepSim_UserDetectorConstruction_h 1 5 #include "G4VUserDetectorConstruction.hh" 9 class G4VPhysicalVolume;
11 namespace EDepSim {
class Builder;}
12 namespace EDepSim {
class UserDetectorConstruction;}
17 namespace EDepSim {
class UserDetectorConstruction;}
G4GDMLParser * GetGDMLParser()
Get the GDML parser that this class is using.
void AddExcludedSensitiveDetector(std::string exclude)
virtual ~UserDetectorConstruction()
virtual EDepSim::DetectorMessenger * GetMessenger(void)
Return the detector construction messenger.
UserDetectorConstruction()
bool fValidateGeometry
Apply Validation.
virtual void ConstructSDandField()
virtual G4VPhysicalVolume * Construct()
EDepSim::Builder * fWorldBuilder
A constructor to create the world.
Construct a module from components.
G4Element * DefineElement(G4String name, G4String symbol, G4double z)
Define the natural isotope abundance.
G4VPhysicalVolume * fPhysicalWorld
The constructed world volume.
EDepSim::DetectorMessenger * fDetectorMessenger
A messenger to for the DetectorConstruction object.
G4VPhysicalVolume * ConstructDetector()
void DefineMaterials(void)
Define the materials used in the detector.
void SetGDMLParser(G4GDMLParser *parser)
Set the GDML parser that this class should use.
G4GDMLParser * fGDMLParser
A GDML Parser if one has been defined.
void ValidateGeometry()
Set ValidateGeomtry to true.
std::vector< std::string > fExcludeAsSensitiveDetector
Vector of logical volumes to exclude being sensitive detectors.
G4Material * fDefaultMaterial
The default material.