ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterMatchLinkAlg.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// CaloClusterMatchLinkAlg.h
8// Header file for class CaloClusterMatchLinkAlg
9// Author: S.Binet<binet@cern.ch>
11#ifndef CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H
12#define CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H 1
13
14// STL includes
15#include <string>
16
17// FrameWork includes
19
20#include "AsgTools/ToolHandle.h"
24
25namespace ClusterMatching {
28 {
29
31 // Public methods:
33 public:
35 using AthReentrantAlgorithm::AthReentrantAlgorithm;
36
39
40 // Athena algorithm's Hooks
41 virtual StatusCode initialize();
42 virtual StatusCode execute(const EventContext& ctx) const;
43 virtual StatusCode finalize();
44
45 private:
46
47 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clusterKey{this,"ClustersToDecorate","","The input CaloClusterContainer to match to CaloCalTopoClusters"};
48 Gaudi::Property<bool> m_useLeadCellEtaPhi{this,"UseLeadCellEtaPhi",false};
49 Gaudi::Property<int> m_clusterSortMethod{this,"ClusterSortMethod",(int)MatchedE};
50 ToolHandle<ICaloClusterMatchingTool> m_clusterMatch{this,"ClusterMatchTool","ClusterMatching::CaloClusterMatchingTool/CaloClusterMatch","Tool for the acutal matching"};
51
52 //The decorator
54 this,
55 "ElementLinkName",
57 "constituentClusterLinks"
58 };
59
60 };
61}
62
63#endif //> !CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< ICaloClusterMatchingTool > m_clusterMatch
virtual StatusCode execute(const EventContext &ctx) const
virtual ~CaloClusterMatchLinkAlg()
Destructor:
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_elementLinkName
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
setRawEt setRawPhi int