1 Introduction

Heavy quarks (HQs), mainly charm and bottom quarks, are produced in the early stages of a ultra-relativistic heavy-ion collision (uRHIC) by hard processes described by perturbative QCD calculations. They have been identified as one among the few probes which may allow for a direct study of the QGP properties. This is manly due to the following reasons related to their large masses: (i) they have a very short formation time (\(\tau \sim 0.1\) fm/c), (ii) HQs are not expected to reach a full thermalization. Therefore, they can probe the entire space-time evolution of the matter created in these collisions. Furthermore, due to their interaction with the medium produced (quarks and gluons) they can keep this information in their final state as constituent of heavy hadrons mainly D, B mesons and \(\varLambda _c\), \(\varLambda _b\) baryons. Among the several observables studied in uRHICs two of them have been long investigated for HF hadrons: the heavy mesons nuclear modification factor \(R_{AA}(p_T)\) [1,2,3], and the so called elliptic flow, \(v_2(p_T)\). The first gives an information about the change of the spectrum in AA collision with respect to a simple pp superposition. The second gives a measure of the anisotropy in the particle angular distribution and allows to investigate the coupling of the HQs with the medium and their participation in the collective motion. Both these quantity have been extensively used as probe of the Quark Gluon Plasma [4, 5]. From a theoretical point of view, in recent years, several studies have done efforts in the direction of studying both of these observables to understand the heavy quark dynamics in QGP [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22].

More recent measurements on the D mesons and \(\varLambda _c\) production in nuclear collisions unfolded the possibility to get access to richer information. In particular, some studies have opened the way to address the issue of medium-modification of heavy-flavour hadronization making possible to get information about the hadronization process and possibly validate models based on the recombination [23]. Recently these studies have been extended to the case of small collision systems like proton–nucleus and proton–proton collision providing insight on the heavy flavor hadronization mechanism and the possibility that also in such small systems the QGP can be formed [24].

More information about the interactions of heavy quarks with the medium can be obtained through measurements of the azimuthal distributions of heavy-flavour hadrons produced in a HIC. Because of the interaction of heavy quarks with the medium, the spatial anisotropy in the early stages of nucleus-nucleus collisions is converted into an azimuthally anisotropic distribution in momentum space for the final particles produced from the QGP. The anisotropy is characterised in terms of the Fourier coefficients \(v_n\) of the final distribution respect to the symmetry-plane angles \(\varPsi _n\) (for the harmonic of order n). The second coefficient of this expansion is the elliptic flow \(v_2\) which is the dominant contribution in non-central collisions. The higher order harmonics usually studied are the triangular flow \(v_3\), and the \(v_4 \); the measurement of odd harmonics of heavy-flavour hadrons or their event-by-event fluctuations coming from the random nucleon positions can provide a richer information on the initial conditions. Recently, the triangular flow \(v_3\) has been investigated in studies based on Langevin or Boltzmann approaches on an event-by-event analysis [25,26,27,28,29]. One of the new tools that can be used to further investigate the dynamics of heavy quarks in the medium is the Event-Shape-Engineering (ESE) technique [30]. This technique enables to select events in heavy-ion collisions characterized by an high or low eccentricity, furnishing the chance to study the system evolution dynamics and the role of the initial conditions. This technique was first used by the ALICE Collaboration in the light-flavour sector to study the interplay between the initial geometry of the nucleus-nucleus collisions and the subsequent evolution of the system [31] and recently it was extended to investigate the sensitivity of the D meson \(v_2\) to the event-shape selection [32]. These measurements have shown a sizeable sensitiveness to the event-shape selection, confirming a correlation between the D-meson azimuthal anisotropy and the underlying collective expansion of the bulk matter. In this paper we use an event-by-event transport approach for the evolution of heavy quarks and we study the correlation of heavy-quark anisotropic flows \(v_n-v_m\) performing an analysis with the ESE technique.

The paper is organized as follows. In Sect. 2 we briefly discuss the Boltzmann transport approach used to describe the HQs evolution and the hadronization model used, furthermore we will describe the initial conditions employed in the simulation. In Sect. 3 we discuss the comparison between the simulation results and the experimental data for the anisotropic flows coefficients \(v_n\) at different centralities. In Sect. 4 we introduce the ESE technique and we show and discuss the outcome for the anisotropic flows coefficients and their correlations. Finally, Sect. 5 contains a summary and some concluding remarks.

2 Heavy quarks transport approach

We use a transport code developed to perform studies of the dynamics of relativistic heavy-ion collisions at both RHIC and LHC energies [33,34,35,36,37,38,39,40,41,42,43]. The space-time evolution of gluons and light quarks as well as of charm quarks distribution functions is described by mean of the relativistic Boltzmann transport (RBT) equations given by

$$\begin{aligned}&p^{\mu }_q \partial _{\mu }f_{q}(x,p)= {{\mathcal {C}}}[f_q,f_g](x_q,p_q) \end{aligned}$$
(1)
$$\begin{aligned}&p^{\mu }_g \partial _{\mu }f_{g}(x,p)= {{\mathcal {C}}}[f_q,f_g](x_g,p_g) \end{aligned}$$
(2)
$$\begin{aligned}&p^{\mu } \partial _{\mu }f_{Q}(x,p)= {{\mathcal {C}}}[f_q,f_g,f_{Q}](x,p) \end{aligned}$$
(3)

where \(f_i(x,p)\) is the on-shell phase space one-body distribution function for i-th parton species and in the right-hand side \({{\mathcal {C}}}[f_q, f_g, f_{Q}](x,p)\) is the relativistic Boltzmann-like collision integral accounting for \(2\rightarrow 2\) scattering processes. For the distribution functions of the quarks and gluons that compose the QGP medium, the evolution is described by Eqs. (1) and  (2) in this paper. We assume that these Eqs. are independent of \(f_{Q}\), which correspond to discard collisions between charm quarks and the bulk in the determination of light quarks and gluons distribution functions, which is by far a solid approximation. In both collision integrals the total cross section is determined in order to keep the ratio \(\eta /s=1/(4\pi )\) fixed during the evolution of the QGP, see Refs. [36, 40, 42, 44] for more details. Furthermore, in the present paper we have employed a bulk with thermal massive quarks and gluons according to a quasi-particle model (QPM) such that the system has approximately the lattice QCD equation of state, with a softening of the equation of state consistent with a decreasing speed of sound approaching the cross-over region [45]. For the heavy quark interacting with the bulk medium we consider a QPM whose main feature is that the resulting coupling is significantly stronger than the one coming from pQCD running coupling, particularly as \(T \rightarrow T_c\) (see details in Refs. [17, 41]). Numerically we solve the RBT equation using the test particle method, where the collision integral is solved by Monte Carlo method based on stochastic interpretation of transition amplitude [33, 46, 47]. In our calculations the viscosity is fixed by determining the total isotropic cross section according to the Chapman–Enskog approximation:

$$\begin{aligned} \eta =f(z)\frac{T}{\sigma } \end{aligned}$$
(4)

where \(z = m/T\) while the function f(z) is defined by the following expression

$$\begin{aligned} f(z)=\frac{15}{16}\frac{\big ( z^2 K_3(z)\big )^2}{(15 z^2 +2)K_2(2z)+(3 z^3+49 z)K_3(2z)} \end{aligned}$$
(5)

where \(K_n(z)\) are the modified Bessel functions. As shown in Ref. [33] the above expression for the shear viscosity \(\eta \) is in quite good agreement with the Green–Kubo formula.

At the end of the evolution at freeze-out temperature, we use the hybrid hadronization approach via coalescence plus fragmentation as shown in Refs. [23].

In our simulation for parton initial conditions, we have employed a modified Monte Carlo Glauber model, used in [43] and inspired by wounded quark model. In this model each nucleon is composed by three constituent quarks that are randomly distributed within each nucleon according to the distribution \(dN/dr=\frac{r^2}{r_0^3}e^{-r/r_0}\) with \(r_0=0.3\) \(\text{ fm }\) and the final center of mass of the three quarks is translated to the position of the nucleon, which corresponds to a proton charge RMS value of 0.84 fm. The positions of nucleons in Pb nuclei are instead distributed according to the standard Woods–Saxon distribution. In this way we generate the wounded quark profile using Monte-Carlo Glauber model and we decide whether each quark pair from target and projectile can collide or not with a probability \(p = e^{-\pi r^2}/\sigma _{qq}\) with \(\sigma _{qq} = 13.6\) \(\text{ mb }\) in 5.02 TeV \(Pb + Pb\) collision [48]. This procedure leads to an inelastic nucleon–nucleon cross section of 70.3 \(\text{ mb }\) at 5.02 TeV collisions.

Finally, the total initial parton distribution is given by:

$$\begin{aligned} \frac{dN}{d^2{{\textbf {x}}}_\perp d\eta }=\sum _{i=1}^{N_{part}}n_i\rho _\perp ({{\textbf {x}}}_\perp -{{\textbf {x}}}_i)\rho (\eta ) \end{aligned}$$
(6)

where \(N_{part}\) is the number of participant quarks while \({{\textbf {x}}}_i\) and \(n_i\) are the transverse position of each participant quark and the parameter that controls the contribution of the i-th wounded quark to particle production respectively. The profile in the transverse position \(\rho _\perp ({{\textbf {x}}}_\perp )\) is expressed as follows:

$$\begin{aligned} \rho _\perp ({{\textbf {x}}}_\perp )=\frac{1}{2\pi \sigma ^2}e^{-\frac{{{\textbf {x}}}_\perp ^2}{2\sigma ^2}}. \end{aligned}$$
(7)

While the profile for the distribution of the spatial rapidity \(\rho (\eta )\) is given by longitudinal boost invariance in pseudo-rapidity. In Eq. 6 the numbers \(n_i\) fix the number of partons produced in each event. This number is given by \(n_0 N\) where N is sampled according to a negative binomial distribution given by

$$\begin{aligned} P(N)=\frac{\varGamma (N+k){\bar{n}}^N k^k}{\varGamma (k) N!({\bar{n}}+k)^{N+k}} \end{aligned}$$
(8)

where \(n_0\) is fixed in order to have that the final charged particle multiplicity is same as that measured in experiments. This model is inspired by the distribution of the number of particles produced in pp collisions that fluctuates according to a negative binomial distribution. In order to reproduce the distribution of charged particles measured by ALICE Collaboration the parameters have been fixed to \(k= 0.224\), \(\bar{n} = 1.621\) and \(n_0 \approx 1.88\).

In momentum space we have considered a mixture of a soft and an hard component, with the former consisting of quarks and gluons with an initial thermal equilibrium distribution, and the latter being equivalent to the products of initial binary pQCD collision consisting of ’minijets’. The soft partons are distributed according to the following

$$\begin{aligned}&\frac{dN}{d^2{\mathbf {x}}_\perp d \eta }=\frac{g \tau _0}{(2\pi )^2} p_T m_T \end{aligned}$$
(9)
$$\begin{aligned}&\quad \times \cosh {(\eta -y)} \exp \left( -\frac{m_T\cosh {(\eta - y)}}{T({\mathbf {x}}_\perp , \eta )}\right) dp_T dy\nonumber \\ \end{aligned}$$
(10)

where \(g=2\times 8+3\times 2\times 6=52\) is the degree of freedom of partons (three flavor quarks and gluons), \(\tau _0=0.4 \text{ fm }/c\) is the termalization time and \(m_T=\sqrt{m^2+p_T^2}\) is the transverse mass of light partons. The transverse momentum distributions of minijets at mid-rapidity are taken from pQCD calculations and we have used the spectra of gluons and quarks from CUJET Collaboration [49] for pp collisions at 5.02 TeV.

In coordinate space we initialize the charm quark distribution in accordance with the number of binary nucleon–nucleon collisions, \(N_{coll}\), from the Monte Carlo Glauber model. Finally, for the charm quark initial distribution in momentum space we use the production calculated at Fixed Order + Next-to-Leading Log (FONLL) [50] which describes the D-meson spectra in proton-proton collisions after fragmentation. For detail we refer to our earlier work in Ref. [41].

In our simulation when the temperature of the QGP phase goes below the quark-hadron transition temperature, \(T_c=155\) MeV, the light and heavy quarks can hadronize. For the heavy quark hadronization process, we consider a hybrid approach of hadronization by coalescence plus fragmentation. The fragmentation is implemented using the Peterson fragmentation function [51]: \(f(z) \propto [z [1- \frac{1}{z}- \frac{\epsilon _c}{1-z} ]^2 ]^{-1}\) where \(z=p_D/p_c\) is the momentum fraction of the D-meson fragmented from the charm quark and \(\epsilon _c\) is a free parameter to fix so that one can describe D-meson production in proton-proton collisions [52]. For the coalescence model, it is based on a Wigner formalism. In our calculation the Wigner function is assumed to be Gaussian where the widths are fixed by the mean square charged radius of the D meson, for detail we refer to our earlier work [23]. In the light sector, we consider charged particles that come from an hadronization via coalescence plus fragmentation, as in Ref. [53].

3 Heavy flavour anisotropic flows \(v_n(p_T)\)

In a non-central nucleus-nucleus collision, the interaction of the QGP constituents, convert the initial eccentricity of the overlap region into a final anisotropy in momentum space, characterised in terms of the Fourier coefficients \(v_n(p_T)\).

In our model, event-by-event fluctuations generate a profile in the transverse plane \(\rho _\perp ({{\textbf {x}}}_\perp )\) that change with the event and which determines in each event the initial anisotropy in coordinate space. This is quantified in terms of different order spatial asymmetries named \(\epsilon _n\) and expressed by:

$$\begin{aligned} \epsilon _n= & {} \frac{r_\perp ^n \cos [n(\phi -\varPsi _n)]}{r_\perp ^n} \end{aligned}$$
(11)
$$\begin{aligned} \varPsi _n= & {} \frac{1}{n} \arctan \frac{r_\perp ^n \sin (n\phi )}{r_\perp ^n \cos (n\phi )} \end{aligned}$$
(12)

where \(r_\perp =\sqrt{x^2+y^2}\) and \(\phi =\arctan (y/x)\).

The results shown in this paper have been obtained using the two particle correlation method to calculate elliptic (\(v_2\)) and triangular flow (\(v_3\)) and \(v_4\) [54, 55]. We have found that the number of test particles \(N_\mathrm{{test}} \sim 350\) and the lattice discretization \(\varDelta x=\varDelta y=0.3\) fm in the simulations guarantee a convergence for \(v_{2,3}(p_T)\) up to \(p_T \sim \)8 GeV/c.

Fig. 1
figure 1

\(v_2\) and \(v_3\) of charms quarks (dashed lines) and D mesons (solid lines) as a function of \(p_T\) at mid-rapidity and for centrality classes \(0-10\%\) (upper panel) and \(30-50\%\) (lower panel) for PbPb collisions at 5.02 \( \text{ TeV }\). Data are taken from ALICE measurements [56]

In Fig. 1, we show the D mesons anisotropic flow coefficients \(v_2(p_T)\) and \(v_3(p_T)\) at mid-rapidity for \(Pb+Pb\) collisions at 5.02 TeV for central (0–10\(\%\)) in the upper panel and semi-peripheral (30–50\(\%\)) collisions in the bottom panel, where the centrality class is selected based on the charged-particle multiplicity.

The red line corresponds to \(v_2(p_T)\) and blue line to \(v_3(p_T)\) both for charm quarks (dashed line) and D mesons(solid line). The charm quarks \(v_2\) and \(v_3\) are different from zero in both centrality classes suggesting that charm quarks take part in the collective motion. We observe that the \(v_2\) is sensitive to the centrality of the collisions while the \(v_3\) has a weak dependence with the centrality and it is comparable for both centralities. This suggests that the elliptic flow is mainly generated by the geometry of overlapping region and it is larger for larger centrality collision while triangular flow is mainly driven by the fluctuation of the triangularity \(\epsilon _3\) of overlapping region , and similar results observed also for light quarks [40, 57]. The hadronization mechanism plays a role for the \(v_2\) to describe D meson anisotropic flow at intermediate \(p_T\) range. The effect of coalescence corresponds to an increase of the collective flows at \(p_T > 2\) \(\text{ GeV }\) due to the fact that D mesons are formed by the recombination of a light and a heavy quarks. This effect is mainly due to the elliptic flow of light quarks which is larger than the one of charm quarks. The process of the couple recombination gives as a result a final hadron elliptic flow larger respect to the simple anisotropy of the initial charm, because it carries information from both quarks anisotropies. On the other hand, D mesons coming from fragmentation have always a smaller momentum with respect to the original charm quark, as a result the fragmentation contribution to the elliptic flow is similar to the one at charm level but shifted to lower \(p_T\). As shown in Fig. 1, our results are in good agreement with the ALICE experimental data [56] and capture the centrality dependence observed experimentally.

4 Event-shape engineering technique

Further investigation into the dynamics of heavy quarks in the medium can be performed with the event-shape engineering (ESE) technique [30]. This technique is based on the observation that the event-by-event variation of the anisotropic flow coefficient \(v_n\) at fixed centrality is very large [58]. This technique allows for selection of events with the same centrality but different initial geometry on the basis of the magnitude of the average bulk flow \(q_2\). In this section, we present the main features of the ESE selection and our results with this approach focusing on the prediction for anisotropic flows correlations \(v_n-v_m\) in the heavy flavor sector. In order to apply the ESE technique, in our calculations the events in each centrality class are divided according to the magnitude of the second-order harmonic reduced flow vector \(q_2\) which is defined as:

$$\begin{aligned} q_2=\frac{|{{\textbf {Q}}}_2|}{\sqrt{M}} \end{aligned}$$
(13)

where \({{\textbf {Q}}}_2\) is a vector built from the azimuthal angles \(\phi _k\) of the considered particles and given by

$$\begin{aligned} {{\textbf {Q}}}_2=\sum _{k=1}^M e^{i2\phi _k} \end{aligned}$$
(14)

while M is the number of charged particles in the specific range of transverse momentum \(p_T\) and pseudorapidity \(\eta \).

Fig. 2
figure 2

Distribution of charged particles at mid-rapidity (\(|\eta | < 0.8\)) as a function of the reduced flow vector \(q_2\). In the transverse momentum range \(0.2< p_T < 5\) \(\text{ GeV }/c\) for the \(30-50\%\) centrality class in 5.02 \( \text{ TeV }\) PbPb collisions, compared to the ALICE measurements taken from [59]

In Fig. 2, it is shown \(q_2\) distribution of charged particles with \(|\eta | < 0.8\) and in the transverse momentum range \(0.2< p_T < 5\) \(\text{ GeV }/c\) for 30–50\(\%\) centrality class in PbPb collisions at 5.02 \( \text{ TeV }\). The selection of the events according to the average bulk flow \(q_2\) was performed by using \(q_2\) percentiles in \(1\%\)-wide centrality intervals to make our results comparable with the experimental data [56].

Our results shown by the solid line are in in good agreement with the ALICE measurements [59] (dashed line). This kind of study can be performed with the implementation of event-by-event initial state fluctuations, and we are performing one of the first calculation of this type concerning the dynamics of heavy quark.

A first study on the heavy-light flavor correlations of anisotropic flows at LHC energies with an event-by-event transport approach has been performed by means of a full Boltzmann transport approach in Ref. [29]. In this paper we extend that work and evaluate the correlations between different order anisotropic flows \(v_n-v_m\) both in the light and heavy flavor sectors with the ESE technique.

Fig. 3
figure 3

Different order spatial eccentricities \(\epsilon _{n=2,3,4}\) as a function of reduced flow vector \(q_2\) for \(\sqrt{s_{NN}}= 2.76\) \( \text{ TeV }\) PbPb collisions

In Fig. 3, we have shown different spatial bulk eccentricities \(\epsilon _n\) as a function of reduced flow vector \(q_2\) for \(Pb+Pb\) collisions at \(\sqrt{s_{NN}}=2.76 \text{ TeV }\) in 30–50\(\%\) centrality class. The results show that large \(q_2\) corresponds to events where the fireball has a large initial eccentricity \(\epsilon _2\). The triangularity \(\epsilon _3\) show a weak anti-correlation while \(\epsilon _4\) receives a non linear contribution with respect to \(q_2\). The correlation between the spatial eccentricities \(\epsilon _n\)-\(\epsilon _m\) that is present in the initial geometry gives rise to correlation between different flow harmonics \(v_n\)-\(v_m\).

Fig. 4
figure 4

Correlations between \(v_n\) and \(v_m\) (\(n=2,m=3,4\)) for charged particles in PbPb collisions at \(\sqrt{s_{NN}}=2.76\) \( \text{ TeV }\) for \(15-20\%\) centrality class. The red and black points are experimental data taken from ALICE Collaboration [63]

Hydrodynamic and transport calculations have shown that the response of the system to the initial spatial anisotropy is essentially linear for the second and third harmonics, meaning that the final state \(v_2\) and \(v_3\) are very well correlated with the second and third order eccentricities in the initial state, for small values of \(\eta /s\) [40, 60,61,62]. In Fig. 4 the correlations between \(v_2\) and \(v_3\) (solid black line), \(v_2\) and \(v_4\) (red solid line) for charged particles in PbPb collisions at \(\sqrt{s_{NN}}=2.76 \text{ TeV }\) in 15–20\(\%\) centrality class are shown in comparison with the experimental data from ALICE Collaboration [63]. In these calculations, for a given centrality class, every point is determined evaluating the \(v_n\) varying the \(q_2\). The trend of the \(v_n - v_2\) correlations is related to the initial correlation (anti-correlation) between \(\epsilon _n\) and \(\epsilon _2\), because of the strong linear correlations for each harmonic \(v_n \propto \epsilon _n\). The initial anti-correlation between the \(\epsilon _2\) and \(\epsilon _3\) can be understood considering, for example, that having, for a determined centrality, a specific number of participating nucleons can be ideally arranged to have a large \(\epsilon _2\), the geometric consequence of this configuration leads to a smaller \(\epsilon _3\). These results are in agreement with other measurement performed by the ATLAS Collaboration [64]. As shown in Fig. 4 the \(v_4\) has a non linear correlation with the \(v_2\). This behaviour can be attributed to the fact that \(v_4\) receives a non-linear contribution from the initial \(\epsilon _2\) that goes like \((\epsilon _2)^2\) [57]. On the other hand, the \(v_4\) can be parametrized as the quadrature sum of two components: one proportional to \(v_2^2\) (as \(v_2 \propto \epsilon _2\)) that comes from the non-linear hydrodynamics response of the medium, and the other contribution that in principle could be a linear component that should be independent of \(v_2\) [65, 66]. Our results for charged particles are in good agreement with the experimental data suggesting that our approach may capture the initial spatial fluctuations of the bulk matter. In the same scheme in Fig. 5 we have evaluated the \(v_n\)-\(v_m\) correlations in the charm sector giving predictions for \(v_2\)-\(v_3\) and \(v_2\)-\(v_4\) for D mesons in PbPb collisions at \(\sqrt{s_{NN}}=5.02 \text{ TeV }\) in most central 0–0\(\%\) and semi-peripheral 30–50\(\%\) centrality classes. As for the light quark sector, we can clearly see an anti-correlation between \(v_2\)-\(v_3\) and a non linear, quadratic correlation between \(v_2\)-\(v_4\). We observe a weak correlation between \(v_3-v_2\) and \(v_4-v_2\) in the central collisions and the correlation (or anti-correlation) becomes larger in more peripheral collisions. Moreover, as shown in [29] the correlation coefficient between the heavy and light quarks \(v_2\) is about \(C \approx 0.95\) and it remains almost flat and independent of impact parameter, suggesting a very strong correlation between the final charm quark \(v_2\) and light quark \(v_2\) for all the centrality investigated. On the other hand, it was approximately observed the same degree of correlation for \(v_2\), \(v_3\) and \(v_4\). This suggest that the building up of \(v_n\) of heavy quarks is driven by the \(v_n\) of the bulk for \(n=2,3,4\). This can explain why we predict a similar \(v_n-v_m\) correlations of heavy quarks like the ones of the bulk.

Fig. 5
figure 5

\(v_n\) and \(v_m\) (\(n=2,m=3,4\)) correlations for D mesons in PbPb collisions at \(\sqrt{s_{NN}}=5.02\) \( \text{ TeV }\) for both 0–0\(\%\) (left panel) and 30-50\(\%\) (right panel) centrality class

In order to perform a more systematic study we can now introduce a new type of observable for anisotropic flow analyses, the so-called Symmetric Cumulant (SC(mn)), proposed in [67]. This observable is particularly useful for systems in which flow harmonics fluctuate in magnitude event-by-event, and it is defined as follows, starting from the 4-particle correlation:

$$\begin{aligned}&SC(m,n) \nonumber \\&\quad =\langle \langle \cos (m\phi _1+n\phi _2-m\phi _3-n\phi _4)\rangle \rangle \nonumber \\&\qquad -\langle \langle \cos (m\phi _1-m\phi _2)\rangle \rangle \langle \langle \cos (n\phi _1-n\phi _2)\rangle \rangle = \nonumber \\&\quad =\langle v_n^2v_m^2\rangle - \langle v_n^2\rangle \langle v_m^2\rangle \end{aligned}$$
(15)

where the \(\phi _i\) are the particle azimuthal angles, while the double averaging is a mean over all particles and over all events for a given centrality class [67]. Notice that for fixed values of \(v_n\) and \(v_m\) over all events, the symmetric cumulant as defined in Eq. 15, is zero. We can get this result not only when \(v_n\) and \(v_m\) are fixed for all events, but also when event-by-event fluctuations of \(v_n\) and \(v_m\) are uncorrelated. Therefore, the symmetric cumulant is non-zero only if the event-by-event fluctuations of \(v_n\) and \(v_m\) are correlated.

Fig. 6
figure 6

Symmetric cumulant correlator SC(mn) for both charged particles (left panel) and prediction for D mesons (right panel) as a function of centrality class. In the left panel the experimental data taken from ALICE Collaboration [68]

In Fig. 6, SC(4, 2) (red line) and SC(3, 2) (black line) are shown for PbPb collisions at \(\sqrt{s_{NN}}=5.02 \text{ TeV }\) with \(|\eta |<0.8\) and \(0.5<p_T<5.0\) \(\text{ GeV }\) as a function of centrality. In the left panel we show the SC(mn) for charged particles that we compare with the ALICE experimental data [68], predictions for D mesons are shown in the right panel. The results for charged particles are in good agreement with the experimental measurements by ALICE Collaboration. The SC(4, 2) is positive, indicating that for a given centrality interval, events with larger \(v_2\) on average have larger \(v_4\). On the other hand, the SC(3, 2) is negative indicating an anti-correlation between \(v_2\) and \(v_3\) at fixed centrality. This confirm exactly what was observed within the event-shape selected \(v_n\)-\(v_m\) correlations. As shown in the right panel we predict a weaker but similar behaviour with the centrality for the symmetric cumulant correlator SC(mn) for D mesons anisotropic flows. For both cases we observe that SC(4, 2) and SC(3, 2) decrease considerably in magnitude from peripheral to central events. This large decrease does not imply that the correlations between these harmonics becomes negligible for centrality class smaller then (0–10)\(\%\). This decreasing in the magnitude of the correlation occurs since the \(SC \sim v^4_n\) and for very central events the \(v_n\) (especially \(v_2\)) become quite small.

Fig. 7
figure 7

Elliptic flow \(v_2\) at mid-rapidity for D mesons as a function of \(p_T\) in the \(20\%\) large-\(q_2\) and \(20\%\) small-\(q_2\) events for the centrality classes 0–10\(\%\) (upper panel) and 30–50\(\%\) (lower panel) for PbPb collisions at 5.02 \( \text{ TeV }\). Dashed lines refer to charm quarks \(v_2\) while solid lines refer to D mesons \(v_2\). The experimental data are taken from ALICE measurements [56]

Fig. 8
figure 8

Ratio of the average D meson \(v_2\) coefficients measured in the \(20\%\) large-\(q_2\) (right panel) and \(20\%\) small-\(q_2\) (left panel) events with respect to that of the unbiased sample as a function of \(p_T\). These calculation are for for PbPb collisions at 5.02 \( \text{ TeV }\) for two centralities 0–10\(\%\) (upper panels) and 30–50\(\%\) (lower panels). The experimental data are taken from ALICE measurements [56]

In Fig. 7 we show the results for the D mesons \(v_2\) at mid-rapidity for two centralities and for different \(q_2\) selections: \(20\%\) large-\(q_2\) (red solid and dashed lines) and \(20\%\) small-\(q_2\) (blue solid and dashed lines) events. As shown in Fig. 7, the \(v_2\) of \(20\%\) large-\(q_2\) (red solid line) events is quite larger than the \(v_2\) of \(20\%\) small-\(q_2\) events (blue solid line) for most central 0–10\(\%\) and semi-peripheral 30–50\(\%\) centrality classes. This result suggests that the selection in \(q_2\) distinguish between the initial eccentricities, large (small) \(q_2\) means large (small) eccentricity, that consequently develop in large or small transverse flow translated into the final azimuthal anisotropy in momentum space for both bulk and D-meson. This difference increases with the collision centrality. Our results are compared to the ALICE measurements [56], where the good agreement shows that our model can essentially capture the strong coupling between the bulk medium and heavy quark. Finally, in Fig. 8 we show the ratio as a function of the transverse momentum between the D meson \(v_2\) in events characterized by large or small \(q_2\) divided by the \(v_2\) in unbiased events. We find, for these ratios, a difference of about \(50\%\) between the \(q_2\)-selected and the unbiased events in both centrality class, with no dependence on the transverse momentum, this behaviour might suggest that the ESE selection is related to a global property of the events.

5 Conclusion

In this paper we have studied the propagation of charm quarks in the quark-gluon plasma (QGP) by means of an event-by-event transport approach. In particular we have solved the relativistic Boltzmann transport equation with an event-by-event fluctuating initial condition which allow us to access the study of high order anisotropic flow coefficients \(v_n\) for charmed mesons. We have studied the D meson \(v_n\) at LHC energies in different centrality class selection. In particular, we have evaluated for the first time the heavy flavor \(v_n-v_m\) correlations with the event-shape engineering (ESE) technique consisting in selecting events in the same centrality class but characterized by different average elliptic anisotropy. With our approach we have a good agreement with the available experimental data from ALICE Collaborations for the bulk. Furthermore, we have provided predictions for charmed hadrons \(v_n-v_m\) correlations and we predict a weaker but similar correlations behaviour respect to the light flavours reflected in a smaller symmetric cumulant correlator SC(mn) for D mesons. Like for the light flavor we observe that SC(4, 2) is positive, indicating that for a given centrality interval, events with larger \(v_2\) on average have larger \(v_4\) while the SC(3, 2) is negative indicating an anti-correlation between \(v_2\) and \(v_3\) at fixed centrality. For both cases we observe that SC(4, 2) and SC(3, 2) decrease from peripheral to central events. Finally, we have found that the selection based on the event-shape leads to a visible effect on the final particle elliptic flow. We have shown that the \(v_2\) of \(20\%\) large-\(q_2\) events is larger than the \(v_2\) of \(20\%\) small-\(q_2\) events for both most central 0–10\(\%\) and semi-peripheral 30–50\(\%\) centrality class, suggesting a correlation between the D-meson azimuthal anisotropy and the collective expansion of the bulk matter. We notice that the sensitivity with the event-shape selection increase with the collision centrality. Our results are in good agreement with the experimental data from the ALICE coll. [56].