Need Help with Piezo Buzzer and Ultrasonic Sensor code

Make hysteresis = 0, what happens?
Make hysteresis = 10, what happens?

This could be referred to as sensitivity.