code: def get_prottable_headerfields(headertypes, lookup=False, poolnames=False, genecentric=False):
      
      field_defs = {'isoquant': get_isoquant_fields,
                    'precursorquant': get_precursorquant_fields,
                    'probability': get_probability_fields,
                    'proteindata': get_proteininfo_fields,
                    'proteinfdr': get_proteinfdr_fields,
                    'proteinpep': get_proteinpep_fields,
                    'bestpepscore': get_bestpeptide_fields,
                    }
      return generate_headerfields(headertypes, field_defs, poolnames, lookup, genecentric)
docs: Called by driver to generate headerfields object