ATLAS Offline Software
Loading...
Searching...
No Matches
PFClusterSelectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef PFCLUSTERSELECTORTOOL_H
5#define PFCLUSTERSELECTORTOOL_H
6
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
25 StatusCode initialize();
26 StatusCode execute(eflowRecClusterContainer& theEFlowRecClusterContainer,
27 xAOD::CaloClusterContainer& theCaloClusterContainer) const;
28 StatusCode finalize();
29
30private:
34 const double& energy,
35 const unsigned& index,
36 std::map<IdentifierHash, double>& cellsWeight,
37 const xAOD::CaloClusterContainer& caloCalClustersContainer,
38 const CaloDetDescrManager& calo_dd_man) const;
39
42 this,
43 "clustersName",
44 "CaloTopoClusters",
45 "ReadHandleKey for the CaloClusterContainer to be used as input"
46 };
47
51 this,
52 "calClustersName",
53 "CaloCalTopoClusters",
54 "ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as "
55 "input"
56 };
57
60
63 this,
64 "CaloDetDescrManager",
65 "CaloDetDescrManager",
66 "SG Key for CaloDetDescrManager in the Condition Store"
67 };
68};
69#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.
void retrieveLCCalCellWeight(const double &energy, const 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 ...
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloCalClustersReadHandleKey
ReadHandleKey for the CaloClusterContainer, at LC scale, to be used as input.
~PFClusterSelectorTool()
Default destructor.
StatusCode execute(eflowRecClusterContainer &theEFlowRecClusterContainer, xAOD::CaloClusterContainer &theCaloClusterContainer) const
StatusCode initialize()
Gaudi AthAlgorithm hooks.
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.