a roofing filter is a type of filter used in a hf receiver (shortwave radio). it is usually found after the first receiver mixer. the goal of a roofing filter is to reduce the passband of the 1st intermediate frequency (if) to about 6-20 khz, so that overloading and distortions by the following amplifier stages and mixers are reduced. the receiver's bandwidth is not performed by the roofing filter but by a following crystal filter, mechanical filter or dsp filter. these allow much better filtering curve than a roofing filter, which often uses a high 1st if of higher than 40 mhz. because of this, roofing filters are usually crystal filter types.
it should be noted that while a 6-20 khz roofing filter is acceptable for general purpose hf radio reception, demanding uses like listening to weak cw (morse code) or ssb (single sideband) signals requires the use of roofing filters that are a much smaller width appropriate to the reception mode in use. 250 hz, 500 hz, or 1.8 khz would be acceptable values. these also require that the receiver use a low first if below vhf range, perhaps 9 or 11 mhz.