what do u mean by filtering out noise???
if u mean filtering the out of band noise u should consider that your detector is optimum just in presence of AWGN noise.
in computer simulation there is no need for filtering noise but in implementation it depends on the given situation its better to use a filter with low sidelobe level like hamming,blackman,..