10 #ifndef GGSVGEOMETRYCONSTRUCTION_H
11 #define GGSVGEOMETRYCONSTRUCTION_H
13 #include "G4VUserDetectorConstruction.hh"
14 #include "G4ThreeVector.hh"
40 virtual G4VPhysicalVolume*
Construct()= 0;
46 virtual G4VPhysicalVolume*
GetVolume() = 0;
202 std::map<std::string, int> _intParams;
203 std::map<std::string, bool> _boolParams;
204 std::map<std::string, double> _realParams;
205 std::map<std::string, std::string> _stringParams;
211 #endif // GGSVGEOMETRYCONSTRUCTION_H
bool ExportBoolParameter(std::string name, bool value)
Sets the value of a boolean parameter.
const std::map< std::string, int > & GetIntParameters()
Getter method for integer geometry parameters.
const std::map< std::string, double > & GetRealParameters()
Getter method for real geometry parameters.
Abstract class needed to load GGS geometry.
GGSVGeometryConstruction()
Constructor.
bool ExportRealParameter(std::string name, double value)
Sets the value of a real parameter.
virtual G4VPhysicalVolume * Construct()=0
Construct the detector - virtual method.
const std::map< std::string, std::string > & GetStringParameters()
Getter method for string geometry parameters.
virtual const std::string GetVersion()
Getter method for geometry version.
const std::map< std::string, bool > & GetBoolParameters()
Getter method for boolean geometry parameters.
bool ExportStringParameter(std::string name, std::string value)
Sets the value of a string parameter.
G4String _geoDataCard
The geometry datacard file.
bool ExportIntParameter(std::string name, int value)
Sets the value of an integer parameter.
virtual bool ExportParameters()
Function for exporting the geometry parameters.
virtual ~GGSVGeometryConstruction()
Destructor.
int _verboseLevel
Verbosity level.
virtual G4VPhysicalVolume * GetVolume()=0
Get the detector VPhysicalVolume - virtual method.
void SetVerboseLevel(int verboseLevel)
Sets the verbosity level.
virtual bool IsInsideAcceptance(const G4ThreeVector &, const G4ThreeVector &) const
Checks if a particle is inside the instrument's acceptance.
void SetGeoDataCard(const G4String &dataCard)
Sets the geometry configuration datacard.