Abstract. Ultra-relativistic heavy-ion collisions at energies of RHIC and LHC are considered. For comparison with data the HYDJET++ model, which contains the treatment of both soft and hard processes, is employed. The study focuses mainly on the interplay of ideal hydrodynamics, final state interactions and jets, and its influence on the development of harmonics of the anisotropic flow. It is shown that jets are responsible for violation of the number-of-constituent-quark (NCQ) scaling at LHC energies. The interplay between elliptic and triangular flows and their contribution to higher flow harmonics and dihadron angular correlations, including ridge, is also discussed.