8#ifndef EGAMMAANALYSISINTERFACES_IEGAMMAMVASVC_H
9#define EGAMMAANALYSISINTERFACES_IEGAMMAMVASVC_H
virtual StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, const egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) const =0
Standard execute when you have both cluster and eg object.
virtual StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::EgammaParameters::EgammaType egType, const egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) 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 egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) const =0
Compute the calibrated energy when the full egamma object is not available.
virtual StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, double &energy, const egammaMVACalib::GlobalEventInfo &gei=egammaMVACalib::GlobalEventInfo()) const =0
Compute the calibrated energy.
DeclareInterfaceID(IegammaMVASvc, 1, 0)
virtual ~IegammaMVASvc() override
Base class for the dual-use service interface classes.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".
A structure holding some global event information.