1 Introduction

Heavy quarks—indirectly accessible through \(D\)-mesons, heavy-flavor decay electrons and muons and \(J/\psi \)’s from \(B\) decays—have been used for a long time as probes of the medium formed in heavy-ion collisions. Produced in hard processes during the crossing of the two nuclei, they traverse the fireball until decoupling from the latter. During their path in the plasma they lose energy, they tend to inherit part of the flow (radial and elliptic, in non-central collisions) of the medium and to decorrelate from their companion coming from the same hard interaction. The first experimental results in Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV at RHIC, although limited to the non-photonic electrons from semileptonic decays of \(D\) and \(B\) mesons measured by the PHENIX and STAR Collaborations [13], were surprisingly displaying a sizable suppression (comparable to the one of pions) of the yields at high \(p_T\) and a non-negligible elliptic flow: this led people to wonder about the possibility of (kinetic) thermalization of charm quarks in the plasma, eventually flowing with the rest of the medium. If these first results could not be considered conclusive, because of the large uncertainty due to the background subtraction and the impossibility of disentangling the separate charm and beauty contribution, measurements in Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV at the LHC performed by the ALICE and CMS Collaborations confirmed the above findings looking at a much wider set of observables: besides the electrons [4] and muons [5] from heavy-flavor hadron decays it was possible to measure over a wide \(p_T\)-range the \(R_\mathrm{AA}\) [6] and \(v_2\) [7] of \(D\) mesons and (for high enough \(p_T\)) the quenching of non-prompt \(J/\psi \)’s [8]. Recently the STAR Collaboration at RHIC managed to measure the \(R_\mathrm{AA}\) of \(D\) mesons down to very low \(p_T\) [9] with a very fine binning which, besides the quenching at high \(p_T\), turned out to be characterized by a sharp enhancement around \(p_T\sim 1.5\) GeV/c whose origin may be attributed to the radial flow acquired by charm quarks in the plasma (in a scenario in which the \(c\)-quarks approach thermalization), to the recombination with light partons from the medium at the end of the QGP phase or to a combination of the two effects. A quantitative answer requires then to include in the theoretical calculations, besides a description of the propagation of the heavy quarks in the plasma, also a modeling of their hadronization in the presence of a medium. Furthermore, measurements of azimuthal correlations (\(e\)\(h\), \(D\)\(h\), \(e^+\)\(e^- \ldots \)) in A–A collisions, sensitive to the in-medium decorrelation of \(Q\overline{Q}\) pairs produced in the same hard interaction, might also become accessible in the next years and theory models should be capable of providing predictions for these observables.

Various theoretical models were proposed in the past to describe the above findings, based on the Boltzmann, Fokker–Planck or Langevin equations [1017]. In a series of papers [1820] over the last few years we developed a complete setup (referred to as POWLANG) for the study of heavy-flavor observables in high-energy nucleus–nucleus collisions, describing the initial hard production of the \(Q\overline{Q}\) pairs and the corresponding parton-shower stage through the POWHEG-BOX package [21, 22] and addressing the successive evolution in the plasma through the relativistic Langevin equation. Here we supplement our numerical tool by modeling the hadronization of the heavy quarks accounting for the presence of a surrounding medium made of light thermal partons feeling the collective flow of the local fluid cell. As we will show in this paper, this will have important effects on the heavy-flavor hadron momentum distributions in the low \(p_T\) region, since the collective flow of the light partons from the medium will be inherited by the final charmed hadrons: the \(D\)-meson \(R_\mathrm{AA}\) will then display an enhancement at moderate \(p_T\) and also their elliptic flow will result increased, improving the agreement with the experimental data.

Our paper is organized as follows. Section 2 is focused on p–p collisions, where we display the POWHEG-BOX predictions for the azimuthal \(D\)-hadron (and electron–hadron) correlations. The satisfactory agreement with the preliminary \(D\)\(h\) data measured by the ALICE Collaboration (besides the one with the inclusive single-particle spectra) represents a further validation of the pQCD Monte Carlo tool employed to describe the initial \(Q\overline{Q}\) production. In Sect. 3 we move to the case of A–A collisions. In order to provide a theoretical benchmark we first illustrate in Sect. 3.1 what would be the predictions of hydrodynamics in the extreme limit in which heavy-flavor particles reached full kinetic equilibrium with the medium. In Sect. 3.2 we describe our model of in-medium heavy-quark hadronization and its numerical implementation taking advantage of the PYTHIA string-fragmentation routine [23]. In Sect. 3.3 we display the results obtained interfacing the above hadronization routine to the outcomes of our POWLANG transport setup at the end of the heavy-quark propagation through the medium; in particular we focus on the \(R_\mathrm{AA}\) and \(v_2\) of \(D\) mesons, both at RHIC and at the LHC. Heavy-flavor azimuthal correlations in A–A collisions are addressed in Sect. 3.4. Finally in Sect. 4 we discuss the possible relevance of our findings for the interpretation of present and future experimental measurements.

2 Heavy flavor in p–p collisions: azimuthal correlations

The study of azimuthal correlations of \(c\)\(\bar{c}\) (\(b\)\(\bar{b}\)) pairs is a useful tool to investigate the properties of the medium formed in high-energy nuclear collisions and its effects on the heavy-quark propagation (energy loss, angular decorrelation and possible modification of their fragmentation). It is accessible through the study of correlations of open-charm (beauty) hadrons and/or their decay products. If results on direct \(D\)\(\overline{D}\) correlations in heavy-ion collisions cannot be realistically expected due to the small branching ratio into the hadronic decay channels used for their reconstruction, indirect information on the primordial \(Q\overline{Q}\) pairs can be obtained correlating charged hadrons to a selected trigger particle from the same event, like a D-meson or an electron from heavy-flavor hadron decays (\(D\)\(h\) and \(e\)\(h\) correlations): this in particular, with proper kinematic cuts, should allow one to study possible medium modifications of the jet from the fragmentation of the correlated heavy quarks. Preliminary results on correlations between \(D\) mesons and light hadrons have been presented by the ALICE Collaboration [24, 25] (so far limited to p–p and p–Pb collisions) and analogous analyses using heavy-flavor decay electrons trigger particles have also been performed and are currently in progress [26].

The above experimental information obtained in elementary p–p collisions can be exploited to validate the theoretical calculations used to simulate the initial hard \(Q\overline{Q}\) production. In our setup, the heavy quarks are created in pairs by the POWHEG-BOX event generator. Their momenta are not back-to-back neither along the beam-axis, due to the different Bjorken-\(x\) carried by the partons taking part in the hard event, nor in the azimuthal plane, due to the gluon radiation occurring during the hard process or the shower stage and also to the intrinsic \(k_T\)-broadening included in the simulation. Eventually, heavy-quark hadronization and the final decays of the \(D\) (\(B\)) mesons are simulated with PYTHIA, which is also used to describe the parton-shower stage.

In Fig. 1 we show our results for \(D\)\(h\) azimuthal correlations compared to preliminary ALICE data [24, 25], for three different \(p_T\)-intervals of the charmed meson. In our simulation \(D^0\), \(\bar{D}^0\), and \(D^\pm \) are used as trigger particles and the light hadrons are limited to charged pions and kaons, protons, and antiprotons, excluding the weak decays of \(\Lambda \) and \(K^0\). Any \(D\) meson is correlated with all the light hadrons (except its own decay products) created in the same event. The near-side peak takes contribution both from correlations present at the partonic level (from \(Q\overline{Q}\) pairs arising from gluon splitting) and from hadrons coming from the fragmentation of the same string of the parent heavy quark. Our results include also the simulation of the Underlying Event (UE) due to Multiple Parton Interactions (MPI), performed with PYTHIA 6.4, which gives rise to the pedestal observed in Fig. 1.

Fig. 1
figure 1

Azimuthal \(D\)\(h\) correlations in pp collisions at \(\sqrt{s}=7\) TeV for various cuts compared to preliminary ALICE data [24]

A second channel to get indirect information on \(Q\overline{Q}\) correlations is through the electrons from heavy-flavor hadron decays. Electron–hadron angular correlations are shown in Fig. 2. In this case, any trigger electron of heavy flavor origin is correlated with all light hadrons (limited as in the previous case, for simplicity, to pions, kaons, protons, and antiprotons) of the same events, including those coming from the parent \(D/B\) mesons, which are not experimentally subtracted. Furthermore, since experimental data include electrons coming both from \(D\) and \(B\) mesons, we have to consider both sources. In our plots, red points show the correlations for electrons from \(D\) decays, green points from \(B\) decays (including those coming from the \(B\rightarrow D \rightarrow e\) chain), and blue points refer to the average between them, weighted with the respective \(Q\overline{Q}\) production cross-sections: \(\sigma _{c\bar{c}}=4.131\) mb, \(\sigma _{b\bar{b}}=0.237\) mb (as given by POWHEG) for p–p collisions at \(\sqrt{s}=7\) TeV. To speed up the calculation in this case no simulation of the UE was included: the small pedestal observed in Fig. 2 arises from soft hadrons decorrelated from their ancestors produced in the hard event. With all the adopted kinematic cuts the away-side peak is always clearly visible in p–p collisions.

Fig. 2
figure 2

Azimuthal \(e\)\(h\) correlations in p–p collisions at \(\sqrt{s}=7\) TeV for various kinematical cuts accessible by ALICE

3 Heavy flavor in A–A collisions

Having verified that we have at our disposal a validated tool to simulate the heavy-flavor hard production in p–p events, capable of providing a complete differential information on the final state, we now move to the A–A case. As done in Refs. [19, 20], heavy-quark propagation in the fireball formed in high-energy nuclear collisions will be simulated through a relativistic Langevin equation, solved in the presence of a medium described by viscous relativistic hydrodynamics [27, 28]. Results will be presented for different choices of the heavy-flavor transport coefficients in the Quark–Gluon Plasma: either from weak-coupling calculations with Hard-Thermal-Loop (HTL) resummation of medium effects or extracted from lattice-QCD (lQCD) simulations [2931]. At variance with Refs. [19, 20] different mechanisms will be tested to describe the transition from quarks to hadrons, either via standard vacuum fragmentation functions (FF) or through a routine based on string formation with light partons from the medium. The latter will be illustrated in Sect. 3.2 (for a brief summary see also [32]) and applied to the evaluation of \(D\)-meson \(R_\mathrm{AA}\) (also in-plane and out-of-plane) and \(v_2\) in Sect. 3.3. Finally in Sect. 3.4 results for heavy-flavor correlations obtained with our new improved setup will be presented for the first time. However, before addressing full transport simulations, it is instructive to check what one would get in the extreme scenario in which charmed particles reached kinetic equilibrium with the rest of the fireball: this will be the subject of the next section.

3.1 The thermal equilibrium scenario: Cooper–Frye spectra

Since over the last few years experimental data on the heavy-flavor \(R_\mathrm{AA}\) and \(v_2\) have suggested the possibility that heavy quarks in nucleus–nucleus collisions may (at least partially) participate in the collective flow of the fireball, we will start considering the limiting scenario in which charmed particles reach full kinetic equilibrium with the medium. In this case the \(D\) meson spectrum would be given by the same Cooper–Frye prescription [33] used for soft hadrons

$$\begin{aligned} E\frac{\mathrm{d}N_D}{\mathrm{d}^3p}=\frac{1}{(2\pi )^3}\int _{\Sigma _\mathrm{dec}}p\cdot \mathrm{d}\Sigma _\mathrm{dec}\,\frac{1}{\mathrm{e}^{p\cdot u(x)/T_\mathrm{dec}}-1}, \end{aligned}$$
(1)

where the decoupling temperature \(T_\mathrm{dec}\) defines the isothermal freeze-out hypersurface for \(D\) mesons. In the following the Cooper–Frye prescription is applied to a medium described by the hydrodynamic code by Luzum and Romatschke [27, 28], with initialization parameters typical of Au–Au and Pb–Pb collisions at RHIC and LHC: \(\eta /s=0.08\), initial time \(\tau _0=1\) and 0.6 fm/c and maximum temperature at the center \(T_0=333\) and 475 MeV, respectively. For \(T_\mathrm{dec}\) we will explore values around the QCD critical temperature, since we do not expect interactions in the hadronic phase (an interesting topic to explore in future work) to be able to maintain kinetic equilibrium: the spectrum provided by Eq. (1) would then reflect a thermalization of charm achieved in the partonic phase.

We start such an investigation addressing the nuclear modification factor of \(D^0\) mesons in Au–Au collisions at RHIC. For this observable the STAR experiment managed to provide data down to very low \(p_T\) [9], displaying a characteristic enhancement (visible thanks to the very fine binning) around \(p_T\sim 1.5\) GeV and challenging theoretical calculations to reproduce such a peculiar pattern. At first we test the extreme scenario of complete kinetic equilibration of charmed particles, which in this case should display the same radial flow of the medium. In Fig. 3 we check whether this scenario allows one to describe the features observed in the \(D^0\) \(R_\mathrm{AA}\): STAR data obtained in Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV in the \(0\)–10 % centrality class are compared to the “thermal” \(R_\mathrm{AA}\) arising from a Cooper–Frye decoupling at the temperatures \(T_\mathrm{dec}=155\) and 170 MeV. Being the background medium described by a (\(2+1\))D hydrodynamic flow (with longitudinal boost invariance) pp (provided by POWHEG-BOX) and AA spectra (per binary nucleon-nucleon collision) are normalized to give the same rapidity density around \(y=0\), just rescaled by the change of the total \(Q\overline{Q}\) cross section due to the effect of the nPDFs in the AA case. As it can be seen, the trend of the data looks in qualitative agreement with the hypothesis of kinetic equilibrium of charm, although a comparison with other observables should be performed and other mechanisms could be at work to give the observed modification of the \(p_T\) spectrum: these items will be addressed in the following.

Fig. 3
figure 3

\(D^0\) \(R_\mathrm{AA}\) in central Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV. Results for thermal \(D^0\) spectra for two decoupling temperatures from the hydrodynamic evolution of the fireball (p–p and A–A spectra were normalized to give the same \(Q\overline{Q}\) multiplicity, just rescaled by the effect of the nPDFs) are compared to STAR data [9]

In Figs. 4 and 5 we check whether the above scenario is able to describe also the data at the higher center of mass energy \(\sqrt{s_\mathrm{NN}}=2.76\) TeV reached in Pb–Pb collisions at the LHC. ALICE data for the \(R_\mathrm{AA}\) [6] and \(v_2\) [7] of D mesons are compared to the corresponding theoretical predictions for the kinetic equilibrium case. As it can be seen the agreement with the theory curves in this case is less satisfactory, in particular for what concerns the \(R_\mathrm{AA}\), although the absence of experimental data in the more interesting region of low \(p_T\) and the broader \(p_T\) binning with respect to the one employed by the STAR Collaboration prevent us from drawing definite conclusions concerning this issue: notice in fact that so far (published) experimental data are limited to the region \(p_T\gtrsim 2\) GeV (although preliminary results start to be available also for lower momenta), which also for light hadrons is at the border of the validity of hydrodynamic calculations. In Figs. 4 and 5 hydrodynamic predictions are given for impact parameters corresponding to the 0–10 and 30–40 % more central events, while experimental data refer to a slightly different choice of centrality classes, which, however, is not expected to affect the above qualitative considerations.

Fig. 4
figure 4

The \(D^0\) \(R_\mathrm{AA}\) in central Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. Results corresponding to kinetic thermalization of D mesons (the effects of nPDFs are included in the normalization of the spectra) are compared to ALICE data for two different sets of central events [6, 34]

Fig. 5
figure 5

The elliptic flow of \(D\) mesons in semicentral (\(b=9.25\) fm employed in the hydrodynamic evolution) Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. Results corresponding to kinetic thermalization of D mesons are compared to ALICE data [7] in the 30–50 % centrality class

3.2 In-medium hadronization: a simple model

In order to simulate the hadronization of heavy quarks in the medium at the end of their propagation in the QGP we proceed as follows (see Fig. 6). Once a heavy quark \(Q\), during its stochastic propagation in the fireball, has reached a fluid cell below the decoupling temperature \(T_\mathrm{dec}\), it is forced to hadronize. One extracts then a light antiquark \(\overline{q}_\mathrm{light}\) (up, down or strange, with relative thermal abundances dictated by the ratio \(m/T_\mathrm{dec}\)) from a thermal momentum distribution corresponding to the temperature \(T_\mathrm{dec}\) in the Local Rest Frame (LRF) of the fluid; information on the local fluid four-velocity \(u^\mu _\mathrm{fluid}\) provided by hydrodynamics allows one to boost the momentum of \(\overline{q}_\mathrm{light}\) from the LRF to the laboratory frame. A string is then constructed joining the endpoints given by \(Q\) and \(\overline{q}_\mathrm{light}\) and is then passed to PYTHIA 6.4 [23] to simulate its fragmentation into hadrons (and their final decays). This is done as follows: the particle type, energy, polar and azimuthal angle of each endpoint are provided to PYTHIA through the PY1ENT subroutine; the PYJOIN subroutine allows one to construct the corresponding string; finally a PYEXEC call starts the simulation of its fragmentation and the final decays of unstable particles. In case the invariant mass of the string is not large enough to allow its decay into at least a pair of hadrons the event is resampled, extracting a new thermal parton to associate to the heavy quark. In agreement with PYTHIA, in evaluating their momentum distribution, light quarks are taken as “dressed” particles with the effective masses \(m_{u/d}=0.33\) GeV and \(m_s=0.5\) GeV. Concerning \(T_\mathrm{dec}\) the values \(0.155\) and \(0.17\) GeV are explored.

Fig. 6
figure 6

A cartoon of the hadronization model interfaced to the POWLANG transport code at the end of the propagation of the heavy quarks in the plasma. We also illustrate how the information on the final particles from the string fragmentation can be used to study \(D\)\(h\) correlations (color on-line)

Notice that, while the model allows one to take properly into account the momentum boost given to the final hadron by the light quark flowing with the medium, by construction we do not get sizable modifications of the heavy-flavor hadrochemistry, like e.g. an enhanced production of \(D_s\) mesons or \(\Lambda _c\) baryons, which might occur in nature [35] and could be accommodated by a coalescence model. Within our framework, once formed a string is hadronized as in the vacuum, through the excitation—while stretching—of \(q\overline{q}\) pairs (or diquark–antidiquark pairs, leading in this case the production of a baryon–antibaryon pair) from the vacuum: having a strange quark as an endpoint does not necessarily imply giving rise to a \(D_s\) meson. Furthermore, while in the case of p–p collisions the PYTHIA parton showers keep track of all color connections and the strings to hadronize are usually quite elongated objects, with a lot of kinks describing the radiated gluons and contributing to the soft hadron multiplicity, here the best we can do is to couple the heavy quark \(Q\) to an antiquark from the medium, ignoring what happened before: doing better would require developing a full in-medium parton shower, with a consistent description of collisional and radiative processes. Bearing in mind these limitations (the last one affecting also coalescence models), this new recipe has in any case two big advantages with respect to the way we modeled so far hadronization in terms of vacuum fragmentation functions: we can first of all provide a realistic estimate of the role of light quarks to explain peculiar features of the \(D\) meson spectra at low and moderate \(p_T\); secondly, the complete information on all the final state particles arising from the fragmentation of the strings allows us to provide theory predictions for observables like \(D\)\(h\), \(e\)\(h\), \(e^+\)\(e^-\)...correlations to be compared to existing data and possibly used as a guidance to future experimental measurements.

Before displaying the results obtained by interfacing the above model to numerical transport calculations it may be useful to analyze how it compares with other mechanisms of in-medium hadronization, like in particular coalescence. The latter is usually pictured as a \(2\rightarrow 1\) process in which a quark–antiquark pair from the medium gives rise to a meson \(M\), which can be either a stable or a resonant state. Microscopic calculations have been proposed to describe the process, either based on the overlap of the parton and meson wave-functions [16] or on the Boltzmann equation with \(q\overline{q}\rightarrow M\) inelastic collisions [36]. In our approach we do not develop a full quantum-mechanical calculation and we rather assume that the hadronizing heavy quark will always find a thermal parton nearby to give rise to a color-singlet object of arbitrary invariant mass (which does not have to correspond to any particular resonance). We identify such a color-singlet state with a string and let it fragment into the final hadrons according to the Lund model implemented in PYTHIA. Hence, what we consider are \(2\rightarrow n\) process (e.g. \(Q+\overline{q}\rightarrow D\pi \pi \)). At the end in any case, both with coalescence and with our model, the net effect is that the light thermal parton will transfer his additional radial and elliptic flow to the final charmed hadron.

3.3 Transport calculations: \(R_\mathrm{AA}\) and \(v_2\)

After discussing the limiting scenario of full kinetic thermalization of heavy flavors here we consider the predictions of our POWLANG transport model, which should provide a description closer to reality, where heavy quarks exchange momentum at a finite rate with a medium which expands and cools, losing energy and tending to inherit part of the flow of the latter. In particular in this section we display the results obtained by applying the string-based hadronization mechanism for heavy quarks previously described to the transport calculations performed with our POWLANG setup. Our transport model has been presented in detail in previous publications [19, 20] and here we just recall its essential points. The initial \(Q\overline{Q}\) production in hard pQCD events is simulated through the POWHEG-BOX package, with initial state nuclear effects encoded into EPS09 modifications of the PDFs [37]. Heavy quarks are then distributed in the transverse plane according to the local density of binary nucleon–nucleon collisions, which is taken from an optical Glauber calculation, used also to initialize the (\(2+1\))D hydrodynamic calculations, performed with the code by Luzum and Romatschke [27, 28] describing the medium evolution. The heavy-quark propagation in the medium is governed by a relativistic Langevin equation, with transport coefficients either obtained through weak-coupling calculations (with Hard Thermal Loop resummation of medium effects) or based on lattice QCD simulations [2931]. Heavy-quark hadronization (either via the usual in-vacuum fragmentation functions or through the new in-medium string-fragmentation routine) is performed once, during its propagation, the heavy quark is found in a cell below a given decoupling temperature \(T_{\mathrm{dec}}\).

In this section we will focus on a few heavy-flavor observables, in particular the nuclear modification factor \(R_\mathrm{AA}\) and the elliptic flow \(v_2\), in the regime of low and moderate \(p_T\) where the new hadronization scheme introduces important qualitative changes to the results.

In Fig. 7 we start displaying some POWLANG outcomes for the \(R_\mathrm{AA}\) of \(D^0\) mesons in central (0–10 %) Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV. HTL transport coefficients are employed and the difference between the two hadronization schemes (here taken to occur at \(T=170\) MeV), either with vacuum fragmentation or with in-medium string fragmentation, are clearly visible: in the second case the radial flow of the light thermal parton leads to the development of a bump around \(p_T\sim 1.5\) GeV in qualitative agreement with the experimental data. Also shown for comparison is the limit of complete kinetic thermalization previously discussed, which displays a behavior close to the transport results with in-medium string fragmentation at moderate \(p_T\), the bump in the \(R_\mathrm{AA}\) being just a bit sharper: at larger \(p_T\) of course the thermal spectrum drops to zero more quickly. In Fig. 8 we address the same data performing a more systematic theoretical analysis. Results obtained with two different sets of transport coefficients, HTL (continuous curves) and lattice-QCD (dot-dashed curves), and with two different hadronization temperatures for charm, \(T_\mathrm{dec}=170\) MeV (black curves) and \(T_\mathrm{dec}=155\) MeV (orange curves) are compared. Notice how, at large \(p_T\), the exact value of the decoupling temperature is not important, while at low \(p_T\) it plays a non negligible role, since for lower \(T_\mathrm{dec}\) the system has time to develop a larger radial flow. The value \(T_\mathrm{dec}=155\) MeV is more in line with the most recent lattice-QCD estimates of the pseudo-critical temperature [38], while the choice \(T_\mathrm{dec}=170\) MeV may be justified by the possibility that the quark-to-hadron transition occurs earlier for heavier particles [39]: we think it is fair to consider this as part of the systematic uncertainty. Notice furthermore that we are neglecting any rescattering of the \(D\) mesons in the hadronic phase, which may also affect the final spectra.

Fig. 7
figure 7

\(R_\mathrm{AA}\) of \(D^0\) mesons in central Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV. POWLANG results obtained with HTL transport coefficients and a decoupling temperature \(T_\mathrm{dec}=170\) MeV are displayed. The new in-medium hadronization mechanism leads to a characteristic bump in the \(R_\mathrm{AA}\) due to the radial flow of light quarks. Also shown for comparison is the limiting case of full kinetic thermalization of \(D\) mesons. Theory curves are compared to STAR data [9]

Fig. 8
figure 8

\(R_\mathrm{AA}\) of \(D^0\) mesons in central Au–Au collisions at \(\sqrt{s_\mathrm{NN}}=200\) GeV. POWLANG results are displayed for two different choices of transport coefficients (HTL, continuous curves, and l-QCD, dot-dashed curves) and decoupling temperatures (\(T_\mathrm{dec}=170\) MeV, in black, and \(155\) MeV, in orange). In all cases heavy quarks are hadronized via recombination with light partons forming Lund strings eventually fragmented. Theory curves are compared to STAR data [9]

In Figs. 9 and 10 we performed the same study for \(D^0\) mesons in central (0–20 \(\%\)) Pb–Pb collisions at the LHC at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. In this case the agreement between the outcomes of transport calculations and ALICE experimental data is less satisfactory. In particular present data do not show evidence of a possible bump due to radial flow found by STAR and predicted by our in-medium hadronization mechanism. The trend of the data is perhaps best reproduced by the simulations with lattice-QCD transport coefficients, although the data show a larger suppression in the range \(p_T>2\) GeV/c. More experimental data at low \(p_T\) are necessary in order to draw conclusions abut the existence of an enhancement in the \(R_\mathrm{AA}\) arising from radial flow. Notice that no medium modification of the heavy-flavor hadrochemistry has been included in our fragmentation routine; due to the (almost exact, during the limited lifetime of the fireball) conservation of the total number of charm quarks, a possible increased production of \(D_s\) mesons or \(\Lambda _c\) baryons in A–A collisions would entail a corresponding depletion of the yields of the other charmed hadrons which, limiting the study to non-strange \(D\)-mesons, could lead to a reduction of the observed \(R_\mathrm{AA}\).

Fig. 9
figure 9

The same as in Fig. 7, but for central Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. POWLANG results with in-vacuum and in-medium HQ fragmentation and decoupling temperature \(T_\mathrm{dec}=170\) MeV are compared to ALICE data in central (0–20 \(\%\)) collisions [6]. Also shown is the limit of full kinetic thermalization, with Cooper–Frye decoupling at \(T_\mathrm{dec}\)

Fig. 10
figure 10

The same as in Fig. 8, but for central Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV

In Figs. 11 and 12 we address the \(v_2\) of \(D\) mesons in semicentral (30–50 %) Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV at the LHC, comparing our model calculations to the results obtained by the ALICE Collaboration [7]: in the figures the shaded boxes represent the systematic uncertainty due to the subtraction of the \(B\) feed-down contribution. The elliptic-flow measurement has the virtue of being insensitive to the systematic theoretical uncertainty on the absolute normalization of the various hadron spectra (arising from the poorly constrained nPDFs and from the possible change in the hadrochemistry in A–A collisions) and of providing a complementary information on the medium with respect to the \(R_\mathrm{AA}\): it is in fact more sensitive to the latest stages of the fireball evolution, when the latter has acquired a larger elliptic flow (initially vanishing), while most of the energy loss occurs on the contrary in the earliest stages when the medium is denser. In Fig. 11 we show the effect of the new procedure for in-medium hadronization through string fragmentation. The figure refers to the case of HTL transport coefficients, with a decoupling temperature \(T_\mathrm{dec}=155\) MeV. While POWLANG outcomes with standard in-vacuum fragmentation of charm largely underpredicts the observed \(v_2\), the additional flow acquired from the light thermal partons move the theory curves with in-medium hadronization closer to the experimental data. In Fig. 12 we present a more systematic study of the various scenarios, comparing different choices of transport coefficients (HTL, continuous curves, and lattice-QCD, dot-dashed curves) and decoupling temperatures \(T_\mathrm{dec}=170\) MeV (black curves) and \(T_\mathrm{dec}=155\) MeV (orange curves). The best agreement with the current experimental data is obtained with HTL transport coefficients and a hadronization temperature of 155 MeV: both the heavy quarks and the light thermal partons to which they are recombined have more time in this case to develop an elliptic flow. Lattice-QCD coefficients (much larger than weak-coupling ones at zero momentum) provide a larger \(v_2\) at low \(p_T\); however, neglecting their possible momentum dependence leads to underestimate the elliptic flow at high \(p_T\).

Fig. 11
figure 11

\(D\)-meson \(v_2\) in Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. POWLANG results (with HTL transport coefficients) with in-vacuum and in-medium HQ fragmentation at the decoupling temperature \(T_\mathrm{dec}=155\) MeV are compared to ALICE data in the 30–50 % centrality class [7] and to the limit of kinetic thermalization. The new hadronization mechanism, with the fragmentation of \(Q\overline{q}_\mathrm{therm}\) strings, leads to a sizable increase of the elliptic flow of \(D\) mesons

Fig. 12
figure 12

\(D\) meson \(v_2\) in Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV. POWLANG results are displayed for two different choices of transport coefficients (HTL, continuous curves, and l-QCD, dot-dashed curves) and decoupling temperatures (\(T_\mathrm{dec}=170\) MeV, in black, and \(155\) MeV, in orange). In all cases heavy quarks are hadronized via recombination with light partons forming Lund strings eventually fragmented. Theory curves are compared to ALICE data in the \(30\)–50 % centrality class [7]

For the same \(30\)\(50~\%\) centrality class the ALICE Collaboration [40] has recently provided also the results for the \(D\)-meson \(R_\mathrm{AA}\) in-plane (\(-\pi /4\le \phi \le \pi /4\) and \(3\pi /4\le \phi \le 5\pi /4\) with respect to the reaction plane) and out-of-plane (in the other two quarters). This represents a way of combining the information on the quenching of the spectra (usually studied via the azimuthally integrated nuclear modification factor) and on the azimuthal anisotropy of particle production (usually studied via the elliptic-flow coefficient \(v_2\), without the need of any p–p reference). In Figs. 13 and 14 we display the outcomes of POWLANG simulations for various choices of the hadronization mechanism (in-medium or in-vacuum fragmentation), of the transport coefficients (weak coupling HTL or lattice-QCD) and of the decoupling temperature. While out-of-plane data are not able to discriminate between in-medium and in-vacuum hadronization, the in-plane \(R_\mathrm{AA}\) is better reproduced by our new routine based on the formation of strings with light thermal partons. Concerning the transport coefficients, the lattice-QCD results display a too small quenching at high \(p_T\), due to the absence of information on their momentum dependence. Data at low \(p_T\) would be clearly needed to extract more solid information both on heavy-flavor hadronization and transport coefficients: at the current stage, at variance with more central collisions, experimental results seem quite well reproduced employing HTL transport coefficients and forcing heavy quarks to form strings with light partons from the medium at hadronization.

Fig. 13
figure 13

\(R_\mathrm{AA}\) in-plane (upper panel) and out-of-plane (lower panel) of \(D\) mesons. ALICE data in the \(30\)\(50~\%\) centrality class [40] are compared to POWLANG results obtained with different hadronization mechanisms (in-medium, solid curves, and vacuum fragmentation, dashed curves) and decoupling temperatures (\(T_\mathrm{dec}=170\) MeV, black curves, and \(155\) MeV, orange curves)

Fig. 14
figure 14

\(R_\mathrm{AA}\) in-plane (upper panel) and out-of-plane (lower panel) of \(D\) mesons. ALICE data in the \(30\)\(50~\%\) centrality class [40] are compared to POWLANG results obtained with different transport coefficients (HTL, continuous curves, and lQCD, dashed curves) and decoupling temperatures (\(T_\mathrm{dec}=170\) MeV, black curves, and \(155\) MeV, orange curves)

3.4 Heavy-flavor azimuthal correlations

The full differential information on the final state provided by our setup—from the simulation of the initial hard production of the \(Q\overline{Q}\) pairs, to the modeling of their propagation in the plasma and of their hadronization—opens the possibility of providing predictions for more differential observables like angular correlations with respect to heavy-flavor trigger particles. The interaction with the medium is expected to alter the momentum and the relative angle of heavy quarks produced in the same hard event and this should be observed in their fragmentation and decay products. Since, due to the small branching ratio into the channel used for their reconstruction, direct \(D\)\(\overline{D}\) correlations are outside the conceivable experimental capabilities, here we focus on more indirect observables such as \(D\)\(h\) and \(e\)\(h\) correlations: the corresponding results are shown in Figs. 15, 16, and 17. All figures are obtained with weak-coupling HTL transport coefficients in the QGP phase. Although some theoretical work was already done in the past attempting to quantify medium effects on \(Q\overline{Q}\) correlations [41], here we push theory predictions until the actual experimental observables accessible in the near future, namely angular correlations between heavy-flavor particles (or their decay products) and the charged hadrons produced in the same collision. In general one observes a strong suppression of the away-side peak around \(\Delta \phi =\pi \). Depending on the cuts imposed on the trigger particles (either \(D\)-mesons or heavy-flavor decay electrons) and on the associated hadrons this can be mostly due either to the energy loss (moving particles below the \(p_T\)-cut) or to the angular decorrelation (moving particles away from \(\Delta \phi =\pi \)) of the parent heavy quark. Concerning the \(e\)\(h\) correlations we have plotted separately the charm and beauty contributions. While in the case of electrons from charm decays we have always found an almost complete suppression of the away-side peak independently on the centrality of the collision and on the kinematic cuts, beauty decay electrons turn out to be less decorrelated, allowing one in principle to extract more information on the heavy-quark interaction with the medium.

Fig. 15
figure 15

\(D\)\(h\) correlations in Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV for various \(p_T\) cuts on the trigger particle and two different centrality classes: \(0\)–10 % (upper panel) and \(30\)–40 % (lower panel)

Fig. 16
figure 16

\(e\)\(h\) correlations in Pb–Pb collisions at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV for various centrality classes: \(0\)–10 % (black circles) and \(30\)–40 % (red triangles). The separate charm (upper panel) and beauty (lower panel) results are shown

Fig. 17
figure 17

The same as in Fig. 16 for harder \(p_T\) cuts on the associated hadrons

Finally, in spite of being presently—as above mentioned—something beyond the experimental capability, we consider useful to check what would be the results for the \(D\)\(\overline{D}\) correlations provided by our model: an example is shown in Fig. 18. The most evident feature, at variance with the \(D\)\(h\) and \(e\)\(h\) cases, is the presence in our results of two well defined peaks, not washed-out by the interaction of the heavy quarks with the plasma. The near-side peak arises from the \(Q\overline{Q}\) pairs produced close in angle via gluon splitting. In the upper panel of Fig. 18 we display model predictions for \(D\)\(\overline{D}\) correlations in semicentral Pb–Pb collisions (30–40 %) at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV for different \(p_T\)-cuts on the associated particle in the pseudorapidity window \(|\eta _D|<1\). For all the considered cases the trigger \(D\) meson is taken in the same \(p_T\) range \(5<p_T^\mathrm{trig}<8\) GeV/c. The softer associated particle typically is the one coming from the quark of the pair which has crossed the longer medium thickness, losing energy and receiving random kicks from the plasma which make it deviate from its initial trajectory (leading to a broadening of the away-side peak). Due to energy loss, for harder requirements on the \(p_T\) of the associated \(D(\overline{D})\) meson the distribution gets more and more quenched, with less and less charmed hadrons (their yields being given by the integral of the curves) satisfying the kinematic cuts. Besides the above medium effects there are of course other possible sources of momentum unbalance and angular decorrelation arising both from the fragmentation of the quarks into the final \(D\) mesons and from the hard event itself, in which (typically softer) gluons can be produced together with the \(Q\overline{Q}\) pairs: of course these effects are also present in p–p collisions.

Fig. 18
figure 18

\(D\)\(\overline{D}\) azimuthal correlations in semicentral Pb–Pb collisions (30–40 %) at \(\sqrt{s_\mathrm{NN}}=2.76\) TeV for different \(p_T\)-cuts on the associated particle. In the lower panel all the distributions are normalized to unit area, in order to enlight only the effect of the broadening of the away-side peak

In order to isolate the genuine angular decorrelation effect from the one due to energy loss, in the lower panel we normalize all the distributions to unit area so that one can appreciate how the away-side peak gets broader for softer \(p_T\)-cuts. The fact that for harder \(p_T\) selection on the associated particle the peak remains sharper might reflect the flat momentum dependence of the \(\kappa _T\) transport coefficients predicted by weak-coupling calculations and employed in the simulations. Notice that the pedestal is given by \(D\)\(\overline{D}\) pairs which have been completely decorrelated in angle.

Why do model predictions for \(D\)\(h\) and \(e\)\(h\) correlations display on the contrary such a dramatic unbalance between the two peaks? Comparing for instance Figs. 15 and 18 one observes in the first case, for the same centrality class and kinematic cuts on the trigger particle, a much more pronounced near-side peak. The latter receives several different contributions: from the fragments of the string of the leading \(Q\); from the fragments of the string of an associated \(\overline{Q}\) close in angle because arising from gluon splitting and also, in this case, from its charged decay hadrons which are not subtracted. Concerning the \(D\)\(\overline{D}\) correlations, on the contrary, the only contribution to the near-side peak is from \(c\overline{c}\) pairs from gluon splitting. The area below the near-side peak is in this case much smaller compared to Fig. 15 and in particular is now of the same order as the one on the away-side. Of course each associated \(\overline{D}\) will decay into two or three hadrons, but part of them will be too soft to satisfy the kinematic requirements imposed in Fig. 15 and the ones within the cuts will not be sufficient to provide a significant contribution to the near-side peak: the origin of the latter must then be attributed to hadrons from string fragmentation, with the most relevant contribution provided presumably by the one attached to the trigger heavy quark, always present and boosted to large momentum. Concerning the away-side peak, its quenching in Figs. 15, 16 and 17 reflects in part the further decorrelation introduced by the decays into light hadrons and in part is a graphical effect arising from the comparison with the enhanced near-side one. In fact looking carefully at the results in the 30–40 % centrality class one can observe some tracks of azimuthal correlation surviving and being of the same order of magnitude of the \(D\)\(\overline{D}\) case. We postpone a more detailed analysis to a forthcoming publication.

4 Discussion and outlook

In this paper we have developed a simple model to describe heavy quark hadronization in the presence of a hot deconfined medium like the one expected to be formed in high-energy nuclear collisions (a Quark–Gluon Plasma). The model is based on the fragmentation of strings formed combining a heavy quark with a light thermal parton from the plasma. Such a model has been implemented into a numerical routine interfaced with our previously developed POWLANG transport code allowing the simulation of the production and of the propagation in the plasma of \(Q\overline{Q}\) pairs in high-energy nuclear collisions. Results have been shown for the \(R_\mathrm{AA}\) (considering also the in-plane and out-of-plane cases) of \(D\)-mesons in Au–Au and Pb–Pb collisions at RHIC and LHC, respectively: in general the improved model provides a better description of the experimental data.

In parallel, thanks also to the new model of hadronization at our disposal, we have tried to answer the question of the possible kinetic equilibration of charm in heavy-ion collisions. We have shown how predictions of two different scenarios (hydrodynamic limit and transport \(+\) recombination) can be hardly distinguished within the kinematic range covered by the current experimental results and they can both describe some qualitative features of the data at low and moderate \(p_T\).

In the final part of the paper we have shown the potentiality of our setup for the study of heavy-flavor correlations in heavy-ion collisions. We consider this just an exploratory study, a deeper theoretical analysis being necessary in order to understand which additional information on the heavy-quark interaction with the medium can be obtained in principle from such experimental measurements: we leave such an issue for future work.