ATLAS Offline Software
Loading...
Searching...
No Matches
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
10#include "eflowRecCluster.h"
11#include "GaudiKernel/ToolHandle.h"
13
14#include <map>
15
16class PFClusterSelectorTool : public extends<AthAlgTool, IPFClusterSelectorTool> {
17
18public:
20 PFClusterSelectorTool(const std::string& type,const std::string& name,const IInterface* parent);
23
24 StatusCode initialize();
25 StatusCode execute(eflowRecClusterContainer& theEFlowRecClusterContainer,
26 xAOD::CaloClusterContainer& theCaloClusterContainer) const;
27 StatusCode finalize();
28
29private:
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
41 this,
42 "clustersName",
43 "CaloTopoClusters",
44 "ReadHandleKey for the CaloClusterContainer to be used as input"
45 };
46
50 this,
51 "calClustersName",
52 "CaloCalTopoClusters",
53 "ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as "
54 "input"
55 };
56
59
62 this,
63 "CaloDetDescrManager",
64 "CaloDetDescrManager",
65 "SG Key for CaloDetDescrManager in the Condition Store"
66 };
67};
68#endif
Definition of CaloDetDescrManager.
This class provides the client interface for accessing the detector description information common to...
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ReadCondHandleKey for CaloDetDescrManager.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloCalClustersReadHandleKey
ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as input.
~PFClusterSelectorTool()
Default destructor.
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 ...
StatusCode execute(eflowRecClusterContainer &theEFlowRecClusterContainer, xAOD::CaloClusterContainer &theCaloClusterContainer) const
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_caloClusterReadDecorHandleKeyNLeadingTruthParticles
Read handle key to decorate CaloCluster with threeN leading truth particle uniqueID and energy.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersReadHandleKey
ReadHandleKey for the CaloClusterContainer to be used as input.
PFClusterSelectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition index.py:1
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.