54 fTheDetector(GeneralDet),
57 fSetSensitiveVolumeHeightCmd(0),
58 fSetSensitiveVolumeRadiusCmd(0),
59 fSetShieldingThicknessCmd(0)
64 "Control of the Geant4 Reverse Monte Carlo example1");
73 "/RMC01/geometry/SetSensitiveVolumeHeight",
this);
75 "Set the height of the sensitive cylinder");
79 "/RMC01/geometry/SetSensitiveVolumeRadius",
this);
81 "Set the radius of the sensitive cylinder");
85 "/RMC01/geometry/SetShieldingThickness",
this);
87 "Set the thickness of the Aluminum Shielding sphere");
96 if (fGeneralDir )
delete fGeneralDir;
97 if (fDetDir)
delete fDetDir;
98 if (fSetSensitiveVolumeHeightCmd)
delete fSetSensitiveVolumeHeightCmd;
99 if (fSetSensitiveVolumeRadiusCmd)
delete fSetSensitiveVolumeRadiusCmd;
100 if (fSetShieldingThicknessCmd)
delete fSetShieldingThicknessCmd;
108 {
if( command == fSetSensitiveVolumeHeightCmd ){
113 else if( command == fSetSensitiveVolumeRadiusCmd ){
118 else if( command == fSetShieldingThicknessCmd ){
static G4double GetNewDoubleValue(const char *paramString)
Definition of the RMC01DetectorConstruction class.
void SetSensitiveVolumeRadius(G4double r)
RMC01DetectorMessenger(RMC01DetectorConstruction *)
void SetShieldingThickness(G4double d)
void SetSensitiveVolumeHeight(G4double h)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
virtual void SetNewValue(G4UIcommand *, G4String)
Definition of the RMC01DetectorMessenger class.
virtual ~RMC01DetectorMessenger()