Child process for TRgen (collects the raw data and feeds back to trgen)