Characterization of linearly graded position-sensitive silicon photomultipliers