G4QCaptureAtRest* captureProc = new G4QCaptureAtRest(); particleProcessManager->AddRestProcess(captureProc);