Anomalous Hall effect and the role of Berry curvature in Co2TiSn Heusler films