California high-speed rail and Capitol Corridor projects were awarded nearly $45 million in federal grant funding.