Measurements of open charm and beauty production cross sections in deep inelastic ep scattering at HERA from the H1 and ZEUS Collaborations are combined. Reduced cross sections are obtained in the kinematic range of negative four-momentum transfer squared of the photon 2.5 GeV2 <= Q(2) <= 2000 GeV2 and Bjorken scaling variable 3 . 10(-5) <= x(Bj) <= 5 . 10(-2).
The combination method accounts for the correlations of the statistical and systematic uncertainties among the different datasets. Perturbative QCD calculations are compared to the combined data.
A next-to-leading order QCD analysis is performed using these data together with the combined inclusive deep inelastic scattering cross sections from HERA. The running charmand beauty-quark masses are determined as m(c)(m(c)) = 1.290(-0.041)(+0.046)(exp/fit)(-0.014)(+0.062)(model)(0.031)(+0.003)(parameterisation) GeV and m(b)(m(b)) = 4.049(-0.109)(+0.104)(exp/fit)(-0.032)(+0.090)(model)(-0.031)(+0.001)(parameterisation) GeV.