46 :myUserPhantom(myUsrPhtm),bps(false)
55 modelCmd->
SetGuidance(
"Set sex of Phantom: MIRD, ORNLFemale, ORNLMale, MIX, MIRDHead, ORNLHead.");
58 modelCmd->
SetCandidates(
"MIRD ORNLFemale ORNLMale MIX MIRDHead ORNLHead");
62 sexCmd->
SetGuidance(
"Set sex of Phantom: Male or Female.");
69 bodypartCmd->
SetGuidance(
"Add a Body Part to Phantom");
91 if( command == modelCmd )
95 if( command == sexCmd )
99 if( command == bodypartCmd )
103 if( command == endCmd )
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;