Chest have their own loot table. So it will be the same. Doom have his own loot table. That's why he drop better item.
Loot table and RIF is 2 different things. Currently superheroic mode got the highest RIF boost. Than red terminal than MM.
Loot table determines what type of item drop. RIF determines if the rarity of the item will be upgraded or not.
Every item will have a roll to determine if the rarity will be upgraded or not. Let's say a green weapon will be dropped by doom. It will than use your RIF to roll to see if it will turn into a blue item or not.
Every time an upgrade roll is successful, it will have another free roll. So if the system roll from green to blue, it will use you RIF to determine if it will roll from blue to purple or not. So on and so forth.
RIF should not affect quantity of loot.
But Doomsaw got hint that RIF won't affect the chest. But I do notice I get more cosmics and uniques when I open in sh mode.
End of the day just play for funah