setCoutFile |
setCerrFile |
useBuffer |
prefixString |
ignoreThreadsExcept |
ignoreInitializationCout |
Send G4cout stream to a file dedicated to a thread.
To have a display output, use special keyword "**Screen**".
If append flag is true output is appended to file,
otherwise file output is overwritten.
Available Geant4 state(s) : PreInit Idle
Parameters
fileName | type s | Omittable : default value = **Screen** | |
append | type b | Omittable : default value = 1 |
Send G4cerr stream to a file dedicated to a thread.
To have a display output, use special keyword "**Screen**".
If append flag is true output is appended to file,
otherwise file output is overwritten.
Available Geant4 state(s) : PreInit Idle
Parameters
fileName | type s | Omittable : default value = **Screen** | |
append | type b | Omittable : default value = 1 |
Send cout and/or cerr stream to a buffer.
The buffered text will be printed at the end of the job
for each thread at a time, so that output of each thread is grouped.
This command has no effect if output goes to a file.
Available Geant4 state(s) : PreInit Idle
Parameters
flag | type b | Omittable : default value = 1 |
Set the prefix string for each cout/cerr line from a thread.
Available Geant4 state(s) : PreInit Idle
Parameters
prefix | type s | Omittable : default value = G4WT |
Omit cout from threads except the specified one.
This command takes effect only if cout destination is screen without buffering.
If specified thread ID is greater than the number of threads,
no cout is displayed from worker threads. -1 to reset.
This command does not affect to cerr.
Available Geant4 state(s) : PreInit Idle
Parameters
threadID | type i | Omittable : default value = 0 |
Omit cout from threads during initialization, as they should be identical to the master thread.
This command takes effect only if cout destination is screen without buffering.
This command does not affect to cerr.
Available Geant4 state(s) : PreInit Idle
Parameters
IgnoreInit | type b | Omittable : default value = 1 |