Affine Toda model coupled to matter and the string tension in 2D QCD