ATLAS Offline Software
Loading...
Searching...
No Matches
HgtdClusterizationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_DATAPREPARATION_HGTD_CLUSTERIZATIONALG_H
6#define ACTSTRK_DATAPREPARATION_HGTD_CLUSTERIZATIONALG_H
7
10#include "GaudiKernel/ToolHandle.h"
13
18
19namespace ActsTrk {
20
22 : public AthReentrantAlgorithm {
23public:
24 HgtdClusterizationAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~HgtdClusterizationAlg() override = default;
26
27 virtual StatusCode initialize() override;
28 virtual StatusCode execute(const EventContext& ctx) const override;
29 virtual StatusCode finalize() override;
30
31private:
32 ToolHandle< IHGTDClusteringTool > m_clusteringTool {this, "ClusteringTool", "", "The Clustering Tool"};
33 ToolHandle< GenericMonitoringTool > m_monTool {this, "MonTool", "", "Monitoring tool"};
34
35 SG::ReadHandleKey<HGTD_RDO_Container> m_rdoContainerKey{this, "RDOContainerName", "", "Name of the HGTD_RDO container"};
36 SG::WriteHandleKey<xAOD::HGTDClusterContainer> m_clusterContainerKey{this, "ClusterContainerName", "", "Name of the HGTD cluster container"};
37
38private:
44
45 mutable std::array<std::atomic<unsigned int>, kNStat> m_stat ATLAS_THREAD_SAFE {};
46};
47
48} // namespace ActsTrk
49
50#endif
51
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteHandleKey< xAOD::HGTDClusterContainer > m_clusterContainerKey
virtual ~HgtdClusterizationAlg() override=default
SG::ReadHandleKey< HGTD_RDO_Container > m_rdoContainerKey
std::array< std::atomic< unsigned int >, kNStat > m_stat ATLAS_THREAD_SAFE
virtual StatusCode execute(const EventContext &ctx) const override
HgtdClusterizationAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize() override
ToolHandle< IHGTDClusteringTool > m_clusteringTool
virtual StatusCode initialize() override
ToolHandle< GenericMonitoringTool > m_monTool
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...