Detector embedded device for continuous reset of charge amplifiers: choice between bipolar and MOS transistor