def METHOD_NAME(self):
    """
    _toJSON_
    Bin the histogram if any, calculate the standard deviation. Store
    the internal data needed for reconstruction of the histogram
    from JSON and call superclass toJSON method.
    """
    if self.nPoints:
        self.stdDev = calculateStdDevFromQ(self.QValue, self.nPoints)
    if not self.binned and self.storeHistogram:
        self.binHistogram()
    self.jsonInternal = {}
    self.jsonInternal['yLabel'] = self.yLabel
    self.jsonInternal['QValue'] = self.QValue
    self.jsonInternal['nPoints'] = self.nPoints
    return SummaryHistogram.METHOD_NAME(self)