Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
G4RadioactiveDecayMessenger Class Reference

#include <G4RadioactiveDecayMessenger.hh>

Inheritance diagram for G4RadioactiveDecayMessenger:
G4UImessenger

Public Member Functions

G4bool CommandsShouldBeInMaster () const
 
 G4RadioactiveDecayMessenger (G4RadioactiveDecay *theRadioactiveDecayContainer)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator!= (const G4UImessenger &messenger) const
 
G4bool operator== (const G4UImessenger &messenger) const
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
 ~G4RadioactiveDecayMessenger ()
 

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

G4UIdirectorybaseDir = nullptr
 
G4String baseDirName = ""
 
G4bool commandsShouldBeInMaster = false
 

Private Attributes

G4UIcmdWithoutParameterallvolumesCmd
 
G4UIcmdWithABoolarmCmd
 
G4UIcmdWithAStringavolumeCmd
 
G4UIcmdWithADoubleAndUnitcollangleCmd
 
G4UIcmdWith3VectorcolldirCmd
 
G4UIcmdWithoutParameterdeallvolumesCmd
 
G4UIcmdWithAStringdeavolumeCmd
 
G4UIcmdWithABoolicmCmd
 
G4UIcmdWithNucleusLimitsnucleuslimitsCmd
 
G4UIdirectoryrdmDirectory
 
G4RadioactiveDecaytheRadioactiveDecayContainer
 
G4UIcmdWithADoubleAndUnitthresholdForVeryLongDecayTimeCmd
 
G4UIcommanduserDecayDataCmd
 
G4UIcommanduserEvaporationDataCmd
 
G4UIcmdWithAnIntegerverboseCmd
 

Detailed Description

Definition at line 57 of file G4RadioactiveDecayMessenger.hh.

Constructor & Destructor Documentation

◆ G4RadioactiveDecayMessenger()

G4RadioactiveDecayMessenger::G4RadioactiveDecayMessenger ( G4RadioactiveDecay theRadioactiveDecayContainer)

Definition at line 44 of file G4RadioactiveDecayMessenger.cc.

46:theRadioactiveDecayContainer(theRadioactiveDecayContainer1)
47{
48 rdmDirectory = new G4UIdirectory("/process/had/rdm/");
49 rdmDirectory->SetGuidance("Controls for the Radioactive Decay Module.");
50
51 // Command to define the limits on nucleus the RDM will treat.
52 nucleuslimitsCmd = new G4UIcmdWithNucleusLimits("/process/had/rdm/nucleusLimits",this);
53 nucleuslimitsCmd->SetGuidance("Set the atomic weight and number limits for the RDM.");
54 nucleuslimitsCmd->SetParameterName("AMin","AMax","ZMin","ZMax",true);
55
56 // Select a logical volume for RDM
57 avolumeCmd = new G4UIcmdWithAString("/process/had/rdm/selectVolume",this);
58 avolumeCmd->SetGuidance("Supply a logical volumes name to add it to the RDM apply list");
59 avolumeCmd->SetParameterName("AVolume",false);
60
61 // De-select a logical volume for RDM
62 deavolumeCmd = new G4UIcmdWithAString("/process/had/rdm/deselectVolume",this);
63 deavolumeCmd->SetGuidance("Supply a logical volumes name to remove it from the RDM apply list");
64 deavolumeCmd->SetParameterName("AVolume",false);
65
66 // Select all logical volumes for RDM
67 allvolumesCmd = new G4UIcmdWithoutParameter("/process/had/rdm/allVolumes",this);
68 allvolumesCmd->SetGuidance(" apply RDM to all logical volumes. No parameter required.");
69 // allvolumeCmd->SetParameterName("AddAVolume",true);
70
71 // De-select all logical volumes for RDM
72 deallvolumesCmd = new G4UIcmdWithoutParameter("/process/had/rdm/noVolumes",this);
73 deallvolumesCmd->SetGuidance(" RDM is not applied to any logical volumes");
74 // deallvolumesCmd->SetParameterName("RemoveAVolume",true);
75
76 // Command to invoke internal conversion or not
77 icmCmd = new G4UIcmdWithABool("/process/had/rdm/applyICM",this);
78 icmCmd->SetGuidance("Command not active; kept for backward compatibility.");
79 icmCmd->SetGuidance("Internal conversion is always turned on.");
80 icmCmd->SetParameterName("ApplyICM",true);
82
83 // Command to invoke atomic relaxation or not
84 armCmd = new G4UIcmdWithABool("/process/had/rdm/applyARM",this);
85 armCmd->SetGuidance("True: ARM is applied; false: no");
86 armCmd->SetParameterName("ApplyARM",true);
88 //armCmd->AvailableForStates(G4State_PreInit);
89
90 // Command to set the directional bias (collimation) vector
91 colldirCmd = new G4UIcmdWith3Vector("/process/had/rdm/decayDirection",this);
92 colldirCmd->SetGuidance("Supply the direction vector for decay products");
93 colldirCmd->SetParameterName("X","Y","Z",false);
94
95 // Command to set the directional bias (collimation) half angle ("cone")
96 collangleCmd = new G4UIcmdWithADoubleAndUnit("/process/had/rdm/decayHalfAngle",this);
97 collangleCmd->SetGuidance("Supply maximum angle from direction vector for decay products");
98 collangleCmd->SetParameterName("HalfAngle",false);
100
101 // This command setup the verbose level of radioactive decay
102 verboseCmd = new G4UIcmdWithAnInteger("/process/had/rdm/verbose",this);
103 verboseCmd->SetGuidance("Set verbose level: 0, 1, 2 or 3");
104 verboseCmd->SetParameterName("VerboseLevel",true);
106 verboseCmd->SetRange("VerboseLevel>=0");
107
108 // Use a user-defined decay datafile for a given isotope
109 userDecayDataCmd = new G4UIcommand("/process/had/rdm/setRadioactiveDecayFile",this);
110 userDecayDataCmd->SetGuidance("Supply user-defined radioactive decay data file");
111 G4UIparameter* Z_para= new G4UIparameter("Z_isotope",'i',true);
112 Z_para->SetParameterRange("Z_isotope > 0");
113 Z_para->SetGuidance("Z: Charge number of isotope");
114 G4UIparameter* A_para= new G4UIparameter("A_isotope",'i',true);
115 A_para->SetParameterRange("A_isotope > 1");
116 A_para->SetGuidance("A: mass number of isotope");
117 G4UIparameter* FileName_para= new G4UIparameter("file_name",'s',true);
118 FileName_para->SetGuidance("Name of the user data file");
121 userDecayDataCmd->SetParameter(FileName_para);
122
123 // Use a user-defined evaporation data file for a given isotope
124 userEvaporationDataCmd = new G4UIcommand("/process/had/rdm/setPhotoEvaporationFile",this);
125 userEvaporationDataCmd->SetGuidance("Supply user-defined photon evaporation data file");
126 G4UIparameter* Zpara= new G4UIparameter("Z_isotope",'i',true);
127 Zpara->SetParameterRange("Z_isotope > 0");
128 Zpara->SetGuidance("Z: Charge number of isotope");
129 G4UIparameter* Apara= new G4UIparameter("A_isotope",'i',true);
130 Apara->SetParameterRange("A_isotope > 1");
131 Apara->SetGuidance("A: mass number of isotope");
132 G4UIparameter* FileNamepara= new G4UIparameter("file_name",'s',true);
133 FileNamepara->SetGuidance("Name of the user data file");
137
138 // Command to set the threshold for very long decay time (i.e. radioactive
139 // decays of nuclides at rest happening later than this threshold are ignored)
140 thresholdForVeryLongDecayTimeCmd = new G4UIcmdWithADoubleAndUnit("/process/had/rdm/thresholdForVeryLongDecayTime",this);
141 thresholdForVeryLongDecayTimeCmd->SetGuidance("Ignore decays at rest of nuclides happening after this time threshold");
142 thresholdForVeryLongDecayTimeCmd->SetParameterName("ThresholdForVeryLongDecayTime",false);
144}
G4UIcmdWithNucleusLimits * nucleuslimitsCmd
G4UIcmdWithADoubleAndUnit * thresholdForVeryLongDecayTimeCmd
G4UIcmdWithoutParameter * deallvolumesCmd
G4RadioactiveDecay * theRadioactiveDecayContainer
G4UIcmdWithADoubleAndUnit * collangleCmd
G4UIcmdWithoutParameter * allvolumesCmd
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetUnitCategory(const char *unitCategory)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetParameterName(const char *theNameAMin, const char *theNameAMax, const char *theNameZMin, const char *theNameZMax, G4bool omittable, G4bool currentAsDefault=true)
void SetParameter(G4UIparameter *const newParameter)
Definition: G4UIcommand.hh:146
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:156
void SetRange(const char *rs)
Definition: G4UIcommand.hh:120
void SetGuidance(const char *theGuidance)
void SetParameterRange(const char *theRange)

References allvolumesCmd, armCmd, avolumeCmd, collangleCmd, colldirCmd, deallvolumesCmd, deavolumeCmd, icmCmd, nucleuslimitsCmd, rdmDirectory, G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIparameter::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithNucleusLimits::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIparameter::SetParameterRange(), G4UIcommand::SetRange(), G4UIcmdWithADoubleAndUnit::SetUnitCategory(), thresholdForVeryLongDecayTimeCmd, userDecayDataCmd, userEvaporationDataCmd, and verboseCmd.

◆ ~G4RadioactiveDecayMessenger()

G4RadioactiveDecayMessenger::~G4RadioactiveDecayMessenger ( )

Member Function Documentation

◆ AddUIcommand()

void G4UImessenger::AddUIcommand ( G4UIcommand newCommand)
protectedinherited

Definition at line 149 of file G4UImessenger.cc.

150{
151 G4cerr << "Warning : Old style definition of G4UIcommand <"
152 << newCommand->GetCommandPath() << ">." << G4endl;
153}
G4GLOB_DLL std::ostream G4cerr
#define G4endl
Definition: G4ios.hh:57
const G4String & GetCommandPath() const
Definition: G4UIcommand.hh:136

References G4cerr, G4endl, and G4UIcommand::GetCommandPath().

◆ BtoS()

G4String G4UImessenger::BtoS ( G4bool  b)
protectedinherited

Definition at line 98 of file G4UImessenger.cc.

99{
100 G4String vl = "0";
101 if(b)
102 vl = "true";
103 return vl;
104}

◆ CommandsShouldBeInMaster()

G4bool G4UImessenger::CommandsShouldBeInMaster ( ) const
inlineinherited

Definition at line 77 of file G4UImessenger.hh.

78 {
80 }
G4bool commandsShouldBeInMaster

References G4UImessenger::commandsShouldBeInMaster.

Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().

◆ CreateCommand()

template<typename T >
T * G4UImessenger::CreateCommand ( const G4String cname,
const G4String dsc 
)
protectedinherited

Definition at line 110 of file G4UImessenger.hh.

111{
112 G4String path;
113 if(cname[0] != '/')
114 {
115 path = baseDirName + cname;
116 if(path[0] != '/')
117 path = "/" + path;
118 }
119
120 T* command = new T(path.c_str(), this);
121 command->SetGuidance(dsc.c_str());
122
123 return command;
124}
G4String baseDirName

References G4UImessenger::baseDirName.

◆ CreateDirectory()

void G4UImessenger::CreateDirectory ( const G4String path,
const G4String dsc,
G4bool  commandsToBeBroadcasted = true 
)
protectedinherited

Definition at line 156 of file G4UImessenger.cc.

158{
160
161 G4String fullpath = path;
162 if(fullpath.back() != '/')
163 fullpath.append("/");
164
165 G4UIcommandTree* tree = ui->GetTree()->FindCommandTree(fullpath.c_str());
166 if(tree != nullptr)
167 {
168 baseDirName = tree->GetPathName();
169 }
170 else
171 {
172 baseDir = new G4UIdirectory(fullpath.c_str(), commandsToBeBroadcasted);
173 baseDirName = fullpath;
174 baseDir->SetGuidance(dsc.c_str());
175 }
176}
const G4String & GetPathName() const
G4UIcommandTree * FindCommandTree(const char *commandPath)
G4UIcommandTree * GetTree() const
Definition: G4UImanager.hh:186
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:77
G4UIdirectory * baseDir

References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().

Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().

◆ DtoS()

G4String G4UImessenger::DtoS ( G4double  a)
protectedinherited

Definition at line 90 of file G4UImessenger.cc.

91{
92 std::ostringstream os;
93 os << a;
94 return G4String(os.str());
95}

Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().

◆ GetCurrentValue()

G4String G4UImessenger::GetCurrentValue ( G4UIcommand command)
virtualinherited

Reimplemented in G4ScoreQuantityMessenger, G4VisCommandModelCreate< Factory >, G4VisCommandListManagerList< Manager >, G4VisCommandListManagerSelect< Manager >, G4VisCommandManagerMode< Manager >, G4ToolsAnalysisMessenger, G4ScoringMessenger, G4EvManMessenger, G4GeneralParticleSourceMessenger, G4ParticleGunMessenger, G4GeometryMessenger, G4GenericMessenger, G4UIcontrolMessenger, GFlashShowerModelMessenger, G4DecayTableMessenger, G4ParticleMessenger, G4ParticlePropertyMessenger, G4tgrMessenger, G4PersistencyCenterMessenger, G4ProductionCutsTableMessenger, G4SchedulerMessenger, G4VITSteppingVerbose, G4MoleculeShootMessenger, G4MoleculeGunMessenger, G4ProcessManagerMessenger, G4ProcessTableMessenger, G4MatScanMessenger, G4RunMessenger, G4UserPhysicsListMessenger, G4TrackingMessenger, G4GMocrenMessenger, G4HepRepMessenger, G4VisCommandAbortReviewKeptEvents, G4VisCommandDrawOnlyToBeKeptEvents, G4VisCommandEnable, G4VisCommandList, G4VisCommandReviewKeptEvents, G4VisCommandVerbose, G4VisCommandGeometryList, G4VisCommandGeometryRestore, G4VisCommandGeometrySetColour, G4VisCommandGeometrySetDaughtersInvisible, G4VisCommandGeometrySetForceAuxEdgeVisible, G4VisCommandGeometrySetForceCloud, G4VisCommandGeometrySetForceSolid, G4VisCommandGeometrySetForceLineSegmentsPerCircle, G4VisCommandGeometrySetForceWireframe, G4VisCommandGeometrySetLineStyle, G4VisCommandGeometrySetLineWidth, G4VisCommandGeometrySetVisibility, G4VisCommandSceneActivateModel, G4VisCommandSceneCreate, G4VisCommandSceneEndOfEventAction, G4VisCommandSceneEndOfRunAction, G4VisCommandSceneList, G4VisCommandSceneNotifyHandlers, G4VisCommandSceneRemoveModel, G4VisCommandSceneSelect, G4VisCommandSceneShowExtents, G4VisCommandSceneAddArrow, G4VisCommandSceneAddArrow2D, G4VisCommandSceneAddAxes, G4VisCommandSceneAddDate, G4VisCommandSceneAddDigis, G4VisCommandSceneAddEventID, G4VisCommandSceneAddExtent, G4VisCommandSceneAddElectricField, G4VisCommandSceneAddFrame, G4VisCommandSceneAddGPS, G4VisCommandSceneAddGhosts, G4VisCommandSceneAddHits, G4VisCommandSceneAddLine, G4VisCommandSceneAddLine2D, G4VisCommandSceneAddLocalAxes, G4VisCommandSceneAddLogicalVolume, G4VisCommandSceneAddLogo, G4VisCommandSceneAddLogo2D, G4VisCommandSceneAddMagneticField, G4VisCommandSceneAddPSHits, G4VisCommandSceneAddScale, G4VisCommandSceneAddText, G4VisCommandSceneAddText2D, G4VisCommandSceneAddTrajectories, G4VisCommandSceneAddUserAction, G4VisCommandSceneAddVolume, G4VisCommandSceneAddPlotter, G4VisCommandSceneHandlerAttach, G4VisCommandSceneHandlerCreate, G4VisCommandSceneHandlerList, G4VisCommandSceneHandlerSelect, G4VisCommandSetArrow3DLineSegmentsPerCircle, G4VisCommandSetColour, G4VisCommandSetExtentForField, G4VisCommandSetLineWidth, G4VisCommandSetTextColour, G4VisCommandSetTextLayout, G4VisCommandSetTextSize, G4VisCommandSetTouchable, G4VisCommandSetVolumeForField, G4VisCommandsTouchable, G4VisCommandsTouchableSet, G4VisCommandViewerAddCutawayPlane, G4VisCommandViewerCentreOn, G4VisCommandViewerChangeCutawayPlane, G4VisCommandViewerClear, G4VisCommandViewerClearCutawayPlanes, G4VisCommandViewerClearTransients, G4VisCommandViewerClearVisAttributesModifiers, G4VisCommandViewerClone, G4VisCommandViewerColourByDensity, G4VisCommandViewerCopyViewFrom, G4VisCommandViewerCreate, G4VisCommandViewerDolly, G4VisCommandViewerFlush, G4VisCommandViewerInterpolate, G4VisCommandViewerList, G4VisCommandViewerPan, G4VisCommandViewerReset, G4VisCommandViewerRefresh, G4VisCommandViewerRebuild, G4VisCommandViewerSave, G4VisCommandViewerScale, G4VisCommandViewerSelect, G4VisCommandViewerUpdate, G4VisCommandViewerZoom, G4VisCommandViewerDefaultHiddenEdge, G4VisCommandViewerDefaultStyle, G4VisCommandsViewerSet, G4VModelCommand< T >, G4VModelCommand< M >, G4RTMessenger, G4ASCIITreeMessenger, G4VtkMessenger, G4PolarizationMessenger, and G4DNAChemistryManager.

Definition at line 58 of file G4UImessenger.cc.

59{
60 G4String nullString;
61 return nullString;
62}

Referenced by G4UIcommand::DoIt(), and G4UIcommand::GetCurrentValue().

◆ ItoS()

G4String G4UImessenger::ItoS ( G4int  i)
protectedinherited

Definition at line 82 of file G4UImessenger.cc.

83{
84 std::ostringstream os;
85 os << i;
86 return G4String(os.str());
87}

Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().

◆ operator!=()

G4bool G4UImessenger::operator!= ( const G4UImessenger messenger) const
inherited

Definition at line 76 of file G4UImessenger.cc.

77{
78 return this != &messenger;
79}

◆ operator==()

G4bool G4UImessenger::operator== ( const G4UImessenger messenger) const
inherited

Definition at line 70 of file G4UImessenger.cc.

71{
72 return this == &messenger;
73}

◆ SetNewValue()

void G4RadioactiveDecayMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 167 of file G4RadioactiveDecayMessenger.cc.

168{
169 if ( command == nucleuslimitsCmd ) {
171 SetNucleusLimits( nucleuslimitsCmd->GetNewNucleusLimitsValue( newValues ) );
172 } else if ( command == avolumeCmd ) {
174 } else if ( command == deavolumeCmd ) {
176 } else if ( command == allvolumesCmd ) {
178 } else if ( command == deallvolumesCmd ) {
180 } else if ( command == verboseCmd ) {
182 } else if ( command == icmCmd ) {
184 } else if ( command == armCmd ) {
186 } else if ( command == userDecayDataCmd ) {
187 G4int Z,A;
188 G4String file_name;
189 const char* nv = (const char*)newValues;
190 std::istringstream is(nv);
191 is >> Z >> A >> file_name;
193 } else if ( command == userEvaporationDataCmd ) {
194 G4int Z,A;
195 G4String file_name;
196 const char* nv = (const char*)newValues;
197 std::istringstream is(nv);
198 is >> Z >> A >> file_name;
200 } else if ( command == colldirCmd ) {
202 } else if ( command == collangleCmd ) {
204 } else if ( command == thresholdForVeryLongDecayTimeCmd ) {
206 }
207}
int G4int
Definition: G4Types.hh:85
const G4int Z[17]
const G4double A[17]
G4bool AddPrivateData(G4int Z, G4int A, const G4String &filename)
static G4NuclearLevelData * GetInstance()
void SelectAVolume(const G4String &aVolume)
void SetVerboseLevel(G4int value)
void SetICM(G4bool icm)
void SetDecayHalfAngle(G4double halfAngle=0.*CLHEP::deg)
void SetDecayDirection(const G4ThreeVector &theDir)
void SetARM(G4bool arm)
void SetThresholdForVeryLongDecayTime(const G4double inputThreshold)
void AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
void DeselectAVolume(const G4String &aVolume)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
G4NucleusLimits GetNewNucleusLimitsValue(G4String paramString)

References A, G4NuclearLevelData::AddPrivateData(), G4RadioactiveDecay::AddUserDecayDataFile(), allvolumesCmd, armCmd, avolumeCmd, collangleCmd, colldirCmd, deallvolumesCmd, deavolumeCmd, G4RadioactiveDecay::DeselectAllVolumes(), G4RadioactiveDecay::DeselectAVolume(), G4NuclearLevelData::GetInstance(), G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4UIcmdWithNucleusLimits::GetNewNucleusLimitsValue(), icmCmd, nucleuslimitsCmd, G4RadioactiveDecay::SelectAllVolumes(), G4RadioactiveDecay::SelectAVolume(), G4RadioactiveDecay::SetARM(), G4RadioactiveDecay::SetDecayDirection(), G4RadioactiveDecay::SetDecayHalfAngle(), G4RadioactiveDecay::SetICM(), G4RadioactiveDecay::SetThresholdForVeryLongDecayTime(), G4RadioactiveDecay::SetVerboseLevel(), theRadioactiveDecayContainer, thresholdForVeryLongDecayTimeCmd, userDecayDataCmd, userEvaporationDataCmd, verboseCmd, and Z.

◆ StoB()

G4bool G4UImessenger::StoB ( G4String  s)
protectedinherited

Definition at line 137 of file G4UImessenger.cc.

138{
140 G4bool vl = false;
141 if(v == "Y" || v == "YES" || v == "1" || v == "T" || v == "TRUE")
142 {
143 vl = true;
144 }
145 return vl;
146}
bool G4bool
Definition: G4Types.hh:86
G4String to_upper_copy(G4String str)
Return uppercase copy of string.

References G4StrUtil::to_upper_copy().

Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().

◆ StoD()

G4double G4UImessenger::StoD ( G4String  s)
protectedinherited

◆ StoI()

G4int G4UImessenger::StoI ( G4String  s)
protectedinherited

◆ StoL()

G4long G4UImessenger::StoL ( G4String  s)
protectedinherited

Definition at line 117 of file G4UImessenger.cc.

118{
119 G4long vl;
120 const char* t = str;
121 std::istringstream is(t);
122 is >> vl;
123 return vl;
124}
long G4long
Definition: G4Types.hh:87

Referenced by G4RunMessenger::SetNewValue().

Field Documentation

◆ allvolumesCmd

G4UIcmdWithoutParameter* G4RadioactiveDecayMessenger::allvolumesCmd
private

◆ armCmd

G4UIcmdWithABool* G4RadioactiveDecayMessenger::armCmd
private

◆ avolumeCmd

G4UIcmdWithAString* G4RadioactiveDecayMessenger::avolumeCmd
private

◆ baseDir

G4UIdirectory* G4UImessenger::baseDir = nullptr
protectedinherited

◆ baseDirName

G4String G4UImessenger::baseDirName = ""
protectedinherited

◆ collangleCmd

G4UIcmdWithADoubleAndUnit* G4RadioactiveDecayMessenger::collangleCmd
private

◆ colldirCmd

G4UIcmdWith3Vector* G4RadioactiveDecayMessenger::colldirCmd
private

◆ commandsShouldBeInMaster

G4bool G4UImessenger::commandsShouldBeInMaster = false
protectedinherited

◆ deallvolumesCmd

G4UIcmdWithoutParameter* G4RadioactiveDecayMessenger::deallvolumesCmd
private

◆ deavolumeCmd

G4UIcmdWithAString* G4RadioactiveDecayMessenger::deavolumeCmd
private

◆ icmCmd

G4UIcmdWithABool* G4RadioactiveDecayMessenger::icmCmd
private

◆ nucleuslimitsCmd

G4UIcmdWithNucleusLimits* G4RadioactiveDecayMessenger::nucleuslimitsCmd
private

◆ rdmDirectory

G4UIdirectory* G4RadioactiveDecayMessenger::rdmDirectory
private

◆ theRadioactiveDecayContainer

G4RadioactiveDecay* G4RadioactiveDecayMessenger::theRadioactiveDecayContainer
private

Definition at line 66 of file G4RadioactiveDecayMessenger.hh.

Referenced by SetNewValue().

◆ thresholdForVeryLongDecayTimeCmd

G4UIcmdWithADoubleAndUnit* G4RadioactiveDecayMessenger::thresholdForVeryLongDecayTimeCmd
private

◆ userDecayDataCmd

G4UIcommand* G4RadioactiveDecayMessenger::userDecayDataCmd
private

◆ userEvaporationDataCmd

G4UIcommand* G4RadioactiveDecayMessenger::userEvaporationDataCmd
private

◆ verboseCmd

G4UIcmdWithAnInteger* G4RadioactiveDecayMessenger::verboseCmd
private

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