Quality control of the silicon photomultipliers (SiPM) for the Muon g-2 experiment