44 fDetectorConstruction(detectorConstruction),
52 fTopDirectory->
SetGuidance(
"UI commands of common example classes");
59 fSetMaterialCmd->
SetGuidance(
"Select material of the box.");
65 fSetDimensionsCmd->
SetGuidance(
"Set box dimensions (in half lentgh).");
67 "BoxDimensionsHx",
"BoxDimensionsHy",
"BoxDimensionsHz",
79 delete fSetMaterialCmd;
80 delete fSetDimensionsCmd;
88 if( command == fSetMaterialCmd ) {
91 else if( command == fSetDimensionsCmd ) {
96 newDimensions.
x(), newDimensions.
y(), newDimensions.
z());
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual ~ExG4DetectorConstruction01Messenger()
void SetDimensions(G4double hx, G4double hy, G4double hz)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
Simple detector construction with only a world volume.
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
void SetGuidance(const char *aGuidance)
Definition of the ExG4DetectorConstruction01Messenger class.
void AvailableForStates(G4ApplicationState s1)
void SetMaterial(const G4String &materialName)
ExG4DetectorConstruction01Messenger(ExG4DetectorConstruction01 *)
Definition of the ExG4DetectorConstruction01 class.