ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18#include "GlobalEventInfo.h"
19
20
21class IegammaMVASvc : virtual public asg::IAsgService {
22public:
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
41 virtual StatusCode execute(xAOD::CaloCluster& cluster,
42 const xAOD::Egamma& eg,
44
47 virtual StatusCode execute(xAOD::CaloCluster& cluster,
50
51
52};
53
54#endif
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.
Definition IAsgService.h:26
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
A structure holding some global event information.