Superconducting quantum detectors and single photon charge control for mass spectrometry