Adding cpp for IElectrons and AHits