67 G4cout <<
"-- G4ProcessTable copy constructor --" <<
G4endl;
87 G4ProcTableVector::iterator idx;
130 G4cout <<
"-- G4ProcessTable assignment operator --" <<
G4endl;
133 if (&right ==
this)
return *
this;
140 return (
this == &right);
146 return (
this != &right);
167 if ( (aProcess == 0) || ( aProcMgr == 0 ) ){
170 G4cout <<
"G4ProcessTable::Insert : arguments are 0 pointer "
171 <<aProcess <<
","<< aProcMgr <<
G4endl;
179 G4cout <<
"G4ProcessTable::Insert ";
186 G4ProcTableVector::iterator itr;
189 G4bool isFoundInTbl =
false;
199 if (!anElement->
Contains(aProcMgr)) {
200 anElement->
Insert(aProcMgr);
203 G4cout <<
" This Process Manager is registered !! " <<
G4endl;
213 newElement->
Insert(aProcMgr);
216 G4ProcNameVector::iterator ip;
237 if ( (aProcess == 0) || ( aProcMgr == 0 ) ){
240 G4cout <<
"G4ProcessTable::Remove : arguments are 0 pointer "<<
G4endl;
248 G4cout <<
"G4ProcessTable::Remove ";
254 G4ProcTableVector::iterator itr;
264 isFound = anElement->
Contains(aProcMgr);
266 anElement->
Remove(aProcMgr);
269 G4cout <<
" This Process Manager is removed !! " <<
G4endl;
279 G4cout <<
" This Process Manager is not registered !! " <<
G4endl;
285 if (anElement->
Length() == 0){
289 G4bool isSameName =
false;
299 G4ProcNameVector::iterator i;
321 G4ProcTableVector::iterator itr;
330 if ( anElement->
Contains(processManager) ) {
338 G4cout <<
" G4ProcessTable::FindProcess :" ;
339 G4cout <<
" The Process[" << processName <<
"] is not found ";
355 G4ProcTableVector::iterator itr;
369 G4cout <<
" G4ProcessTable::Find :" ;
370 G4cout <<
" The Process[" << processName <<
"] is not found " <<
G4endl;
384 G4ProcTableVector::iterator itr;
398 G4cout <<
" G4ProcessTable::Find :" ;
399 G4cout <<
" The ProcessType[" << processType <<
"] is not found " <<
G4endl;
411 G4ProcTableVector::iterator itr;
413 for (itr=procTblVector->begin(); itr!=procTblVector->end(); ++itr) {
453 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
454 G4cout <<
" The Process[" << processName <<
"] "<<
G4endl;
459 G4ProcTableVector::iterator itr;
462 for (itr=pTblVector->begin(); itr!=pTblVector->end(); ++itr) {
465 for (
G4int idx = 0 ; idx < anElement->
Length(); idx++) {
487 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
488 G4cout <<
" The Process[" << processName <<
"] "<<
G4endl;
511 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
517 G4ProcTableVector::iterator itr;
520 for (itr=pTblVector->begin(); itr!=pTblVector->end(); ++itr) {
528 for (
G4int idx = 0 ; idx < anElement->
Length(); idx++) {
549 G4cout <<
" G4ProcessTable::SetProcessActivation:" ;
555 for (
G4int idx = 0; idx < procList->
length(); idx++) {
575 G4ProcTableVector::iterator itr;
578 G4bool isFoundInTbl =
false;
586 for (idx=0; idx<anElement->
Length(); idx++){
599 if (!isFoundInTbl )
return;
606 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