46 :myUserPhantom(myUsrPhtm),bps(false)
55 modelCmd->
SetGuidance(
"Set sex of Phantom: MIRD, ORNLFemale, ORNLMale, MIX, MIRDHead, ORNLHead.");
106 " ****************>>>> NEW PHANTOM CONSTRUCTION <<<<***************** "
114 char* str =
new char[newBodyPartSensitivity.length()+1];
116 strcpy(str, newBodyPartSensitivity.c_str());
118 std::string bpart = strtok(str,
" ");
120 std::string sensitivity = strtok(NULL,
" ");
122 if(sensitivity==
"yes"){
128 G4cout <<
" >>> Body Part = " << bpart <<
"\n"
129 <<
" >>> Sensitivity = " << sensitivity <<
G4endl;
void SetGuidance(const char *aGuidance)
G4UIcmdWithAString * sexCmd
G4HumanPhantomMessenger(G4HumanPhantomConstruction *myUsrPhtm)
G4UIcmdWithAString * modelCmd
void SetDefaultValue(const char *defVal)
void SetPhantomSex(G4String)
G4UIdirectory * phantomDir
G4HumanPhantomConstruction * myUserPhantom
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetCandidates(const char *candidateList)
G4UIcmdWithoutParameter * endCmd
~G4HumanPhantomMessenger()
G4UIcmdWithAString * bodypartCmd
void SetPhantomModel(G4String)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4GLOB_DLL std::ostream G4cout
void SetBodyPartSensitivity(G4String, G4bool)
void AvailableForStates(G4ApplicationState s1)
void AddBodyPart(G4String)