ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HumanPhantomMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/human_phantom/include/G4HumanPhantomMessenger.hh>

+ Inheritance diagram for G4HumanPhantomMessenger:
+ Collaboration diagram for G4HumanPhantomMessenger:

Public Member Functions

 G4HumanPhantomMessenger (G4HumanPhantomConstruction *myUsrPhtm)
 
 ~G4HumanPhantomMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValue)
 
void AddBodyPart (G4String)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

G4HumanPhantomConstructionmyUserPhantom
 
G4UIdirectoryphantomDir
 
G4UIdirectorybpDir
 
G4UIcmdWithAStringmodelCmd
 
G4UIcmdWithAStringsexCmd
 
G4UIcmdWithAStringbodypartCmd
 
G4UIcmdWithoutParameterendCmd
 
G4String bodypart
 
G4bool bps
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4long StoL (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 44 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 44 of file G4HumanPhantomMessenger.hh

Constructor & Destructor Documentation

G4HumanPhantomMessenger::G4HumanPhantomMessenger ( G4HumanPhantomConstruction myUsrPhtm)

Definition at line 40 of file G4HumanPhantomMessenger.cc.

View newest version in sPHENIX GitHub at line 40 of file G4HumanPhantomMessenger.cc

References G4UIcommand::AvailableForStates(), bodypartCmd, bpDir, endCmd, G4State_Idle, G4State_PreInit, modelCmd, phantomDir, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), and sexCmd.

+ Here is the call graph for this function:

G4HumanPhantomMessenger::~G4HumanPhantomMessenger ( )

Definition at line 74 of file G4HumanPhantomMessenger.cc.

View newest version in sPHENIX GitHub at line 74 of file G4HumanPhantomMessenger.cc

References bodypartCmd, bpDir, endCmd, modelCmd, phantomDir, and sexCmd.

Member Function Documentation

void G4HumanPhantomMessenger::AddBodyPart ( G4String  newBodyPartSensitivity)

Definition at line 106 of file G4HumanPhantomMessenger.cc.

View newest version in sPHENIX GitHub at line 106 of file G4HumanPhantomMessenger.cc

References bps, G4cout, G4endl, myUserPhantom, sensitivity(), and G4HumanPhantomConstruction::SetBodyPartSensitivity().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4HumanPhantomMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 84 of file G4HumanPhantomMessenger.cc.

View newest version in sPHENIX GitHub at line 84 of file G4HumanPhantomMessenger.cc

References AddBodyPart(), bodypartCmd, endCmd, G4cout, G4endl, modelCmd, myUserPhantom, G4HumanPhantomConstruction::SetPhantomModel(), G4HumanPhantomConstruction::SetPhantomSex(), and sexCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4String G4HumanPhantomMessenger::bodypart
private

Definition at line 65 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 65 of file G4HumanPhantomMessenger.hh

G4UIcmdWithAString* G4HumanPhantomMessenger::bodypartCmd
private

Definition at line 62 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 62 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), SetNewValue(), and ~G4HumanPhantomMessenger().

G4UIdirectory* G4HumanPhantomMessenger::bpDir
private

Definition at line 58 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 58 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), and ~G4HumanPhantomMessenger().

G4bool G4HumanPhantomMessenger::bps
private

Definition at line 66 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 66 of file G4HumanPhantomMessenger.hh

Referenced by AddBodyPart().

G4UIcmdWithoutParameter* G4HumanPhantomMessenger::endCmd
private

Definition at line 63 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 63 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), SetNewValue(), and ~G4HumanPhantomMessenger().

G4UIcmdWithAString* G4HumanPhantomMessenger::modelCmd
private

Definition at line 60 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 60 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), SetNewValue(), and ~G4HumanPhantomMessenger().

G4HumanPhantomConstruction* G4HumanPhantomMessenger::myUserPhantom
private

Definition at line 55 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 55 of file G4HumanPhantomMessenger.hh

Referenced by AddBodyPart(), and SetNewValue().

G4UIdirectory* G4HumanPhantomMessenger::phantomDir
private

Definition at line 57 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 57 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), and ~G4HumanPhantomMessenger().

G4UIcmdWithAString* G4HumanPhantomMessenger::sexCmd
private

Definition at line 61 of file G4HumanPhantomMessenger.hh.

View newest version in sPHENIX GitHub at line 61 of file G4HumanPhantomMessenger.hh

Referenced by G4HumanPhantomMessenger(), SetNewValue(), and ~G4HumanPhantomMessenger().


The documentation for this class was generated from the following files: