Thermal (background) particle generator based on CERN ROOT