ATLAS Offline Software
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 
22 class CaloCell;
23 
24 static const InterfaceID IID_IegammaCellRecoveryTool("IegammaCellRecoveryTool", 1, 0);
25 
26 class 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  };
45  virtual StatusCode execute(const xAOD::CaloCluster& cluster, Info& info) const = 0;
46 };
47 
48 inline const InterfaceID& IegammaCellRecoveryTool::interfaceID()
49 {
50  return IID_IegammaCellRecoveryTool;
51 }
52 
53 #endif // EGAMMAINTERFACES_IEGAMMACELLRECOVERYTOOL_H
grepfile.info
info
Definition: grepfile.py:38
IegammaCellRecoveryTool::Info
Definition: IegammaCellRecoveryTool.h:36
IegammaCellRecoveryTool::Info::etamax
double etamax
Definition: IegammaCellRecoveryTool.h:38
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterFwd.h
IegammaCellRecoveryTool::Info::nCells
unsigned short nCells[2]
Definition: IegammaCellRecoveryTool.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IegammaCellRecoveryTool::Info::eCells
double eCells[2]
Definition: IegammaCellRecoveryTool.h:40
IegammaCellRecoveryTool::~IegammaCellRecoveryTool
virtual ~IegammaCellRecoveryTool()
Virtual destructor.
Definition: IegammaCellRecoveryTool.h:31
IegammaCellRecoveryTool::execute
virtual StatusCode execute(const xAOD::CaloCluster &cluster, Info &info) const =0
method: Method to get the info from missing cells
IegammaCellRecoveryTool
Interface for the Reconstruction/egamma/egammaCaloTools/egammaCellRecoveryTool.
Definition: IegammaCellRecoveryTool.h:26
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
IegammaCellRecoveryTool::Info::phimax
double phimax
Definition: IegammaCellRecoveryTool.h:39
IegammaCellRecoveryTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IegammaCellRecoveryTool.h:48
IegammaCellRecoveryTool::Info::addedCells
std::vector< const CaloCell * > addedCells
Definition: IegammaCellRecoveryTool.h:42