Boxcar function
In mathematics, a boxcar function is any function which is zero over the entire real line except for a single interval where it is equal to a constant, A. The function is named after its graph's resemblance to a boxcar, a type of railroad car. The boxcar function can be expressed in terms of the uniform distribution as
https://en.wikipedia.org/wiki/Boxcar_function