virtual StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, double &energy) const =0
Compute the calibrated energy.
virtual StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::EgammaParameters::EgammaType egType) const =0
An execute that just has cluster and egType.
virtual StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::EgammaParameters::EgammaType egType, double &energy) const =0
Compute the calibrated energy when the full egamma object is not available.