  The parton-to-hadron fragmentation functions (FFs) obtained from the YaJEM
and PYTHIA6 Monte Carlo event generators, are studied for jets produced in a
strongly-interacting medium and in the QCD "vacuum" respectively. The medium
modifications are studied with the YaJEM code in two different scenarios by (i)
accounting for the medium induced virtuality DeltaQ^2 transferred to the
leading parton from the medium, and (ii) by altering the infrared sector in the
Borghini-Wiedemann approach. The results of our simulations are compared to
experimental jet data measured by the CMS experiment in PbPb and pp collisions
at a center-of-mass energy of 2.76 TeV. Though both scenarios qualitatively
describe the shape and main physical features of the FFs, the ratios are in
much better agreement with the first scenario. Results are presented for the
Monte Carlo FFs obtained for different parton flavours (quark and gluon) and
accounting exactly, or not, for the experimental jet reconstruction biases.
