SMS dit: Diagnostics of Short Electron Bunches with THz Detectors in Particle Accelerators