Geant4-11
|
#include <G4MatScanMessenger.hh>
Public Member Functions | |
G4bool | CommandsShouldBeInMaster () const |
G4MatScanMessenger (G4MaterialScanner *p1) | |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator!= (const G4UImessenger &messenger) const |
G4bool | operator== (const G4UImessenger &messenger) const |
virtual void | SetNewValue (G4UIcommand *command, G4String newValue) |
virtual | ~G4MatScanMessenger () |
Protected Member Functions | |
void | AddUIcommand (G4UIcommand *newCommand) |
G4String | BtoS (G4bool b) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
G4String | DtoS (G4double a) |
G4String | ItoS (G4int i) |
G4bool | StoB (G4String s) |
G4double | StoD (G4String s) |
G4int | StoI (G4String s) |
G4long | StoL (G4String s) |
Protected Attributes | |
G4UIdirectory * | baseDir = nullptr |
G4String | baseDirName = "" |
G4bool | commandsShouldBeInMaster = false |
Private Attributes | |
G4UIcmdWith3VectorAndUnit * | eyePosCmd = nullptr |
G4UIdirectory * | msDirectory = nullptr |
G4UIcommand * | phiCmd = nullptr |
G4UIcmdWithAString * | regionCmd = nullptr |
G4UIcmdWithABool * | regSenseCmd = nullptr |
G4UIcmdWithoutParameter * | scanCmd = nullptr |
G4UIcmdWith3Vector * | single2Cmd = nullptr |
G4UIcommand * | singleCmd = nullptr |
G4MaterialScanner * | theScanner = nullptr |
G4UIcommand * | thetaCmd = nullptr |
Definition at line 48 of file G4MatScanMessenger.hh.
G4MatScanMessenger::G4MatScanMessenger | ( | G4MaterialScanner * | p1 | ) |
Definition at line 47 of file G4MatScanMessenger.cc.
References G4UIcommand::AvailableForStates(), G4UIcommand::CategoryOf(), eyePosCmd, G4State_Idle, msDirectory, phiCmd, regionCmd, regSenseCmd, scanCmd, G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIparameter::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIparameter::SetParameterCandidates(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4UIparameter::SetParameterRange(), single2Cmd, singleCmd, theScanner, thetaCmd, and G4UIcommand::UnitsList().
|
virtual |
Definition at line 152 of file G4MatScanMessenger.cc.
References eyePosCmd, msDirectory, phiCmd, regionCmd, regSenseCmd, scanCmd, single2Cmd, singleCmd, and thetaCmd.
|
protectedinherited |
Definition at line 149 of file G4UImessenger.cc.
References G4cerr, G4endl, and G4UIcommand::GetCommandPath().
Definition at line 98 of file G4UImessenger.cc.
|
inlineinherited |
Definition at line 77 of file G4UImessenger.hh.
References G4UImessenger::commandsShouldBeInMaster.
Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().
|
protectedinherited |
Definition at line 110 of file G4UImessenger.hh.
References G4UImessenger::baseDirName.
|
protectedinherited |
Definition at line 156 of file G4UImessenger.cc.
References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().
Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().
Definition at line 90 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 166 of file G4MatScanMessenger.cc.
References G4UIcommand::ConvertToString(), deg, eyePosCmd, G4MaterialScanner::GetEyePosition(), G4MaterialScanner::GetNPhi(), G4MaterialScanner::GetNTheta(), G4MaterialScanner::GetPhiMin(), G4MaterialScanner::GetPhiSpan(), G4MaterialScanner::GetRegionName(), G4MaterialScanner::GetRegionSensitive(), G4MaterialScanner::GetThetaMin(), G4MaterialScanner::GetThetaSpan(), phiCmd, regionCmd, regSenseCmd, theScanner, and thetaCmd.
Definition at line 82 of file G4UImessenger.cc.
Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().
|
inherited |
Definition at line 76 of file G4UImessenger.cc.
|
inherited |
Definition at line 70 of file G4UImessenger.cc.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 205 of file G4MatScanMessenger.cc.
References deg, eyePosCmd, G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithABool::GetNewBoolValue(), G4MaterialScanner::GetNPhi(), G4MaterialScanner::GetNTheta(), G4MaterialScanner::GetPhiMin(), G4MaterialScanner::GetPhiSpan(), G4MaterialScanner::GetThetaMin(), G4MaterialScanner::GetThetaSpan(), CLHEP::Hep3Vector::phi(), phiCmd, regionCmd, regSenseCmd, G4MaterialScanner::Scan(), scanCmd, G4MaterialScanner::SetEyePosition(), G4MaterialScanner::SetNPhi(), G4MaterialScanner::SetNTheta(), G4MaterialScanner::SetPhiMin(), G4MaterialScanner::SetPhiSpan(), G4MaterialScanner::SetRegionName(), G4MaterialScanner::SetRegionSensitive(), G4MaterialScanner::SetThetaMin(), G4MaterialScanner::SetThetaSpan(), single2Cmd, singleCmd, G4UImessenger::StoD(), G4UImessenger::StoI(), theScanner, CLHEP::Hep3Vector::theta(), thetaCmd, and G4UIcommand::ValueOf().
Definition at line 137 of file G4UImessenger.cc.
References G4StrUtil::to_upper_copy().
Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 127 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4UIcontrolMessenger::SetNewValue(), SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), and G4PolarizationMessenger::SetNewValue().
Definition at line 107 of file G4UImessenger.cc.
Referenced by G4ScoringMessenger::Fill1D(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4ParticleGunMessenger::IonLevelCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4ScoringMessenger::MeshBinCommand(), G4LocalThreadCoutMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), SetNewValue(), G4GMocrenMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 117 of file G4UImessenger.cc.
Referenced by G4RunMessenger::SetNewValue().
|
protectedinherited |
Definition at line 102 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateDirectory(), and G4UImessenger::~G4UImessenger().
|
protectedinherited |
Definition at line 103 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateCommand(), and G4UImessenger::CreateDirectory().
|
protectedinherited |
Definition at line 104 of file G4UImessenger.hh.
Referenced by G4UImessenger::CommandsShouldBeInMaster(), and G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger().
|
private |
Definition at line 70 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 62 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), and ~G4MatScanMessenger().
|
private |
Definition at line 65 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 69 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 68 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 63 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 67 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 66 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), SetNewValue(), and ~G4MatScanMessenger().
|
private |
Definition at line 60 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 64 of file G4MatScanMessenger.hh.
Referenced by G4MatScanMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MatScanMessenger().