Heavy-flavor hadron production in relativistic heavy ion collisions at energies available at BNL RHIC and at the CERN LHC in the EPOS4HQ framework | Synapse