53 : theProcessTable(pTable)
167 if (newValue ==
"all")
185 for (
auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
189 if ( (type <0) || ( ((*tmpVector)(0)->
GetProcessType()) == type) )
191 if ( counter%4 != 0)
G4cout <<
",";
192 G4cout << std::setw(19) << *itr;
193 if ((counter++)%4 == 3)
210 const char* temp = (
const char*)(tmpS);
211 std::istringstream is((
char*)temp);
218 G4bool isProcName =
false;
237 for (
auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
262 G4bool isProcName =
false;
263 for (
auto itr=procNameVector->cbegin(); itr!=procNameVector->cend(); ++itr)
277 ed <<
" illegal process (or type) name ["
287 G4bool isParticleFound =
false;
291 isParticleFound =
true;
304 if ( !isParticleFound )
325 for (std::size_t i=0; i<tmpVector->
length(); ++i)
337 if ( currentParticle ==
nullptr )
351 if ( currentParticle ==
nullptr )
414 G4bool isFoundEndMark =
false;
416 for (idx = 0; idx < 1000 ; ++idx )
420 if ( isFoundEndMark )
break;
422 if ( isFoundEndMark )
428 G4Exception(
"G4ProcessTableMessenger::SetNumberOfProcessType()",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cout
G4bool contains(const G4ParticleDefinition *particle) const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
virtual ~G4ProcessTableMessenger()
G4String currentProcessName
G4String currentProcessTypeName
G4String currentParticleName
G4UIdirectory * thisDirectory
G4UIcmdWithAString * listCmd
G4int GetProcessType(const G4String &aTypeName) const
G4UIcommand * activateCmd
G4ProcessTableMessenger()
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
static G4ThreadLocal G4int NumberOfProcessType
virtual G4String GetCurrentValue(G4UIcommand *command)
void SetNumberOfProcessType()
G4String GetProcessTypeName(G4ProcessType aType) const
G4UIcmdWithAnInteger * verboseCmd
G4UIcommand * procVerboseCmd
G4UIcommand * inactivateCmd
G4ProcessTable * theProcessTable
void DumpInfo(G4VProcess *process, const G4ParticleDefinition *particle=nullptr)
G4ProcNameVector * GetNameList()
G4int GetVerboseLevel() const
void SetProcessActivation(const G4String &processName, G4bool fActive)
G4ProcessVector * FindProcesses()
void SetVerboseLevel(G4int value)
std::vector< G4String > G4ProcNameVector
std::size_t length() const
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)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
static G4String ConvertToString(G4bool boolVal)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
void SetDefaultValue(const char *theDefaultValue)
static const G4String & GetProcessTypeName(G4ProcessType)
void SetVerboseLevel(G4int value)
G4ProcessType GetProcessType() const
const G4String & GetProcessName() const
G4bool contains(const G4String &str, std::string_view ss)
Check if a string contains a given substring.