ATLAS Offline Software
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 
21 // INCLUDE HEADER FILES:
22 #include "GaudiKernel/EventContext.h"
23 #include "GaudiKernel/IAlgTool.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,
47  bool isBarrel) const = 0;
48 };
49 
50 inline const InterfaceID&
52 {
53  return IID_IegammaSwTool;
54 }
55 
56 #endif
IegammaSwTool::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
execute method
IegammaSwTool::initialize
virtual StatusCode initialize()=0
initialize method
xAOD::EgammaParameters::EgammaType
EgammaType
Definition: EgammaEnums.h:17
IegammaSwTool::~IegammaSwTool
virtual ~IegammaSwTool()
Virtual destructor.
Definition: IegammaSwTool.h:34
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterFwd.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IegammaSwTool
Definition: IegammaSwTool.h:30
IegammaSwTool::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster, xAOD::EgammaParameters::EgammaType egType, bool isBarrel) const =0
EgammaEnums.h
python.LArCondContChannels.isBarrel
isBarrel
Definition: LArCondContChannels.py:659
IegammaSwTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IegammaSwTool.h:51