def METHOD_NAME(xmlsummary):
    '''given an XMLSummary object, will return the integrated luminosity'''
    #  print(xmlsummary.counter_dict()['lumiCounters']['IntegrateBeamCrossing/Luminosity'].value()[0],'+/-',xmlsummary.counter_dict()['lumiCounters']['IntegrateBeamCrossing/Luminosity'].value()[2])
    lumiDict = dict(list(zip(xmlsummary.counter_dict()['lumiCounters']['IntegrateBeamCrossing/Luminosity'].attrib('format'),
                             xmlsummary.counter_dict()['lumiCounters'][
        'IntegrateBeamCrossing/Luminosity'].value()
    ))
    )
    return '"%s +- %s"' % (lumiDict['Flag'], lumiDict['Flag2'])