A small (but important) correction: generally, journalists do not write headlines; sub-editors do. Most subs have been journalists but most journalists do not become subs.
I think the distinction is moot. They all work in the newsroom, and are that side of the "journalistic integrity" divide. Subs are not part of the management team, or commercially motivated.