Matching the Cosmic Star Formation History to the Local Galaxy Population