ref
roof + top
rooftop (n.)
also roof-top, "the top of a roof," 1610s, from roof (n.) + top (n.1). As an adjective by 1935 in reference to anything situated on top of a building.