ATLAS Offline Software
Loading...
Searching...
No Matches
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"
26
27static const InterfaceID IID_IegammaSwTool("IegammaSwTool", 1, 0);
28
29class IegammaSwTool : virtual public IAlgTool
30{
31
32public:
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,
47 bool isBarrel) const = 0;
48};
49
50inline const InterfaceID&
55
56#endif
static const InterfaceID IID_IegammaSwTool("IegammaSwTool", 1, 0)
Interface for the Reconstruction/egamma/egammaRec/egammaSwTool.
static const InterfaceID & interfaceID()
AlgTool interface methods.
virtual StatusCode initialize()=0
initialize method
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
execute method
virtual ~IegammaSwTool()
Virtual destructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster, xAOD::EgammaParameters::EgammaType egType, bool isBarrel) const =0
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.