C++ version for readout system in particle physics experiment