JG: extended sample overflow module to include caen hardware