Tom, there's no substitute for the following exercise taken with each lens you own/use:
Setup:
~ Find a landscape that has some good elements at various points throughout the focal distances (some objects of interest close, mid, and far).
~ Setup your camera and lens on a tripod, with cable release, and the camera set for mirror lockup and in single shot mode.
~ Set the lens to the shortest focal length (widest angle), put it in manual focus mode, and manually focus at infinity.
~ Put your camera in AV (aperture priority) mode, and set it to the largest aperture (f/4 on my Canon 17-40 f/4L).
Procedure:
~ Shoot at normal exposure and infinity focus across the major f/stops for the lens (e.g., f4, 5.6, 8, 11, 13, 16, 18, 20, 22), one shot at each f/stop (or, you can bracket if you like, letting the camera change shutter speed to keep the f/stop where you set it).
~ After you've gone through all the major f/stops for the lens at the first focal length, move the lens to the next major focal length and repeat the above process. Do this for each major focal length the lens has (obviously, I'm assuming a zoom lens here).
~ Now, repeat the process for all focal lengths on the lens where you manually focus to midway into the scene ("midway" is the next best alternative to "infinity" suggested by Harold Merklinger, see "
Harold Merklinger on Depth of Field" Part IV, page 3).
Post processing,
~ Examine your images shot at various f/stops for each focal length, first for infinity focus and then for midway focus. You will be able to identify which f/stop is best at each focal length and which focusing method gave the best results. You can take this information and build yourself a grid in a little spiral notepad, to note for a given lens and focal length which focusing method to use and at which f/stop. This notebook goes into the camera bag and is a handy reference when you're out shooting.
Yes, it's time-consuming and pretty dern analytical. But once you've done this for each lens you will know more about that lens and how to best shoot with it than folks who have been shooting for years, guessing each time they go out and getting mixed results and never knowing why. In today's age of digital photography where there's no cost associated with taking lots of images, what have you got to loose?