#include <G4HumanPhantomMessenger.hh>
Definition at line 48 of file G4HumanPhantomMessenger.hh.
◆ G4HumanPhantomMessenger()
Definition at line 45 of file G4HumanPhantomMessenger.cc.
55 modelCmd->
SetGuidance(
"Set sex of Phantom: MIRD, ORNLFemale, ORNLMale, MIX, MIRDHead, ORNLHead.");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIdirectory * phantomDir
G4HumanPhantomConstruction * myUserPhantom
G4UIcmdWithoutParameter * endCmd
G4UIcmdWithAString * modelCmd
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
G4UIcmdWithAString * bodypartCmd
void SetDefaultValue(const char *defVal)
G4UIcmdWithAString * sexCmd
void SetCandidates(const char *candidateList)
◆ ~G4HumanPhantomMessenger()
G4HumanPhantomMessenger::~G4HumanPhantomMessenger |
( |
| ) |
|
Definition at line 79 of file G4HumanPhantomMessenger.cc.
G4UIdirectory * phantomDir
G4UIcmdWithoutParameter * endCmd
G4UIcmdWithAString * modelCmd
G4UIcmdWithAString * bodypartCmd
G4UIcmdWithAString * sexCmd
◆ AddBodyPart()
void G4HumanPhantomMessenger::AddBodyPart |
( |
G4String |
newBodyPartSensitivity | ) |
|
Definition at line 111 of file G4HumanPhantomMessenger.cc.
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;
G4HumanPhantomConstruction * myUserPhantom
G4GLOB_DLL std::ostream G4cout
void SetBodyPartSensitivity(G4String, G4bool)
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 89 of file G4HumanPhantomMessenger.cc.
106 " ****************>>>> NEW PHANTOM CONSTRUCTION <<<<***************** " G4HumanPhantomConstruction * myUserPhantom
G4UIcmdWithoutParameter * endCmd
void SetPhantomModel(G4String)
void SetPhantomSex(G4String)
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithAString * modelCmd
void AddBodyPart(G4String)
G4UIcmdWithAString * bodypartCmd
G4UIcmdWithAString * sexCmd
◆ bodypart
G4String G4HumanPhantomMessenger::bodypart |
|
private |
◆ bodypartCmd
◆ bpDir
◆ bps
G4bool G4HumanPhantomMessenger::bps |
|
private |
◆ endCmd
◆ modelCmd
◆ myUserPhantom
◆ phantomDir
◆ sexCmd
The documentation for this class was generated from the following files: