JOURNAL OF INSTRUMENTATION, cilt.14, 2019 (SCI-Expanded)
This paper describes the reconstruction of electrons and photons with the ATLAS detector, employed for measurements and searches exploiting the complete LHC Run 2 dataset. An improved energy clustering algorithm is introduced, and its implications for the measurement and identification of prompt electrons and photons are discussed in detail. Corrections and calibrations that affect performance, including energy calibration, identification and isolation efficiencies, and the measurement of the charge of reconstructed electron candidates are determined using up to 81 fb(-1) of proton-proton collision data collected at root s = 13 TeV between 2015 and 2017.