Production of lepton pairs, J/Ψ and charm with hadron beams