Cosmic ray and gamma ray dosimetry for TL and ESR