67 G4cout <<
"-- G4ProcessTable copy constructor --" <<
G4endl;
87 G4ProcTableVector::iterator idx;
129 G4cout <<
"-- G4ProcessTable assignment operator --" <<
G4endl;
138 return (
this == &right);
144 return (
this != &right);
165 if ( (aProcess == 0) || ( aProcMgr == 0 ) ){
168 G4cout <<
"G4ProcessTable::Insert : arguments are 0 pointer "
169 <<aProcess <<
","<< aProcMgr <<
G4endl;
177 G4cout <<
"G4ProcessTable::Insert ";
184 G4ProcTableVector::iterator itr;
187 G4bool isFoundInTbl =
false;
197 if (!anElement->
Contains(aProcMgr)) {
198 anElement->
Insert(aProcMgr);
201 G4cout <<
" This Process Manager is registered !! " <<
G4endl;
211 newElement->
Insert(aProcMgr);
214 G4ProcNameVector::iterator ip;
235 if ( (aProcess == 0) || ( aProcMgr == 0 ) ){
238 G4cout <<
"G4ProcessTable::Remove : arguments are 0 pointer "<<
G4endl;
246 G4cout <<
"G4ProcessTable::Remove ";
252 G4ProcTableVector::iterator itr;
262 isFound = anElement->
Contains(aProcMgr);
264 anElement->
Remove(aProcMgr);
267 G4cout <<
" This Process Manager is removed !! " <<
G4endl;
277 G4cout <<
" This Process Manager is not registered !! " <<
G4endl;
283 if (anElement->
Length() == 0){
287 G4bool isSameName =
false;
297 G4ProcNameVector::iterator i;
319 G4ProcTableVector::iterator itr;
328 if ( anElement->
Contains(processManager) ) {
336 G4cout <<
" G4ProcessTable::FindProcess :" ;
337 G4cout <<
" The Process[" << processName <<
"] is not found ";
353 G4ProcTableVector::iterator itr;
367 G4cout <<
" G4ProcessTable::Find :" ;
368 G4cout <<
" The Process[" << processName <<
"] is not found " <<
G4endl;
382 G4ProcTableVector::iterator itr;
396 G4cout <<
" G4ProcessTable::Find :" ;
397 G4cout <<
" The ProcessType[" << processType <<
"] is not found " <<
G4endl;
409 G4ProcTableVector::iterator itr;
411 for (itr=procTblVector->begin(); itr!=procTblVector->end(); ++itr) {
451 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
452 G4cout <<
" The Process[" << processName <<
"] "<<
G4endl;
457 G4ProcTableVector::iterator itr;
460 for (itr=pTblVector->begin(); itr!=pTblVector->end(); ++itr) {
463 for (
G4int idx = 0 ; idx < anElement->
Length(); idx++) {
485 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
486 G4cout <<
" The Process[" << processName <<
"] "<<
G4endl;
509 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
515 G4ProcTableVector::iterator itr;
518 for (itr=pTblVector->begin(); itr!=pTblVector->end(); ++itr) {
526 for (
G4int idx = 0 ; idx < anElement->
Length(); idx++) {
547 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
553 for (
G4int idx = 0; idx < procList->
length(); idx++) {
573 G4ProcTableVector::iterator itr;
576 G4bool isFoundInTbl =
false;
584 for (idx=0; idx<anElement->
Length(); idx++){
597 if (!isFoundInTbl )
return;
604 for (idx=0; idx<anElement->
Length(); idx++){
G4VProcess * GetProcess() const
G4ProcTableVector * Find(G4ProcTableVector *procTableVector, const G4String &processName)
void DumpInfo(G4VProcess *process, G4ParticleDefinition *particle=0)
G4ProcNameVector * fProcNameVector
const G4String & GetParticleName() const
G4int Remove(G4VProcess *aProcess, G4ProcessManager *aProcMgr)
static G4ProcessTable * GetProcessTable()
G4ProcessTable & operator=(const G4ProcessTable &right)
G4ProcessVector * GetProcessList() const
void Remove(G4ProcessManager *aProcMgr)
void SetVerboseLevel(G4int value)
G4int Insert(G4VProcess *aProcess, G4ProcessManager *aProcMgr)
const G4String & GetProcessName() const
G4bool insert(G4VProcess *aProcess)
static G4ThreadLocal G4ProcessTable * fProcessTable
void Insert(G4ProcessManager *aProcMgr)
G4ProcessVector * FindProcesses()
void SetProcessActivation(const G4String &processName, G4bool fActive)
G4VProcess * SetProcessActivation(G4VProcess *aProcess, G4bool fActive)
G4int GetVerboseLevel() const
G4ParticleDefinition * GetParticleType() const
const G4String & GetProcessName() const
G4ProcessType GetProcessType() const
G4ProcTableVector * fProcTblVector
G4ProcTableVector * tmpTblVector
G4int operator==(const G4ProcessTable &right) const
G4ProcessManager * GetProcessManager(G4int index) const
G4ProcessVector * ExtractProcesses(G4ProcTableVector *procTableVector)
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(G4int value)
G4VProcess * FindProcess(const G4String &processName, const G4String &particleName) const
G4bool Contains(const G4ProcessManager *pManager) const
G4int operator!=(const G4ProcessTable &right) const
virtual void DumpInfo() const
std::vector< G4String > G4ProcNameVector
G4UImessenger * CreateMessenger()
std::vector< G4ProcTblElement * > G4ProcTableVector
G4int GetVerboseLevel() const
G4ProcessTableMessenger * fProcTblMessenger
G4int GetProcessIndex(G4VProcess *) const