ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaInterfaces
egammaInterfaces
IegammaSwTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// IegammaSwTool.h, (c) ATLAS Detector software 2008
8
9
#ifndef EGAMMAINTERFACES_IEGAMMASWTOOL_H
10
#define EGAMMAINTERFACES_IEGAMMASWTOOL_H
11
20
21
// INCLUDE HEADER FILES:
22
#include "GaudiKernel/EventContext.h"
23
#include "GaudiKernel/IAlgTool.h"
24
#include "
xAODCaloEvent/CaloClusterFwd.h
"
25
#include "
xAODEgamma/EgammaEnums.h
"
26
27
static
const
InterfaceID
IID_IegammaSwTool
(
"IegammaSwTool"
, 1, 0);
28
29
class
IegammaSwTool
:
virtual
public
IAlgTool
30
{
31
32
public
:
34
virtual
~IegammaSwTool
(){};
35
37
static
const
InterfaceID&
interfaceID
();
38
40
virtual
StatusCode
initialize
() = 0;
42
virtual
StatusCode
execute
(
const
EventContext& ctx,
43
xAOD::CaloCluster
* cluster)
const
= 0;
44
virtual
StatusCode
execute
(
const
EventContext& ctx,
45
xAOD::CaloCluster
* cluster,
46
xAOD::EgammaParameters::EgammaType
egType,
47
bool
isBarrel)
const
= 0;
48
};
49
50
inline
const
InterfaceID&
51
IegammaSwTool::interfaceID
()
52
{
53
return
IID_IegammaSwTool
;
54
}
55
56
#endif
CaloClusterFwd.h
EgammaEnums.h
IID_IegammaSwTool
static const InterfaceID IID_IegammaSwTool("IegammaSwTool", 1, 0)
IegammaSwTool
Interface for the Reconstruction/egamma/egammaRec/egammaSwTool.
Definition
IegammaSwTool.h:30
IegammaSwTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition
IegammaSwTool.h:51
IegammaSwTool::initialize
virtual StatusCode initialize()=0
initialize method
IegammaSwTool::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
execute method
IegammaSwTool::~IegammaSwTool
virtual ~IegammaSwTool()
Virtual destructor.
Definition
IegammaSwTool.h:34
IegammaSwTool::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster, xAOD::EgammaParameters::EgammaType egType, bool isBarrel) const =0
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
Generated on
for ATLAS Offline Software by
1.17.0