@classmethod
def ops(cls, h, bb, hbp, ab, sf, tb):
    """
        On the base + slugging
        :param h: hits
        :param bb: base on ball
        :param hbp: hit by pitch
        :param ab: at bat
        :param sf: sacrifice fly
        :param tb: total bases
        :return: (float) ops
        """
    return round(float(tb) / float(ab) + float(h + bb + hbp) / float(ab +
        bb + hbp + sf), 3)
