Pulse height distribution and radiation tolerance of CVD diamond detectors