%================================================================
% LaTeX file with preferred layout for the contributed papers to
% the ICHEP Conference 98 in Vancouver
% process with:  latex hep98.tex
%                dvips -D600 hep98
%================================================================
\documentclass[12pt]{article}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{hhline}
\usepackage{amssymb}
\usepackage{times}

\renewcommand{\topfraction}{1.0}
\renewcommand{\bottomfraction}{1.0}
\renewcommand{\textfraction}{0.0}
\newlength{\dinwidth}
\newlength{\dinmargin}
\setlength{\dinwidth}{21.0cm}
\textheight23.5cm \textwidth16.0cm
\setlength{\dinmargin}{\dinwidth}
\setlength{\unitlength}{1mm}
\addtolength{\dinmargin}{-\textwidth}
\setlength{\dinmargin}{0.5\dinmargin}
\oddsidemargin -1.0in
\addtolength{\oddsidemargin}{\dinmargin}
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\marginparwidth}{0.9\dinmargin}
\marginparsep 8pt \marginparpush 5pt
\topmargin -42pt
\headheight 12pt
\headsep 30pt \footskip 24pt
\parskip 3mm plus 2mm minus 2mm

%===============================title page=============================

% Some useful tex commands
%
\newcommand{\GeV}{\rm GeV}
\newcommand{\TeV}{\rm TeV}
\newcommand{\pb}{\rm pb}
\newcommand{\cm}{\rm cm}
\newcommand{\hdick}{\noalign{\hrule height1.4pt}}

\begin{document}

\pagestyle{empty}
\begin{titlepage}


\noindent
\begin{center}
%{\it {\large version of \today}} \\[.3em] 
\begin{small}
\begin{tabular}{llrr}
%Submitted to & \multicolumn{3}{r}{\footnotesize Electronic Access: {\it http://www-h1.desy.de/h1/www/publications/conf/conf\_list.html}} \\[.2em] \hline 
%Submitted to & \multicolumn{3}{r}{\footnotesize {\it www-h1.desy.de/h1/www/publications/conf/conf\_list.html}} \\[.2em] \hline 
Submitted to & & &
\epsfig{file=/h1/www/images/H1logo_bw_small.epsi
,width=2.cm} \\[.2em] \hline
                & & & \\
\multicolumn{4}{l}{{\bf
                International Europhysics Conference 
                on High Energy Physics, EPS03},
                July~17-23,~2003,~Aachen} \\
                (Abstract {\bf 095} & Parallel Session & {\bf 4}) & \\
                & & & \\
\multicolumn{4}{l}{{\bf
                XXI International Symposium on  
                Lepton and Photon Interactions, LP03},
                August~11-16,~2003,~Fermilab} \\ 
                & & & \\
                \hline
 & \multicolumn{3}{r}{\footnotesize {\it
    www-h1.desy.de/h1/www/publications/conf/conf\_list.html}} \\[.2em]
\end{tabular}
\end{small}
\end{center}
\vspace*{2cm}


\begin{center}
  \Large
  {\bf 
    \boldmath{$D^{*}\mu$} correlations in \boldmath{$ep$} scattering at HERA} \\ 
  \vspace*{1cm}
    {\Large H1 Collaboration} 
\end{center}

\begin{abstract}

\noindent
$D^{*}\mu$ coincidences are studied using data taken with the H1 detector at HERA during the years 1997 to 2000, corresponding to an integrated luminosity of about $90\;\mbox{pb}^{-1}$. Exploiting the charge and angle correlations between the $D^{*}$ and the muon, a separation of charm and beauty production is possible. Measurements are performed of the total charm and beauty production cross sections in the kinematic region $p_{T}(D^{*})>1.5\;\mbox{GeV/c}$, $|\eta(D^{*})|<1.5$, $p_{T}(\mu)>1.0\;\mbox{GeV/c}$, $|\eta(\mu)|<1.74$ and $0.05 < y < 0.75$, where $p_{T}$ and $\eta$ denote, respectively, the transverse momentum and the pseudorapidity of the $D^{*}$ meson and the muon in the laboratory frame. Differential cross sections of several $D^{*}\mu$ quantities are compared with the predictions of leading order QCD Monte Carlo simulations, e.g. the squared transverse momentum of the $D^{*}\mu$ pair.
\end{abstract}


\end{titlepage}

\pagestyle{plain}

\section{Introduction}
In electron-proton collisions heavy quarks are predominantly produced via the photon-gluon fusion (PGF) mechanism, in which a photon emitted by the incoming electron interacts with a gluon in the proton by forming a quark anti-quark pair. Most of these interactions occur via the exchange of an almost real photon, with a virtuality $Q^{2}\approx 0$ (photoproduction). In deep inelastic scattering (DIS) $Q^{2}$ is large, here $Q^{2}>2\;\mbox{GeV}^{2}$.\\
The heavy quark cross section in $ep$ production is a convolution of the PGF cross section, calculable in perturbative QCD, the gluon density in the proton and the photon flux. Heavy quark production is, therefore, directly sensitive to the gluon density. As $m_{b}\approx 3m_{c}$ and $|Q_b|=\frac{1}{2}|Q_c|$ the beauty production cross section is expected to be about 200 times smaller than the charm production cross section.\\
The fragmentation and decay of heavy quarks can result in the production of $D^{*}$ mesons and muons. In this study, both of these signatures are used to ``tag'' heavy quarks.
% To tag heavy quarks $D$ mesons, e.g. $D^{*}$, and the leptons $e$ or $\mu$ from the decay of heavy hadrons are used. 
In the case of double tagging several possibilities exist: $D^{*}D^{*}$, $D^{*}\mu$ or $\mu\mu$. Using the $D^*$ for the reconstruction of a heavy quark allows a very clean heavy quark sample to be obtained and the $D^*$ provides a good approximation of the kinematic quantities of the corresponding quark. The branching ratios for decay chains which lend themselves to $D^{*}$ identification are of the order of 1\%, however, so the resulting heavy quark sample is small. In the case of muons, the muon and heavy quark momenta are not so closely correlated and the purity of the sample is much lower, but, due to the large branching ratio for the semileptonic decay of heavy quarks of about 10\% a relatively large sample is obtained. Therefore the requirement of a $D^{*}$ and a muon in a double tagging analysis is a compromise between a high statistics sample and a very clean sample. The size of such a sample is at least a factor of 10 smaller than the $D^*$ meson sample in the case of single tagging.\\
The advantage of double tagging compared to single tagging is the almost complete reconstruction of the heavy quark pair final state, which in principle allows a measurement of the gluon density with smaller theoretical uncertainties. Furthermore, sensitive tests of next-to-leading order (NLO) perturbative QCD can be made. For example, the vectorial sum of the heavy quark transverse momenta in the photon-gluon rest frame obtains its first non-zero contribution at NLO. This quantity can be determined using the transverse momenta of the $D^{*}$ and muon.

%the sensitivity to higher orders is larger using combined quantities of the two reconstructed particles, e.g. the transverse momentum of the $D^*\mu$ pair, as an approximation of the quark-antiquark pair quantities. 

\section{Data selection}
The data analysed were collected with the H1 detector at HERA and correspond to an integrated luminosity of $\mathcal{L}=91.2\;\mbox{pb}^{-1}$. In this analysis events with at least one $D^{*}$ and at least one muon are selected. Thus both heavy quarks from the PGF process are detected.\\
% Due to the almost complete reconstruction of the heavy quark pair final state a measurement of the gluon density is in principle possible and the sensitivity to higher orders is large.\\
The $D^{*}$ is reconstructed via the decay channel\footnote{Henceforth, charge conjugate states are always implicitly included.} $D^{*+}\rightarrow D^{0}\pi_{s}^{+}\rightarrow K^{-}\pi^{+}\pi_{s}^{+}$. Due to the small difference between the $D^{*}$ and the $D^{0}$ masses, $\Delta M = m_{K\pi\pi_s}-m_{K\pi}=145.4\;\mbox{MeV}$, the momentum of the pion produced by the decay of the $D^{*}$ is very small, strongly restricting the possible kinematic range of the two decay particles. Therefore the combinatorial background is small and a clear signal is obtained. Muons are identified using the H1 central muon detector.\\
Figure \ref{DsMufig6} shows the distribution of the mass difference $\Delta M$ for the full $D^{*}\,\mu$ sample with the requirements $p_{T}(D^{*})>1.5\;\mbox{GeV/c}$, $|\eta(D^{*})|<1.5$, $p_{T}(\mu)>1.0\;\mbox{GeV/c}$, $|\eta(\mu)|<1.74$ and $0.05 < y < 0.75$. Here $p_{T}$ and $\eta$ denote, respectively, the transverse momentum and the pseudorapidity of the $D^{*}$ meson and the muon in the laboratory frame. Events in the whole $Q^{2}$ range are selected, about 25\% of which are DIS events. The number of $D^{*}\mu$ events is obtained from a simultaneous fit to right ($D^{*+}\rightarrow K^{-}\pi^{+}\pi_{s}^{+}$) and wrong ($D^{*+}\rightarrow K^{+}\pi^{+}\pi_{s}^{-}$) charge combination $\Delta M$ distributions. The signal is described by a gaussian and the shape of the background is parametrized by a function of the form $a \cdot (\Delta M -m_{\pi})^{1/2}$. The beauty fraction is strongly enhanced in the kinematic region selected, in particular as a result of the requirement that $p_{T}(\mu)>1\;\mbox{GeV/c}$.

\section{Charge and angle correlation}
The separation of charm and beauty production is possible by exploiting the charge and angle correlations of the $D^{*}$ and the muon. In the photon-proton centre-of-mass frame, leading order QCD predicts that the  two heavy quarks are produced ``back-to-back'', i.e. the vectorial sum of their transverse momenta is zero. 
%In the photon-gluon center of mass frame the two heavy quarks produced via the PGF process (LO) are flying in opposite directions and the transverse momentum of the quark pair is zero. 
In the case of charm only one correlation condition for the $D^{*}\mu$ pair is possible, namely $\Delta\Phi\approx 180^{\circ}$ and $Q(D^{*})\neq Q(\mu)$, where $\Delta\Phi$ denotes the azimuthal angle difference between the $D^{*}$ and the muon and $Q(D^\star)$ and $Q(\mu)$ represent the charge of the $D^\star$ and the muon, respectively. 
Both the fragmentation and the semileptonic decay processes can smear these conditions; $\Delta \Phi$ can deviate significantly from $180^\circ$.
%Fragmentation and the semileptonic decay smear these conditions for the $D^{*}$ meson and the muon; $\Delta\Phi$ can deviate considerably from $180^{\circ}$. \\
In the case of beauty three possible correlation conditions exist. The muon can either come from the semileptonic decay of a hadron containing a $b$, referred to here as a ``direct'' decay, or from the ``cascade'' decay of a charmed hadron produced in the decay of the original $b$ quark.\\
%In the case of beauty three possible correlation conditions exist due to the fact, that the muon can come either from a charm or a beauty hadron. The two additional conditions are $\Delta\Phi\approx 180^{\circ}$ and $Q(D^{*})= Q(\mu)$ or $\Delta\Phi\approx 0^{\circ}$ and $Q(D^{*})\neq Q(\mu)$.\\
The correlations between the $D^*$ and muon directions and their charges are not clear-cut in the laboratory for DIS events due to the relative transverse motion of the laboratory and photon-proton ($\gamma p$) reference frames. Hence a Lorentz transformation is made to the $\gamma p$ frame\footnote{Quantities in the $\gamma p$ frame are marked with a superscript *}, in which the correlations are investigated.
%In the first case the same condition as for charm is possible, where the $D^{*}$ and the muon come from a charmed hadron, which was produced by the decay of a beauty hadron. Secondly the muon can come directly from a semileptonic decay of a beauty hadron. In this case the two particles can stem either from two different heavy quarks - $\Delta\Phi\approx 180^{\circ}$ and $Q(D^{*})= Q(\mu)$ - or from the same quark - $\Delta\Phi\approx 0^{\circ}$ and $Q(D^{*})\neq Q(\mu)$.\\
Perturbative effects like gluon radiation and also a possible non-zero initial ``intrinsic'' transverse momentum of the interacting partons smear the correlations further. Here, four regions are defined using the charge and topology of the identified $D^* \mu$ events: 
\begin{enumerate} 
\item $\Delta \Phi^* < 90^\circ $ and $Q(D^{*}) = Q(\mu)$.
\item $\Delta \Phi^* < 90^\circ $ and $Q(D^{*}) = -Q(\mu)$.
\item $\Delta \Phi^* > 90^\circ $ and $Q(D^{*}) = Q(\mu)$.
\item $\Delta \Phi^* > 90^\circ $ and $Q(D^{*}) = -Q(\mu)$.
\end{enumerate}
The expected population of these regions with heavy quark events is sketched in table~\ref{correlations.table}. $B^{0}-\bar{B}^{0}$ mixing has a slight influence on the population of the four correlation regions, which is taken into account in this study. 
\begin{table}[hpt]
\centering
\begin{tabular}{||c|c|c||} \hline
                & $\Delta \Phi^* < 90^\circ$ & $\Delta \Phi^* > 90^\circ$  \\ \hline
 $Q(D^{*}) = Q(\mu)$  & few $b$ events, no $c$ & mainly ``direct'' $b$ events, no $c$   \\ \hline
 $Q(D^{*}) = -Q(\mu)$ & mainly ``direct'' $b$, few $c$ & mainly ``cascade'' $b$ and $c$  \\ \hline
\end{tabular}
\caption{\small The correlations between the topology and charge of the $D^*$ mesons and muons in $D^* \mu$ events and the flavours of heavy quark event that can populate each of the investigated regions.}
 \label{correlations.table}
\end{table}
%For DIS events the lab frame differs not only by a longitudinal boost but also by a transverse boost from the $\gamma$-gluon frame. 
%Therefore $\Delta\Phi$ calculated in the laboratory frame does not correspond directly to the $\Delta\Phi$ in the $\gamma$-gluon frame. 
%To get the correct $\Delta\Phi$ a transformation in the $\gamma p$ frame is made ($\Delta\Phi\rightarrow \Delta\Phi^{*}$). \\
%Perturbative effects like gluon radiation and a possible non-zero transverse momentum $k_{T}$ of the initial partons (photon or gluon) smear the correlations further. Therefore only a distinction between $\Delta\Phi^{*}\ge 90^{\circ}$ and $\Delta\Phi^{*}\le 90^{\circ}$ is performed. Taking also the charges into account, the following four correlation regions can be defined:
%\begin{itemize}
%\item $Q(D^{*})= Q(\mu)$, $\Delta\Phi^{*}\le 90^{\circ}$: no charm, few beauty
%\item $Q(D^{*})= Q(\mu)$, $\Delta\Phi^{*}\ge 90^{\circ}$: no charm, beauty
%\item $Q(D^{*})\neq Q(\mu)$, $\Delta\Phi^{*}\le 90^{\circ}$: few charm, beauty
%\item $Q(D^{*})\neq (\mu)$, $\Delta\Phi^{*}\ge 90^{\circ}$: charm, beauty
%\end{itemize}

\section{Separation of charm and beauty}
The topology and charge correlations in the $D^* \mu$ events allow a separation of the charm and beauty contributions to the $D^* \mu$ sample. These contributions are identified by performing a likelihood fit in the four regions defined above to the right and wrong charge combination $\Delta M$ distributions. The fit describes the data well, as shown in figure \ref{DsMufig7}. The result of the fit is presented in figure \ref{DsMufig8}. The contributions resulting from hadrons mis-identified as muons and muons resulting from the decays of light hadrons are evaluated using Monte Carlo calculations and subtracted from the data. For charm the fraction of such muons is about $30\%$ and for beauty it is about $5\%$. 
% The distributions contain hadrons misidentified as muons and muons from the decay of light hadrons (muon BG). For charm the fraction of such muons is about 30\% and for beauty about 5\%, which is subtracted from the data after the fit.\\
For the total visible $D^{*}\mu$ production cross sections values of $\sigma_{vis}^{c}(ep\rightarrow e^{\prime}D^{*}\mu X)=(720\pm 115\;(stat.)\pm 245\;(syst.))\;\mbox{pb}$ and of $\sigma_{vis}^{b}(ep\rightarrow e^{\prime}D^{*}\mu X)=(380\pm 120\;(stat.)\pm 130\;(syst.))\;\mbox{pb}$ are obtained for charm and beauty production, respectively. The values are larger than the leading order (LO) + parton shower (PS) predictions by a factor of 1.8 for charm and a factor of 3.6 for beauty. These measurements are compatible with previous results \cite{H1_1},\cite{H1_2}.\\

\section{Differential cross sections}
Normalized differential $D^{*}\mu$ cross sections for $p_{T}^{2}(D^{*}\mu)$, $\hat{y}(D^{*}\mu)$, $M(D^{*}\mu)$ and $\Delta \Phi$ are shown in figure \ref{DsMufig9} together with the predictions of a Monte Carlo model based on leading order perturbative QCD matrix elements matched to parton showers. $p_{T}(D^{*}\mu)$, $M(D^{*}\mu)$ and $\hat{y}(D^{*}\mu)$ denote the transverse momentum, which is defined via $p_{T}(D^{*}\mu)=|\vec{p}_{T}(D^{*})+\vec{p}_{T}(\mu)|$, the invariant mass and the rapidity of the $D^{*}\mu$ pair. No separation of charm and beauty is performed in the different bins. For charm the LO + PS prediction is multiplied by a factor 1.8 and for beauty by 3.6.  The quantities $p_{T}(D^{*}\mu)$, $\Delta \Phi$ and $\hat{y}(D^{*}\mu)$ can be used to study both perturbative and non-perturbative QCD effects in heavy quark production, whereas $M(D^{*}\mu)$ and $\hat{y}(D^{*}\mu)$ are needed in the determination of the fraction of the proton's momentum carried by the gluon entering the PGF process, $x_g$. The LO QCD model describes the shape of the various distributions quite well.
%to determine the momentum fraction $x_{g}$ of the gluon to the proton momentum. The LO+PS prediction describes the shape of the data quite well.

\section{Conclusions}
An analysis is presented of events containing both $D^*$ mesons and muons produced in $ep$ scattering in the H1 experiment at HERA. The events result largely from the production of heavy quark anti-quark pairs via the photon-gluon fusion process. Exploiting the charge and angle correlations between the $D^*$ and the muon allows a separation of the contributions of beauty and charm to the sample. The total charm and beauty $D^* \mu$ cross sections are compatible with previous results. Monte Carlo predictions based on leading order QCD matrix elements matched to parton showers underestimate the charm cross section by a factor of 1.8 and the beauty cross section by a factor of 3.6. The Monte Carlo model provides a reasonable description of the shape of various kinematic variables describing the $D^* \mu$ final state.
%$D^{*}\mu$ correlations in $ep$ scattering are analysed to study heavy quark production at HERA. Both heavy quarks of the PGF process are reconstructed by this double tagging analysis, providing an almost complete reconstruction of the quark-antiquark-pair final state. A separation of charm and beauty is possible exploiting the charge and angle correlations between the $D^{*}$ and the muon. The total charm and beauty $D^{*}\mu$ production cross sections are compatible with previous results. The LO+PS prediction underestimates the data by a factor 1.8 for charm and a factor 3.6 for beauty. But the LO+PS model describes the shape of the $D^{*}\mu$ variables quite well. 

%
%   References for D*muon paper
%
\begin{thebibliography}{99}
\bibitem[1]{Frix93a} S. Frixione et al.: hep-ph/9304289, hep-ph/9306337, hep-ph/9412348, hep-ph/9702287
\bibitem[2]{H1_1} S. Aid et al. (H1 Collaboration), Nucl. Phys. B472 (1996) 32 
\bibitem[3]{H1_2} C. Adloff et al. (H1 Collaboration), Nucl. Phys. B545 (1999) 4, Phys. Lett. B467 (1999) 156, Phys. Lett. B528 (2002) 199
\end{thebibliography}

\newpage
\begin{figure}
  \begin{center}
    \epsfig{file=H1prelim-02-071.fig1.eps,width=16 cm}
\caption{\label{DsMufig6}Distribution of the mass difference $\Delta M = m_{K\pi\pi_{s}}-m_{K\pi}$ for the full sample in which a $D^*$ and a muon are reconstructed. The histogram indicates the background as obtained from wrong charge combinations in the $D^*$ reconstruction. The solid lines represent the simultaneous fit of a Gaussian for the $D^*$ signal plus a backgound term, describing both the right and wrong charge combinations.}
  \end{center}
\end{figure}
\begin{figure}
  \begin{center}
    \unitlength1cm
    \begin{picture}(16,14)
      \put(0,0){\epsfig{file=H1prelim-02-071.fig2.eps,width=16 cm,clip=true}}
      \end{picture}
    \caption{\label{DsMufig7}Distributions of the mass difference $\Delta M = m_{K\pi\pi_{s}}-m_{K\pi}$ in the four correlation regions considered, given by the relative charges of the $D^{*}$ and the muon and the azimuthal angle $\Delta\Phi^{*}$ between them. The points represent the data, the histogram indicates the background as estimated from wrong charge combinations. The solid lines are the result of a simultaneous fit of right and wrong charge combinations to all four correlation regions to extract the beauty and charm contributions.}
  \end{center}
\end{figure}
\begin{figure}
  \begin{center}
\setlength{\unitlength}{1.0cm}
\epsfig{file=H1prelim-02-071.fig3.eps,width=16cm, clip=true}
\vspace*{-0.5cm}
\caption{\label{DsMufig8}Estimated decomposition of the uncorrected data in the four correlation regions, given by the charge of the $D^{*}$ and the muon and the azimuthal angle $\Delta\Phi^{*}$ between them. The solid points are the result of a fit to the $\Delta M$ distribution in each correlation region. The solid line gives the sum of the charm and beauty $D^{*}\mu$ signal events as obtained from the fit. The hatched histogram represents the beauty contribution. The distributions still contain background from hadrons misidentified as muons and muons from the decays of light hadrons, which is corrected for separately. This background to the muon selection represents about 30\% of the charm signal and about 5\% of the beauty signal.}
  \end{center}
\end{figure}
\begin{figure}
  \begin{center}
    \epsfig{file=H1prelim-02-071.fig4.eps,width=16 cm}
\caption{\label{DsMufig9}The data points show cross sections for $D^*\mu$ production normalised to the total cross section in the visible range ($p_{T}(D^{*})>1.5\;\mbox{GeV/c}$, $|\eta(D^{*})|<1.5$, $p_{T}(\mu)>1.0\;\mbox{GeV/c}$, $|\eta(\mu)|<1.74$ and $0.05 < y < 0.75$). The measurements are shown as a function of the kinematic variables $p_{T}^{2}(D^{*}\mu)$, $\hat{y}(D^{*}\mu)$, $M(D^{*}\mu)$ and $\Delta \Phi$, determined all in the lab frame. Also shown are the scaled predictions of the AROMA Monte Carlo program which uses leading order QCD matrix elements and parton showers. The charm cross section predicted by AROMA is multiplied by a factor 1.8 and the beauty cross section by a factor 3.6.}
%Fully corrected cross sections for $D^{*}+\mu$ production normalised
%to the total cross section in the visible range and divided into the charm and
%beauty contributions. For charm the cross section predicted by the LO is 
%multiplied by a factor 1.8 and for beauty by 3.6 as obtained from the total cross sections. The cross sections are shown differentially in the 
%combined transverse momentum of the $D^*\mu$ system 
%($p_{T}^{2}(D^{*}\mu)$), its rapidity in the laboratory frame
%($\hat{y}(D^{*}\mu)$), its invariant mass ($M(D^{*}\mu)$) and the azimuthal
%angle $\Delta \Phi$ between the $D^*$ and the $\mu$ in the laboratory frame.
%The results are compared with the leading oder (LO) + parton shower (PS) 
%prediction from the AROMA Monte Carlo generator.}
\end{center}
\end{figure}
\end{document}



