Title: Diagnostics of Short Electron Bunches With THz Detectors in Particle Accelerators