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"
14
19
20namespace ActsTrk {
21
23 : public AthReentrantAlgorithm {
24public:
25 HgtdClusterizationAlg(const std::string& name, ISvcLocator* pSvcLocator);
26 virtual ~HgtdClusterizationAlg() override = default;
27
28 virtual StatusCode initialize() override;
29 virtual StatusCode execute(const EventContext& ctx) const override;
30 virtual StatusCode finalize() override;
31
32private:
33 ToolHandle< IHGTDClusteringTool > m_clusteringTool {this, "ClusteringTool", "", "The Clustering Tool"};
34 ToolHandle< GenericMonitoringTool > m_monTool {this, "MonTool", "", "Monitoring tool"};
35
36 SG::ReadHandleKey<HGTD_RDO_Container> m_rdoContainerKey{this, "RDOContainerName", "", "Name of the HGTD_RDO container"};
37 SG::ReadHandleKey<HGTD_ALTIROC_RDO_Container> m_altiroc_rdo_rh_key{this, "AltirocRDOContainerName", "", "Name of the HGTD_ALTIROC_RDO container"};
38 SG::WriteHandleKey<xAOD::HGTDClusterContainer> m_clusterContainerKey{this, "ClusterContainerName", "", "Name of the HGTD cluster container"};
39
40 BooleanProperty m_use_altiroc_rdo{this, "useALTIROC_RDO", false, "Use Altiroc RDO instead of standard"};
41
42private:
48
49 mutable std::array<std::atomic<unsigned int>, kNStat> m_stat ATLAS_THREAD_SAFE {};
50};
51
52} // namespace ActsTrk
53
54#endif
55
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
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
SG::ReadHandleKey< HGTD_ALTIROC_RDO_Container > m_altiroc_rdo_rh_key
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...