Monolithic integration of PIN diodes and n-channel double-gate JFETs for room temperature X-ray spectroscopy