ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsDataPreparation
src
HgtdClusteringTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
ActsToolInterfaces/IHGTDClusteringTool.h
"
10
11
#include "
HGTD_Identifier/HGTD_ID.h
"
12
#include "
HGTD_ReadoutGeometry/HGTD_DetectorManager.h
"
13
#include "
HGTD_Calibration/HGTD_TdcCalibrationTool.h
"
14
15
namespace
ActsTrk
{
16
17
struct
HgtdAuxDataCache
;
18
class
HgtdClusteringTool
:
public
extends<AthAlgTool, IHGTDClusteringTool> {
19
public
:
20
using
Cluster
=
IHGTDClusteringTool::Cluster
;
21
using
ClusterCollection
=
IHGTDClusteringTool::ClusterCollection
;
22
23
HgtdClusteringTool
(
const
std::string&
type
,
24
const
std::string& name,
25
const
IInterface* parent);
26
27
virtual
StatusCode
initialize
()
override
;
28
29
virtual
std::any
createEventDataCache
(
xAOD::HGTDClusterContainer
& cont,
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,
37
const
HGTD_ALTIROC_RDO_Collection
& RDOs,
38
std::vector<ClusterCollection>& collection)
const override
;
39
40
virtual
StatusCode
makeClusters
(
const
EventContext& ctx,
41
const
ClusterCollection
& clusters,
42
xAOD::HGTDClusterContainer
& container,
43
size_t
& icluster,
44
std::any& cache)
const override
;
45
private
:
46
StatusCode
makeCluster
(
const
EventContext&
/*ctx*/
,
47
const
typename
HgtdClusteringTool::Cluster
&cluster,
48
xAOD::HGTDCluster
& xaodcluster,
49
HgtdAuxDataCache
*cache)
const
;
50
51
const
HGTD_DetectorManager
*
m_hgtd_det_mgr
{
nullptr
};
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
AthAlgTool.h
HGTD_DetectorManager.h
HGTD_ID.h
HGTD_TdcCalibrationTool.h
IHGTDClusteringTool.h
ActsTrk::HgtdClusteringTool::m_hgtd_det_mgr
const HGTD_DetectorManager * m_hgtd_det_mgr
Definition
HgtdClusteringTool.h:51
ActsTrk::HgtdClusteringTool::m_hgtd_tdc_calib_tool
ToolHandle< HGTD_TdcCalibrationTool > m_hgtd_tdc_calib_tool
Definition
HgtdClusteringTool.h:52
ActsTrk::HgtdClusteringTool::Cluster
IHGTDClusteringTool::Cluster Cluster
Definition
HgtdClusteringTool.h:20
ActsTrk::HgtdClusteringTool::clusterize
virtual StatusCode clusterize(const EventContext &ctx, const RawDataCollection &RDOs, std::vector< ClusterCollection > &collection) const override
Definition
HgtdClusteringTool.cxx:31
ActsTrk::HgtdClusteringTool::makeCluster
StatusCode makeCluster(const EventContext &, const typename HgtdClusteringTool::Cluster &cluster, xAOD::HGTDCluster &xaodcluster, HgtdAuxDataCache *cache) const
Definition
HgtdClusteringTool.cxx:68
ActsTrk::HgtdClusteringTool::createEventDataCache
virtual std::any createEventDataCache(xAOD::HGTDClusterContainer &cont, std::size_t nClusterRDOs) const override
Definition
HgtdClusteringTool.cxx:27
ActsTrk::HgtdClusteringTool::makeClusters
virtual StatusCode makeClusters(const EventContext &ctx, const ClusterCollection &clusters, xAOD::HGTDClusterContainer &container, size_t &icluster, std::any &cache) const override
Definition
HgtdClusteringTool.cxx:50
ActsTrk::HgtdClusteringTool::initialize
virtual StatusCode initialize() override
Definition
HgtdClusteringTool.cxx:17
ActsTrk::HgtdClusteringTool::ClusterCollection
IHGTDClusteringTool::ClusterCollection ClusterCollection
Definition
HgtdClusteringTool.h:21
ActsTrk::HgtdClusteringTool::m_use_altiroc_rdo
BooleanProperty m_use_altiroc_rdo
Definition
HgtdClusteringTool.h:56
ActsTrk::HgtdClusteringTool::HgtdClusteringTool
HgtdClusteringTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
HgtdClusteringTool.cxx:11
ActsTrk::IHGTDClusteringTool::ClusterCollection
std::vector< Cluster > ClusterCollection
Definition
IHGTDClusteringTool.h:30
HGTD_ALTIROC_RDO_Collection
Definition
HGTD_ALTIROC_RDO_Collection.h:20
HGTD_DetectorManager
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detect...
Definition
HGTD_DetectorManager.h:42
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
xAOD::HGTDClusterContainer
HGTDClusterContainer_v1 HGTDClusterContainer
Define the version of the HGTD cluster container.
Definition
HGTDClusterContainer.h:14
xAOD::HGTDCluster
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.
Definition
HGTDCluster.h:13
ActsTrk::HgtdAuxDataCache
Definition
HgtdAuxDataCache.h:9
ActsTrk::IHGTDClusteringTool::Cluster
Definition
IHGTDClusteringTool.h:25
type
Generated on
for ATLAS Offline Software by
1.17.0