ATLAS Offline Software
Loading...
Searching...
No Matches
HgtdClusteringTool.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_CLUSTERING_TOOL_H
6#define ACTSTRK_DATAPREPARATION_HGTD_CLUSTERING_TOOL_H
7
10
14
15namespace ActsTrk {
16
18class HgtdClusteringTool : public extends<AthAlgTool, IHGTDClusteringTool> {
19public:
22
23 HgtdClusteringTool(const std::string& type,
24 const std::string& name,
25 const IInterface* parent);
26
27 virtual StatusCode initialize() override;
28
30 std::size_t nClusterRDOs) const override;
31
32 virtual StatusCode clusterize(const EventContext& ctx,
33 const RawDataCollection& RDOs,
34 std::vector<ClusterCollection>& collection) const override;
35
36 virtual StatusCode clusterize(const EventContext& ctx,
38 std::vector<ClusterCollection>& collection) const override;
39
40 virtual StatusCode makeClusters(const EventContext& ctx,
41 const ClusterCollection& clusters,
43 size_t& icluster,
44 std::any& cache) const override;
45private:
46 StatusCode makeCluster(const EventContext& /*ctx*/,
47 const typename HgtdClusteringTool::Cluster &cluster,
48 xAOD::HGTDCluster& xaodcluster,
49 HgtdAuxDataCache*cache) const;
50
52 ToolHandle<HGTD_TdcCalibrationTool> m_hgtd_tdc_calib_tool{this,
53 "HGTD_TdcCalibrationTool","HGTD_TdcCalibrationTool",
54 "Tool that that access TOA TDC calibration and retrieves time of arrival"};
55
56 BooleanProperty m_use_altiroc_rdo{this, "useALTIROC_RDO",
57 false, "Use Altiroc RDO instead of standard"};
58};
59
60}
61
62#endif
63
const HGTD_DetectorManager * m_hgtd_det_mgr
ToolHandle< HGTD_TdcCalibrationTool > m_hgtd_tdc_calib_tool
IHGTDClusteringTool::Cluster Cluster
virtual StatusCode clusterize(const EventContext &ctx, const RawDataCollection &RDOs, std::vector< ClusterCollection > &collection) const override
StatusCode makeCluster(const EventContext &, const typename HgtdClusteringTool::Cluster &cluster, xAOD::HGTDCluster &xaodcluster, HgtdAuxDataCache *cache) const
virtual std::any createEventDataCache(xAOD::HGTDClusterContainer &cont, std::size_t nClusterRDOs) const override
virtual StatusCode makeClusters(const EventContext &ctx, const ClusterCollection &clusters, xAOD::HGTDClusterContainer &container, size_t &icluster, std::any &cache) const override
virtual StatusCode initialize() override
IHGTDClusteringTool::ClusterCollection ClusterCollection
HgtdClusteringTool(const std::string &type, const std::string &name, const IInterface *parent)
std::vector< Cluster > ClusterCollection
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detect...
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
HGTDClusterContainer_v1 HGTDClusterContainer
Define the version of the HGTD cluster container.
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.
Definition HGTDCluster.h:13