44 fMaterialsManager(exrdmMat),
56 " add a mateial by name, composition formula and density");
75 StatePrm->
SetGuidance(
"state of the material (optional): gas | solid");
80 TempPrm->
SetGuidance(
"temperature of the material in Kelvin (optional)");
85 PresPrm->
SetGuidance(
"pressure of the gas material in Pascal (optional)");
128 }
else if (command ==
fAddCmd) {
131 char mat[80], form[80], stat[10];
134 const char* t = newValue;
135 std::istringstream is(t);
136 is >>mat >>form >>den >>stat >> tem >> pres ;
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithoutParameter * fListCmd
void SetParameter(G4UIparameter *const newParameter)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetParameterRange(const char *theRange)
G4UIcmdWithAnInteger * fDeleteIntCmd
Definition of the exrdmMaterialMessenger class.
exrdmMaterialMessenger(exrdmMaterial *)
virtual ~exrdmMaterialMessenger()
void AddMaterial(G4String, G4String, G4double, G4String, G4double tem=CLHEP::STP_Temperature, G4double pres=CLHEP::STP_Pressure)
Definition of the exrdmMaterial class.
void DeleteMaterial(G4int)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
exrdmMaterial * fMaterialsManager
G4UIdirectory * fMaterialDir
void AvailableForStates(G4ApplicationState s1)
G4UIcmdWithAString * fDeleteNameCmd
void SetGuidance(const char *theGuidance)
virtual void SetNewValue(G4UIcommand *, G4String)