Removed commented out signals related to dark current in CLSSIS3820ScalerChannel, as it seems that are not needed. Neither are the connect statements that I uncommented earlier.
Removed dis/connect statements from CLSSIS3820ScalerChannel::setDetector(AMDetector*).
Minor changes: added an 'if detector != newDetector' type guard around statements in body of CLSSIS3820ScalerChannel::setDetector(AMDetector *newDetector), and a new signal detectorChanged(AMDetector*) that's emitted when the detector is changed.
Fixed mistake in adding scaler_ to the scaler channels as the argument to setDetector. Replaced scaler_ with i0/iTDetector_.
Moved the setDetector and setCurrentAmplifier methods from public to public slots.