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

#include <G4ProcessTableMessenger.hh>

Inheritance diagram for G4ProcessTableMessenger:
G4UImessenger

Public Member Functions

G4bool CommandsShouldBeInMaster () const
 
 G4ProcessTableMessenger (const G4ProcessTableMessenger &)=delete
 
 G4ProcessTableMessenger (G4ProcessTable *pTable)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator!= (const G4UImessenger &messenger) const
 
G4ProcessTableMessengeroperator= (const G4ProcessTableMessenger &)=delete
 
G4bool operator== (const G4UImessenger &messenger) const
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 
virtual ~G4ProcessTableMessenger ()
 

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 Member Functions

 G4ProcessTableMessenger ()
 
G4int GetProcessType (const G4String &aTypeName) const
 
G4String GetProcessTypeName (G4ProcessType aType) const
 
void SetNumberOfProcessType ()
 

Private Attributes

G4UIcommandactivateCmd = nullptr
 
G4String currentParticleName = "all"
 
G4String currentProcessName = "all"
 
G4String currentProcessTypeName = "all"
 
G4UIcommanddumpCmd = nullptr
 
G4UIcommandinactivateCmd = nullptr
 
G4UIcmdWithAStringlistCmd = nullptr
 
G4UIcommandprocVerboseCmd = nullptr
 
G4ProcessTabletheProcessTable = nullptr
 
G4UIdirectorythisDirectory = nullptr
 
G4UIcmdWithAnIntegerverboseCmd = nullptr
 

Static Private Attributes

static G4ThreadLocal G4int NumberOfProcessType = 10
 

Detailed Description

Definition at line 55 of file G4ProcessTableMessenger.hh.

Constructor & Destructor Documentation

◆ G4ProcessTableMessenger() [1/3]

G4ProcessTableMessenger::G4ProcessTableMessenger ( G4ProcessTable pTable)

Definition at line 52 of file G4ProcessTableMessenger.cc.

53 : theProcessTable(pTable)
54{
55 // Command /particle/process
56 thisDirectory = new G4UIdirectory("/process/");
57 thisDirectory->SetGuidance("Process Table control commands.");
58
59 // Command /particle/process/list
60 listCmd = new G4UIcmdWithAString("/process/list",this);
61 listCmd->SetGuidance("List up process names");
62 listCmd->SetGuidance(" list [type] ");
63 listCmd->SetGuidance(" type: process type [all:for all processes]");
64 listCmd->SetParameterName("type", true);
67
68 G4String candidates("all");
69 for (G4int idx = 0; idx < NumberOfProcessType ; ++idx )
70 {
71 candidates += " " + G4VProcess::GetProcessTypeName(G4ProcessType(idx));
72 }
73 listCmd->SetCandidates((const char*)(candidates));
74
75 // Command /particle/process/verbose
76 verboseCmd = new G4UIcmdWithAnInteger("/process/verbose",this);
77 verboseCmd->SetGuidance("Set Verbose Level for Process Table");
78 verboseCmd->SetGuidance(" verbose [level]");
79 verboseCmd->SetGuidance(" level: verbose level");
80 verboseCmd->SetParameterName("verbose", true);
82 verboseCmd->SetRange("verbose >=0");
84
85 // Command /particle/process/setVerbose
86 procVerboseCmd = new G4UIcommand("/process/setVerbose",this);
87 procVerboseCmd->SetGuidance("Set verbose level for processes");
88 procVerboseCmd->SetGuidance(" setVerbose level [type or name] ");
89 procVerboseCmd->SetGuidance(" level: verbose level ");
90 procVerboseCmd->SetGuidance(" name : process name ");
91 procVerboseCmd->SetGuidance(" type : process type ");
92 procVerboseCmd->SetGuidance(" [all] for all processes ");
93 G4UIparameter* param = new G4UIparameter("verbose",'i',false);
95 param = new G4UIparameter("type",'s',true);
96 param->SetDefaultValue("all");
99
100 // Command /particle/process/dump
101 dumpCmd = new G4UIcommand("/process/dump",this);
102 dumpCmd->SetGuidance("Dump process information");
103 dumpCmd->SetGuidance(" dump name [particle]");
104 dumpCmd->SetGuidance(" name: process name or type name");
105 dumpCmd->SetGuidance(" particle: particle name [all: for all particles]");
106 param = new G4UIparameter("procName",'s',false);
107 dumpCmd->SetParameter(param);
108 param = new G4UIparameter("particle",'s',true);
109 param->SetDefaultValue("all");
110 dumpCmd->SetParameter(param);
112
113 // Command /process/activate
114 activateCmd = new G4UIcommand("/process/activate",this);
115 activateCmd->SetGuidance("Activate processes ");
116 activateCmd->SetGuidance(" Activate name [particle]");
117 activateCmd->SetGuidance(" name: process name or type name");
118 activateCmd->SetGuidance(" particle: particle name [all: for all particles]");
119 param = new G4UIparameter("procName",'s',false);
121 param = new G4UIparameter("particle",'s',true);
122 param->SetDefaultValue("all");
125
126 // Command /process/inactivate
127 inactivateCmd = new G4UIcommand("/process/inactivate",this);
128 inactivateCmd->SetGuidance("Inactivate process ");
129 inactivateCmd->SetGuidance("Inactivate processes ");
130 inactivateCmd->SetGuidance(" Inactivate name [particle]");
131 inactivateCmd->SetGuidance(" name: process name or type name");
132 inactivateCmd->SetGuidance(" particle: particle name [all: for all particles]");
133 param = new G4UIparameter("procName",'s',false);
135 param = new G4UIparameter("particle",'s',true);
136 param->SetDefaultValue("all");
139}
@ G4State_EventProc
@ G4State_Init
@ G4State_Idle
@ G4State_GeomClosed
@ G4State_PreInit
G4ProcessType
int G4int
Definition: G4Types.hh:85
static G4ThreadLocal G4int NumberOfProcessType
G4UIcmdWithAnInteger * verboseCmd
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
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 AvailableForStates(G4ApplicationState s1)
Definition: G4UIcommand.cc:288
void SetDefaultValue(const char *theDefaultValue)
static const G4String & GetProcessTypeName(G4ProcessType)
Definition: G4VProcess.cc:134

References activateCmd, G4UIcommand::AvailableForStates(), dumpCmd, G4State_EventProc, G4State_GeomClosed, G4State_Idle, G4State_Init, G4State_PreInit, G4VProcess::GetProcessTypeName(), inactivateCmd, listCmd, NumberOfProcessType, procVerboseCmd, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAString::SetDefaultValue(), G4UIparameter::SetDefaultValue(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcommand::SetGuidance(), SetNumberOfProcessType(), G4UIcommand::SetParameter(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcommand::SetRange(), thisDirectory, and verboseCmd.

◆ ~G4ProcessTableMessenger()

G4ProcessTableMessenger::~G4ProcessTableMessenger ( )
virtual

Definition at line 142 of file G4ProcessTableMessenger.cc.

143{
144 delete activateCmd;
145 delete inactivateCmd;
146 delete verboseCmd;
147 delete dumpCmd;
148 delete listCmd;
149 delete procVerboseCmd;
150 delete thisDirectory;
151}

References activateCmd, dumpCmd, inactivateCmd, listCmd, procVerboseCmd, thisDirectory, and verboseCmd.

◆ G4ProcessTableMessenger() [2/3]

G4ProcessTableMessenger::G4ProcessTableMessenger ( const G4ProcessTableMessenger )
delete

◆ G4ProcessTableMessenger() [3/3]

G4ProcessTableMessenger::G4ProcessTableMessenger ( )
inlineprivate

Definition at line 70 of file G4ProcessTableMessenger.hh.

70{}

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 G4ProcessTableMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 369 of file G4ProcessTableMessenger.cc.

370{
371 if( command==verboseCmd )
372 {
373 // Command /process/verbose
375 }
376 else if ( command==listCmd )
377 {
378 // Command /process/list
380 }
381 else
382 {
383 // Command /process/dump, activate, inactivate
385 }
386
387 return "";
388}
G4int GetVerboseLevel() const
static G4String ConvertToString(G4bool boolVal)
Definition: G4UIcommand.cc:445

References G4UIcommand::ConvertToString(), currentParticleName, currentProcessName, currentProcessTypeName, G4ProcessTable::GetVerboseLevel(), listCmd, theProcessTable, and verboseCmd.

◆ GetProcessType()

G4int G4ProcessTableMessenger::GetProcessType ( const G4String aTypeName) const
private

Definition at line 397 of file G4ProcessTableMessenger.cc.

398{
399 G4int type = -1;
400 for (G4int idx = 0; idx < NumberOfProcessType ; ++idx )
401 {
402 if (aTypeName == G4VProcess::GetProcessTypeName(G4ProcessType(idx)) )
403 {
404 type = idx;
405 break;
406 }
407 }
408 return type;
409}

References G4VProcess::GetProcessTypeName(), and NumberOfProcessType.

Referenced by SetNewValue().

◆ GetProcessTypeName()

G4String G4ProcessTableMessenger::GetProcessTypeName ( G4ProcessType  aType) const
private

Definition at line 391 of file G4ProcessTableMessenger.cc.

392{
393 return G4VProcess::GetProcessTypeName(aType);
394}

References G4VProcess::GetProcessTypeName().

◆ 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=()

G4ProcessTableMessenger & G4ProcessTableMessenger::operator= ( const G4ProcessTableMessenger )
delete

◆ 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 G4ProcessTableMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 155 of file G4ProcessTableMessenger.cc.

156{
157 G4ProcessTable::G4ProcNameVector* procNameVector
159 G4int idx;
160 G4int type = -1;
162
163 if( command == listCmd )
164 {
165 // Command /process/list
166 type = -1;
167 if (newValue == "all")
168 {
169 currentProcessTypeName = newValue;
170 }
171 else
172 {
173 type = GetProcessType(newValue);
174 if (type <0)
175 {
176 G4cout << " illegal type !!! " << G4endl;
177 }
178 else
179 {
180 currentProcessTypeName = newValue;
181 }
182 }
183 G4int counter = 0;
184 idx = 0;
185 for (auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
186 {
187 ++idx;
189 if ( (type <0) || ( ((*tmpVector)(0)->GetProcessType()) == type) )
190 {
191 if ( counter%4 != 0) G4cout << ",";
192 G4cout << std::setw(19) << *itr;
193 if ((counter++)%4 == 3)
194 {
195 G4cout << G4endl;
196 }
197 }
198 delete tmpVector;
199 }
200 G4cout << G4endl;
201 }
202 else if( command==procVerboseCmd )
203 {
204 // Command /process/setVerbose
205 G4Tokenizer next( newValue );
206
207 // check 1st argument
208 G4String tmpS = G4String(next());
209 // inputstream for newValues
210 const char* temp = (const char*)(tmpS);
211 std::istringstream is((char*)temp);
212 G4int level;
213 is >>level;
214
215 // check 2nd argument
218 G4bool isProcName = false;
219 G4bool isAll = false;
220 type = -1;
221
222 if (currentProcessTypeName == "all")
223 {
224 isAll = true;
225 }
226 else
227 {
229 if (type<0)
230 {
231 isProcName = true;
234 }
235 }
236 idx = 0;
237 for (auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
238 {
239 ++idx;
241 G4VProcess* p = (*tmpVector)(0);
242 if ( isAll ||
243 (!isProcName && ( p->GetProcessType() == type) ) ||
244 ( isProcName && ( p->GetProcessName()== currentProcessName) ) )
245 {
246 p->SetVerboseLevel(level);
247 }
248 delete tmpVector;
249 }
250 }
251 else if( command==verboseCmd )
252 {
253 // Command /process/verbose
255 }
256 else
257 {
258 G4Tokenizer next( newValue );
259
260 // check 1st argument
262 G4bool isProcName = false;
263 for (auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
264 {
265 if ( (*itr) == currentProcessName )
266 {
267 isProcName = true;
268 break;
269 }
270 }
271 if (!isProcName)
272 {
274 if (type <0 )
275 {
276 // no processes with specified name
277 ed << " illegal process (or type) name ["
278 << currentProcessName << "]";
279 command->CommandFailed(ed);
281 return;
282 }
283 }
284
285 // check 2nd argument
287 G4bool isParticleFound = false;
288 G4ParticleDefinition* currentParticle = nullptr;
289 if ( currentParticleName == "all" )
290 {
291 isParticleFound = true;
292 }
293 else
294 {
295 isParticleFound = G4ParticleTable::GetParticleTable()
297 if (isParticleFound)
298 {
299 currentParticle = G4ParticleTable::GetParticleTable()
301 }
302 }
303
304 if ( !isParticleFound )
305 {
306 // no particle with specified name
307 ed << " illegal particle name [" << currentParticleName << "]";
308 command->CommandFailed(ed);
310 return;
311 }
312
313 if( command==dumpCmd )
314 {
315 // process/dump
316 G4ProcessVector* tmpVector;
317 if (isProcName)
318 {
320 }
321 else
322 {
323 tmpVector = theProcessTable->FindProcesses(G4ProcessType(type));
324 }
325 for (std::size_t i=0; i<tmpVector->length(); ++i)
326 {
327 theProcessTable->DumpInfo( (*tmpVector)(i), currentParticle );
328 }
329 delete tmpVector;
330 }
331 else if ( (command==activateCmd) || (command==inactivateCmd))
332 {
333 // process/activate , inactivate
334 G4bool fActive = (command==activateCmd);
335 if (isProcName)
336 {
337 if ( currentParticle == nullptr )
338 {
340 fActive);
341 }
342 else
343 {
345 currentParticle,
346 fActive);
347 }
348 }
349 else
350 {
351 if ( currentParticle == nullptr )
352 {
354 fActive);
355 }
356 else
357 {
359 currentParticle,
360 fActive);
361 }
362 }
363 G4UImanager::GetUIpointer()->ApplyCommand("/run/physicsModified");
364 }
365 }
366}
std::ostringstream G4ExceptionDescription
Definition: G4Exception.hh:40
bool G4bool
Definition: G4Types.hh:86
G4GLOB_DLL std::ostream G4cout
G4bool contains(const G4ParticleDefinition *particle) const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4int GetProcessType(const G4String &aTypeName) const
void DumpInfo(G4VProcess *process, const G4ParticleDefinition *particle=nullptr)
G4ProcNameVector * GetNameList()
void SetProcessActivation(const G4String &processName, G4bool fActive)
G4ProcessVector * FindProcesses()
void SetVerboseLevel(G4int value)
std::vector< G4String > G4ProcNameVector
std::size_t length() const
static G4int GetNewIntValue(const char *paramString)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
Definition: G4UIcommand.hh:179
G4int ApplyCommand(const char *aCommand)
Definition: G4UImanager.cc:485
void SetVerboseLevel(G4int value)
Definition: G4VProcess.hh:412
G4ProcessType GetProcessType() const
Definition: G4VProcess.hh:388
const G4String & GetProcessName() const
Definition: G4VProcess.hh:382

References activateCmd, G4UImanager::ApplyCommand(), G4UIcommand::CommandFailed(), G4ParticleTable::contains(), currentParticleName, currentProcessName, currentProcessTypeName, dumpCmd, G4ProcessTable::DumpInfo(), G4ParticleTable::FindParticle(), G4ProcessTable::FindProcesses(), G4cout, G4endl, G4ProcessTable::GetNameList(), G4UIcmdWithAnInteger::GetNewIntValue(), G4ParticleTable::GetParticleTable(), G4VProcess::GetProcessName(), G4VProcess::GetProcessType(), GetProcessType(), G4UImanager::GetUIpointer(), inactivateCmd, G4ProcessVector::length(), listCmd, procVerboseCmd, G4ProcessTable::SetProcessActivation(), G4ProcessTable::SetVerboseLevel(), G4VProcess::SetVerboseLevel(), theProcessTable, and verboseCmd.

◆ SetNumberOfProcessType()

void G4ProcessTableMessenger::SetNumberOfProcessType ( )
private

Definition at line 412 of file G4ProcessTableMessenger.cc.

413{
414 G4bool isFoundEndMark = false;
415 G4int idx;
416 for (idx = 0; idx < 1000 ; ++idx )
417 {
419 isFoundEndMark = G4StrUtil::contains(typeName, "---");
420 if ( isFoundEndMark ) break;
421 }
422 if ( isFoundEndMark )
423 {
425 }
426 else
427 {
428 G4Exception("G4ProcessTableMessenger::SetNumberOfProcessType()",
429 "ProcMan014", FatalException, "No End Mark");
430 }
431}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
G4bool contains(const G4String &str, std::string_view ss)
Check if a string contains a given substring.

References G4StrUtil::contains(), FatalException, G4Exception(), G4VProcess::GetProcessTypeName(), and NumberOfProcessType.

Referenced by G4ProcessTableMessenger().

◆ 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}
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

◆ activateCmd

G4UIcommand* G4ProcessTableMessenger::activateCmd = nullptr
private

◆ baseDir

G4UIdirectory* G4UImessenger::baseDir = nullptr
protectedinherited

◆ baseDirName

G4String G4UImessenger::baseDirName = ""
protectedinherited

◆ commandsShouldBeInMaster

G4bool G4UImessenger::commandsShouldBeInMaster = false
protectedinherited

◆ currentParticleName

G4String G4ProcessTableMessenger::currentParticleName = "all"
private

Definition at line 91 of file G4ProcessTableMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

◆ currentProcessName

G4String G4ProcessTableMessenger::currentProcessName = "all"
private

Definition at line 90 of file G4ProcessTableMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

◆ currentProcessTypeName

G4String G4ProcessTableMessenger::currentProcessTypeName = "all"
private

Definition at line 89 of file G4ProcessTableMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

◆ dumpCmd

G4UIcommand* G4ProcessTableMessenger::dumpCmd = nullptr
private

◆ inactivateCmd

G4UIcommand* G4ProcessTableMessenger::inactivateCmd = nullptr
private

◆ listCmd

G4UIcmdWithAString* G4ProcessTableMessenger::listCmd = nullptr
private

◆ NumberOfProcessType

G4ThreadLocal G4int G4ProcessTableMessenger::NumberOfProcessType = 10
staticprivate

◆ procVerboseCmd

G4UIcommand* G4ProcessTableMessenger::procVerboseCmd = nullptr
private

◆ theProcessTable

G4ProcessTable* G4ProcessTableMessenger::theProcessTable = nullptr
private

Definition at line 79 of file G4ProcessTableMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

◆ thisDirectory

G4UIdirectory* G4ProcessTableMessenger::thisDirectory = nullptr
private

Definition at line 81 of file G4ProcessTableMessenger.hh.

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

◆ verboseCmd

G4UIcmdWithAnInteger* G4ProcessTableMessenger::verboseCmd = nullptr
private

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