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++){
G4ProcessTableMessenger * fProcTblMessenger
static G4ThreadLocal G4ProcessTable * fProcessTable
G4int Insert(G4VProcess *aProcess, G4ProcessManager *aProcMgr)
G4ProcTableVector * tmpTblVector
void DumpInfo(G4VProcess *process, G4ParticleDefinition *particle=0)
G4UImessenger * CreateMessenger()
G4int Remove(G4VProcess *aProcess, G4ProcessManager *aProcMgr)
void SetVerboseLevel(G4int value)
G4ProcessManager * GetProcessManager(G4int index) const
G4ProcessType GetProcessType() const
G4int GetVerboseLevel() const
void SetProcessActivation(const G4String &processName, G4bool fActive)
const G4String & GetParticleName() const
G4VProcess * SetProcessActivation(G4VProcess *aProcess, G4bool fActive)
G4ProcessTable & operator=(const G4ProcessTable &right)
G4int GetVerboseLevel() const
G4ProcTableVector * Find(G4ProcTableVector *procTableVector, const G4String &processName)
G4ProcTableVector * fProcTblVector
G4GLOB_DLL std::ostream G4cout
G4int operator==(const G4ProcessTable &right) const
G4bool Contains(const G4ProcessManager *pManager) const
void Insert(G4ProcessManager *aProcMgr)
const G4String & GetProcessName() const
G4ParticleDefinition * GetParticleType() const
const G4String & GetProcessName() const
G4bool insert(G4VProcess *aProcess)
void Remove(G4ProcessManager *aProcMgr)
G4VProcess * GetProcess() const
std::vector< G4String > G4ProcNameVector
std::vector< G4ProcTblElement * > G4ProcTableVector
G4ProcNameVector * fProcNameVector
G4int GetProcessIndex(G4VProcess *) const
virtual void DumpInfo() const
G4ProcessVector * ExtractProcesses(G4ProcTableVector *procTableVector)
G4ProcessVector * FindProcesses()
G4int operator!=(const G4ProcessTable &right) const
static G4ProcessTable * GetProcessTable()
G4VProcess * FindProcess(const G4String &processName, const G4String &particleName) const
void SetVerboseLevel(G4int value)
G4ProcessVector * GetProcessList() const