ATLAS Offline Software
Loading...
Searching...
No Matches
IegammaCellRecoveryTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4
6// IegammaCellRecoveryTool.h, (c) ATLAS Detector software 2023
8
9#ifndef EGAMMAINTERFACES_IEGAMMACELLRECOVERYTOOL_H
10#define EGAMMAINTERFACES_IEGAMMACELLRECOVERYTOOL_H
11
14
15// Gaudi
16#include "GaudiKernel/IAlgTool.h"
17// Forward declarations
19
20#include <vector>
21
22class CaloCell;
23
24static const InterfaceID IID_IegammaCellRecoveryTool("IegammaCellRecoveryTool", 1, 0);
25
26class IegammaCellRecoveryTool : virtual public IAlgTool {
27
28 public:
29
32
34 static const InterfaceID& interfaceID();
35
36 class Info {
37 public:
38 double etamax = -999;
39 double phimax = -999;
40 double eCells[2] = { 0., 0. };
41 unsigned short nCells[2] = { 0, 0 };
42 std::vector<const CaloCell*> addedCells;
43 };
44
45 virtual StatusCode execute(const xAOD::CaloCluster& cluster, Info& info) const = 0;
46};
47
48inline const InterfaceID& IegammaCellRecoveryTool::interfaceID()
49{
51}
52
53#endif // EGAMMAINTERFACES_IEGAMMACELLRECOVERYTOOL_H
static const InterfaceID IID_IegammaCellRecoveryTool("IegammaCellRecoveryTool", 1, 0)
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
std::vector< const CaloCell * > addedCells
Interface for the Reconstruction/egamma/egammaCaloTools/egammaCellRecoveryTool.
static const InterfaceID & interfaceID()
AlgTool interface methods.
virtual StatusCode execute(const xAOD::CaloCluster &cluster, Info &info) const =0
method: Method to get the info from missing cells
virtual ~IegammaCellRecoveryTool()
Virtual destructor.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.