ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaInterfaces
egammaInterfaces
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
18
#include "
xAODCaloEvent/CaloClusterFwd.h
"
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
31
virtual
~IegammaCellRecoveryTool
() {};
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
48
inline
const
InterfaceID&
IegammaCellRecoveryTool::interfaceID
()
49
{
50
return
IID_IegammaCellRecoveryTool
;
51
}
52
53
#endif
// EGAMMAINTERFACES_IEGAMMACELLRECOVERYTOOL_H
CaloClusterFwd.h
IID_IegammaCellRecoveryTool
static const InterfaceID IID_IegammaCellRecoveryTool("IegammaCellRecoveryTool", 1, 0)
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
IegammaCellRecoveryTool::Info
Definition
IegammaCellRecoveryTool.h:36
IegammaCellRecoveryTool::Info::addedCells
std::vector< const CaloCell * > addedCells
Definition
IegammaCellRecoveryTool.h:42
IegammaCellRecoveryTool::Info::eCells
double eCells[2]
Definition
IegammaCellRecoveryTool.h:40
IegammaCellRecoveryTool::Info::etamax
double etamax
Definition
IegammaCellRecoveryTool.h:38
IegammaCellRecoveryTool::Info::nCells
unsigned short nCells[2]
Definition
IegammaCellRecoveryTool.h:41
IegammaCellRecoveryTool::Info::phimax
double phimax
Definition
IegammaCellRecoveryTool.h:39
IegammaCellRecoveryTool
Interface for the Reconstruction/egamma/egammaCaloTools/egammaCellRecoveryTool.
Definition
IegammaCellRecoveryTool.h:26
IegammaCellRecoveryTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition
IegammaCellRecoveryTool.h:48
IegammaCellRecoveryTool::execute
virtual StatusCode execute(const xAOD::CaloCluster &cluster, Info &info) const =0
method: Method to get the info from missing cells
IegammaCellRecoveryTool::~IegammaCellRecoveryTool
virtual ~IegammaCellRecoveryTool()
Virtual destructor.
Definition
IegammaCellRecoveryTool.h:31
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