An original method to determine the charged particle energy is developed. This method uses the dependency of waveguide mode frequency on the Lorentz factor of particles. It is central to this technique that the particle bunch generates Cherenkov radiation in a waveguide, and the mode frequencies depend essentially on the Lorentz factor. Here, we consider the case when radiation is excited in a circular waveguide with a dielectric layer. It is shown that structures with relatively thick layers are not convenient for the particle energy measurement because the dependence of the first mode frequency on the Lorentz factor is weak. In contrast, a structure with a thin layer is favorable for such a purpose because this dependency is more essential. Analytical and numerical investigations are performed. It is shown that the first mode amplitude is sufficient for measurements in the case of a pico-Coulomb bunch.