An analysis unit for a driver assistance system for a vehicle includes an input for receiving image information which is captured by a camera, a calculating device for using image information to calculate a variable which describes an angle of inclination of the vehicle, a determining device for using the variable to determine an output signal, wherein the output signal relates to a vertical orientation of electromagnetic radiation which is to be emitted by a transmitter unit, and an output for outputting the output signal. A driver assistance system, a computer program product and a method for operating a driver assistance system, are also provided.