--------------------------------------------------------------------
| 439 | // -------------------------------------------------------------------- |
| 440 | // |
| 441 | G4ProcessVector* |
| 442 | G4ProcessTable::ExtractProcesses(G4ProcTableVector* procTblVector) const |
| 443 | { |
| 444 | G4ProcessVector* procList = new G4ProcessVector(); |
| 445 | // loop over all elements |
| 446 | for (auto itr=procTblVector->cbegin(); itr!=procTblVector->cend(); ++itr) |
| 447 | { |
| 448 | G4ProcTblElement* anElement = (*itr); |
| 449 | if ( anElement != nullptr) procList->insert( anElement->GetProcess() ); |
| 450 | } |
| 451 | return procList; |
| 452 | } |
| 453 | |
| 454 | // -------------------------------------------------------------------- |
| 455 | // |
nothing calls this directly
no test coverage detected