def get_id_to_decoder_name_dict(header_dict):
    """
    Returns a dictionary that goes:
    `dict[dataID] = "decoderName"`
    e.g: d[5] = 'ORSIS3302DecoderForEnergy'
    """
    id2dn_dict = {}
    dd = header_dict['dataDescription']
    for class_key in dd.keys():
        for super_key in dd[class_key].keys():
            dataID = (dd[class_key][super_key]['dataId']) >> 18
            decoder_name = dd[class_key][super_key]['decoder']
            id2dn_dict[dataID] = decoder_name
    return id2dn_dict