In diner slang, apple pie is "eve with a lid"  & to "put a hat on" her means to add this
Java or Joe: Coffee ... That means the other side is 
cooked for a few seconds ... Eve with a lid on: Apple pie, referring to the biblical 
Eve's tempting of Adam with an apple.