In diner slang, apple pie is "eve with a lid"  & to "put a hat on" her means to add this
[DOC] [TLE] Diner lingo [Archive] - Sitcoms Online Message Boards - Forums [PAR] Nov 18, 2006 ... [Archive] Diner lingo Chit Chat - Archives.