Not quite sure about the "{found within $participants}" part of the story.
How would it look in, say, {if}
and {foreach}
:
{if !empty($dataArray)}
becomes{if !empty($participants)}
?{foreach from=$dataArray item=value key=priceset}
becomes{foreach from=$participants item=value key=priceset}
(????)