ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
PFClusterSelectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef EFLOWREC_PFCLUSTERSELECTORTOOL_H
5
#define EFLOWREC_PFCLUSTERSELECTORTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
CaloDetDescr/CaloDetDescrManager.h
"
9
#include "
IPFClusterSelectorTool.h
"
10
#include "
eflowRecCluster.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
xAODCaloEvent/CaloClusterContainer.h
"
13
14
#include <map>
15
16
class
PFClusterSelectorTool
:
public
extends<AthAlgTool, IPFClusterSelectorTool> {
17
18
public
:
20
PFClusterSelectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
22
~PFClusterSelectorTool
() {};
23
24
StatusCode
initialize
();
25
StatusCode
execute
(
eflowRecClusterContainer
& theEFlowRecClusterContainer,
26
xAOD::CaloClusterContainer
& theCaloClusterContainer)
const
;
27
StatusCode
finalize
();
28
29
private
:
32
void
retrieveLCCalCellWeight
(
33
double
energy,
34
unsigned
index
,
35
std::map<IdentifierHash, double>& cellsWeight,
36
const
xAOD::CaloClusterContainer
& caloCalClustersContainer,
37
const
CaloDetDescrManager
& calo_dd_man)
const
;
38
40
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_caloClustersReadHandleKey
{
41
this
,
42
"clustersName"
,
43
"CaloTopoClusters"
,
44
"ReadHandleKey for the CaloClusterContainer to be used as input"
45
};
46
49
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_caloCalClustersReadHandleKey
{
50
this
,
51
"calClustersName"
,
52
"CaloCalTopoClusters"
,
53
"ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as "
54
"input"
55
};
56
58
SG::ReadDecorHandleKey<xAOD::CaloClusterContainer>
m_caloClusterReadDecorHandleKeyNLeadingTruthParticles
{
this
,
"CaloClusterReadDecorHandleKey_NLeadingTruthParticles"
,
""
};
59
61
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
62
this
,
63
"CaloDetDescrManager"
,
64
"CaloDetDescrManager"
,
65
"SG Key for CaloDetDescrManager in the Condition Store"
66
};
67
};
68
#endif
AthAlgTool.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloClusterContainer.h
IPFClusterSelectorTool.h
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
PFClusterSelectorTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ReadCondHandleKey for CaloDetDescrManager.
Definition
PFClusterSelectorTool.h:61
PFClusterSelectorTool::m_caloCalClustersReadHandleKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloCalClustersReadHandleKey
ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as input.
Definition
PFClusterSelectorTool.h:49
PFClusterSelectorTool::~PFClusterSelectorTool
~PFClusterSelectorTool()
Default destructor.
Definition
PFClusterSelectorTool.h:22
PFClusterSelectorTool::retrieveLCCalCellWeight
void retrieveLCCalCellWeight(double energy, unsigned index, std::map< IdentifierHash, double > &cellsWeight, const xAOD::CaloClusterContainer &caloCalClustersContainer, const CaloDetDescrManager &calo_dd_man) const
for EM mode, LC weight for cells are retrieved before doing any subtraction; they will be used after ...
Definition
PFClusterSelectorTool.cxx:89
PFClusterSelectorTool::execute
StatusCode execute(eflowRecClusterContainer &theEFlowRecClusterContainer, xAOD::CaloClusterContainer &theCaloClusterContainer) const
Definition
PFClusterSelectorTool.cxx:32
PFClusterSelectorTool::finalize
StatusCode finalize()
Definition
PFClusterSelectorTool.cxx:84
PFClusterSelectorTool::initialize
StatusCode initialize()
Definition
PFClusterSelectorTool.cxx:15
PFClusterSelectorTool::m_caloClusterReadDecorHandleKeyNLeadingTruthParticles
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_caloClusterReadDecorHandleKeyNLeadingTruthParticles
Read handle key to decorate CaloCluster with threeN leading truth particle uniqueID and energy.
Definition
PFClusterSelectorTool.h:58
PFClusterSelectorTool::m_caloClustersReadHandleKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersReadHandleKey
ReadHandleKey for the CaloClusterContainer to be used as input.
Definition
PFClusterSelectorTool.h:40
PFClusterSelectorTool::PFClusterSelectorTool
PFClusterSelectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition
PFClusterSelectorTool.cxx:10
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
eflowRecClusterContainer
Definition
eflowRecCluster.h:275
eflowRecCluster.h
index
Definition
index.py:1
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0