5 const auto processes{processManager->GetProcessList()};
6 for (
int i{0}; i < processes->size(); ++i) {
7 const auto process{(*processes)[i]};
8 const auto processName{process->GetProcessName()};
9 if (processName ==
"photonNuclear") {
10 processManager->RemoveProcess(i);