def get_cbmc_info(n_insert, n_dihed, cutoffs):
    """Get the CBMC_Info section of the input file

    Parameters
    ----------
    n_insert : int
        number of insertion sites to attempt for CBMC
    n_dihed : int
        number of dihedral angles to attempt for CBMC
    cutoffs : list
        list containing CBMC cutoff values for each box
    """

    if not isinstance(n_insert, int):
        raise TypeError(
            "Number of CBMC insertion attempts must be " "an integer"
        )
    if not isinstance(n_dihed, int):
        raise TypeError(
            "Number of CBMC dihedral angle attempts must be " "an integer"
        )
    if not isinstance(cutoffs, list):
        raise TypeError("Cutoff information improperly specified")
    for cutoff in cutoffs:
        if not isinstance(cutoff, (float, int)):
            raise TypeError("CBMC cutoff must be a float")

    inp_data = """
# CBMC_Info
kappa_ins {n_insert}
kappa_dih {n_dihed}
rcut_cbmc""".format(
        n_insert=n_insert, n_dihed=n_dihed
    )

    for cutoff in cutoffs:
        inp_data += " {cutoff}".format(cutoff=cutoff)

    inp_data += """
!------------------------------------------------------------------------------
"""

    return inp_data