A prototype silicon-tungsten electromagnetic calorimeter (ECAL) for an international linear collider detector was installed and tested during summer and autumn 2006 at CERN. The analysis described in this paper focuses on electromagnetic shower reconstruction and characterises the ECAL response to electrons in terms of energy resolution and linearity.