Text this: Investigation of avalanche photodiodes radiation hardness for baryonic matter studies