ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Interfaces
EgammaAnalysisInterfaces
EgammaAnalysisInterfaces
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
11
#include "
AsgServices/IAsgService.h
"
12
#include "
AsgMessaging/StatusCode.h
"
13
// EDM includes
14
#include "
xAODEgamma/EgammaFwd.h
"
15
#include "
xAODEgamma/EgammaEnums.h
"
16
#include "
xAODCaloEvent/CaloClusterFwd.h
"
17
18
#include "
GlobalEventInfo.h
"
19
20
21
class
IegammaMVASvc
:
virtual
public
asg::IAsgService
{
22
public
:
23
DeclareInterfaceID
(
IegammaMVASvc
,1,0);
24
25
virtual
~IegammaMVASvc
()
override
{};
26
28
virtual
StatusCode
getEnergy
(
const
xAOD::CaloCluster
& cluster,
29
const
xAOD::Egamma
& eg,
30
double
& energy,
31
const
egammaMVACalib::GlobalEventInfo
& gei =
egammaMVACalib::GlobalEventInfo
())
const
= 0;
32
34
virtual
StatusCode
getEnergy
(
const
xAOD::CaloCluster
& cluster,
35
const
xAOD::EgammaParameters::EgammaType
egType,
36
double
& energy,
37
const
egammaMVACalib::GlobalEventInfo
& gei =
egammaMVACalib::GlobalEventInfo
())
const
= 0;
38
39
41
virtual
StatusCode
execute
(
xAOD::CaloCluster
& cluster,
42
const
xAOD::Egamma
& eg,
43
const
egammaMVACalib::GlobalEventInfo
& gei =
egammaMVACalib::GlobalEventInfo
())
const
= 0;
44
47
virtual
StatusCode
execute
(
xAOD::CaloCluster
& cluster,
48
const
xAOD::EgammaParameters::EgammaType
egType,
49
const
egammaMVACalib::GlobalEventInfo
& gei =
egammaMVACalib::GlobalEventInfo
())
const
= 0;
50
51
52
};
53
54
#endif
CaloClusterFwd.h
StatusCode.h
EgammaEnums.h
EgammaFwd.h
GlobalEventInfo.h
IAsgService.h
IegammaMVASvc
Definition
IegammaMVASvc.h:21
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.
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.
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.
IegammaMVASvc::DeclareInterfaceID
DeclareInterfaceID(IegammaMVASvc, 1, 0)
IegammaMVASvc::~IegammaMVASvc
virtual ~IegammaMVASvc() override
Definition
IegammaMVASvc.h:25
asg::IAsgService
Base class for the dual-use service interface classes.
Definition
IAsgService.h:26
xAOD::EgammaParameters::EgammaType
EgammaType
Definition
EgammaEnums.h:17
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
egammaMVACalib::GlobalEventInfo
A structure holding some global event information.
Definition
GlobalEventInfo.h:10
Generated on
for ATLAS Offline Software by
1.17.0