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 #include "GlobalEventInfo.h"
19 
20 
21 class IegammaMVASvc : virtual public asg::IAsgService {
22 public:
24 
25  virtual ~IegammaMVASvc() override {};
26 
28  virtual StatusCode getEnergy(const xAOD::CaloCluster& cluster,
29  const xAOD::Egamma& eg,
30  double& energy,
32 
34  virtual StatusCode getEnergy(const xAOD::CaloCluster& cluster,
36  double& energy,
38 
39 
42  const xAOD::Egamma& eg,
44 
50 
51 
52 };
53 
54 #endif
GlobalEventInfo.h
EgammaFwd.h
ParticleTest.eg
eg
Definition: ParticleTest.py:29
asg::IAsgService
Base class for the dual-use service interface classes.
Definition: IAsgService.h:26
IegammaMVASvc::execute
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.
IegammaMVASvc::getEnergy
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.
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
IegammaMVASvc
Definition: IegammaMVASvc.h:21
xAOD::EgammaParameters::EgammaType
EgammaType
Definition: EgammaEnums.h:17
IAsgService.h
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:62
IegammaMVASvc::~IegammaMVASvc
virtual ~IegammaMVASvc() override
Definition: IegammaMVASvc.h:25
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
IegammaMVASvc::getEnergy
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.
EgammaEnums.h
IegammaMVASvc::DeclareInterfaceID
DeclareInterfaceID(IegammaMVASvc, 1, 0)
IegammaMVASvc::execute
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.
egammaMVACalib::GlobalEventInfo
A structure holding some global event information.
Definition: GlobalEventInfo.h:9