ATLAS Offline Software
AFPSiCluster.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTER_H
5 #define AFP_SICLUSTERTOOLS_AFPSICLUSTER_H
6 
7 // Framework includes
9 #include "GaudiKernel/ToolHandle.h"
10 #include "AthenaKernel/errorcheck.h" // CHECK( )
12 
13 // STL includes
14 #include <string>
15 
19 
20 
22 public:
23  AFPSiCluster(const std::string& name, ISvcLocator* pSvcLocator);
24  virtual ~AFPSiCluster() override;
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute(const EventContext& ctx) const override;
28  virtual StatusCode finalize() override;
29 
30 private:
31  SG::WriteHandleKey<xAOD::AFPSiHitsClusterContainer> m_clusterContainerKey{this, "AFPSiHitsClusterContainerKey", "AFPSiHitsClusterContainer", "name of AFPSiHitsCluster container"};
32 
33  // Tool that does the clustering
34  ToolHandle<IAFPSiClusterTool> m_clusterRecoTool{this, "clusterRecoTool", "", "AFP cluster reco tool"};
35 };
36 
37 #endif // AFP_SICLUSTERTOOLS_AFPSICLUSTER_H
AFPSiCluster
Definition: AFPSiCluster.h:21
AFPSiCluster::finalize
virtual StatusCode finalize() override
Definition: AFPSiCluster.cxx:34
AthMsgStreamMacros.h
AFPSiCluster::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: AFPSiCluster.cxx:39
AFPSiCluster::~AFPSiCluster
virtual ~AFPSiCluster() override
Definition: AFPSiCluster.cxx:12
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AFPSiCluster::m_clusterRecoTool
ToolHandle< IAFPSiClusterTool > m_clusterRecoTool
Definition: AFPSiCluster.h:34
AFPSiHitsClusterContainer.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
errorcheck.h
Helpers for checking error return status codes and reporting errors.
IAFPSiClusterTool.h
Header file for interface IAFPSiClusterTool.
AFPSiHitsClusterAuxContainer.h
AFPSiCluster::m_clusterContainerKey
SG::WriteHandleKey< xAOD::AFPSiHitsClusterContainer > m_clusterContainerKey
Definition: AFPSiCluster.h:31
AFPSiCluster::initialize
virtual StatusCode initialize() override
Definition: AFPSiCluster.cxx:16
AFPSiCluster::AFPSiCluster
AFPSiCluster(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AFPSiCluster.cxx:7