ATLAS Offline Software
IegammaMVASvc.h
Go to the documentation of this file.
1 // Dear Emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef EGAMMAANALYSISINTERFACES_IEGAMMAMVASVC_H
9 #define EGAMMAANALYSISINTERFACES_IEGAMMAMVASVC_H
10 
13 // EDM includes
14 #include "xAODEgamma/EgammaFwd.h"
15 #include "xAODEgamma/EgammaEnums.h"
17 
18 
19 class IegammaMVASvc : virtual public asg::IAsgService {
20 public:
22 
23  virtual ~IegammaMVASvc() override {};
24 
26  virtual StatusCode getEnergy(const xAOD::CaloCluster& cluster,
27  const xAOD::Egamma& eg,
28  double& energy) const = 0;
29 
31  virtual StatusCode getEnergy(const xAOD::CaloCluster& cluster,
33  double& energy) const = 0;
34 
35 
38  const xAOD::Egamma& eg) const = 0;
39 
43  const xAOD::EgammaParameters::EgammaType egType) const = 0;
44 
45 
46 };
47 
48 #endif
EgammaFwd.h
IegammaMVASvc::getEnergy
virtual StatusCode getEnergy(const xAOD::CaloCluster &cluster, const xAOD::Egamma &eg, double &energy) const =0
Compute the calibrated energy.
ParticleTest.eg
eg
Definition: ParticleTest.py:29
IegammaMVASvc::execute
virtual StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::EgammaParameters::EgammaType egType) const =0
An execute that just has cluster and egType.
asg::IAsgService
Base class for the dual-use service interface classes.
Definition: IAsgService.h:26
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
IegammaMVASvc
Definition: IegammaMVASvc.h:19
xAOD::EgammaParameters::EgammaType
EgammaType
Definition: EgammaEnums.h:17
IAsgService.h
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
IegammaMVASvc::execute
virtual StatusCode execute(xAOD::CaloCluster &cluster, const xAOD::Egamma &eg) const =0
Standard execute when you have both cluster and eg object.
IegammaMVASvc::~IegammaMVASvc
virtual ~IegammaMVASvc() override
Definition: IegammaMVASvc.h:23
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
CaloClusterFwd.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
StatusCode.h
EgammaEnums.h
IegammaMVASvc::DeclareInterfaceID
DeclareInterfaceID(IegammaMVASvc, 1, 0)
IegammaMVASvc::getEnergy
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.