How are the leadership positions in Congress assigned?
These offices are selected by the voters during the elections.

There is a conference committee meeting

There is a party caucus where members of each party pick their leadership.

There is a joint committee meeting of both houses.