  The FermiCORD code system, a set of codes based on MARS15 that calculates the
accelerator-induced residual doses at experimental facilities of arbitrary
configurations, has been developed. FermiCORD is written in C++ as an add-on to
Fortran-based MARS15. The FermiCORD algorithm consists of two stages: 1)
simulation of residual doses on contact with the surfaces surrounding the
studied location and of radionuclide inventories in the structures surrounding
those locations using MARS15, and 2) simulation of the emission of the nuclear
decay $\gamma$-quanta by the residuals in the activated structures and scoring
the prompt doses of these $\gamma$-quanta at arbitrary distances from those
structures. The FermiCORD code system has been benchmarked against similar
algorithms based on other code systems and against experimental data from the
CERF facility at CERN, and FermiCORD showed reasonable agreement with these.
The code system has been applied for calculation of the residual dose of the
target station for the Mu2e experiment and the results have been compared to
approximate dosimetric approaches.
