ATLAS Offline Software
Loading...
Searching...
No Matches
IHGTDClusteringTool.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 ACTSTOOLINTERFACES_IHGTDCLUSTERINGTOOL_H
6#define ACTSTOOLINTERFACES_IHGTDCLUSTERINGTOOL_H
7
8#include <GaudiKernel/IAlgTool.h>
13
14namespace ActsTrk {
15
16class IHGTDClusteringTool : virtual public IAlgTool {
17public:
19
24
25 struct Cluster {
26 std::vector<Identifier::value_type> ids;
27 std::vector<int> tots;
28 std::vector<double> times;
29 };
30 using ClusterCollection = std::vector<Cluster>;
31
32 virtual StatusCode
33 clusterize(const EventContext& ctx,
34 const RawDataCollection& RDOs,
35 std::vector<ClusterCollection>& collection) const = 0;
36
37 virtual StatusCode
38 clusterize(const EventContext& ctx,
40 std::vector<ClusterCollection>& collection) const = 0;
41
42 virtual std::any
44 std::size_t nClusterRDOs) const = 0;
45
46 virtual StatusCode
47 makeClusters(const EventContext& ctx,
48 const ClusterCollection& cluster,
50 size_t& icluster,
51 std::any& cache) const = 0;
52};
53
54}
55
56#endif
57
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
virtual StatusCode clusterize(const EventContext &ctx, const RawDataCollection &RDOs, std::vector< ClusterCollection > &collection) const =0
DeclareInterfaceID(IHGTDClusteringTool, 1, 0)
RDOContainer::base_value_type RawDataCollection
virtual StatusCode makeClusters(const EventContext &ctx, const ClusterCollection &cluster, xAOD::HGTDClusterContainer &container, size_t &icluster, std::any &cache) const =0
virtual StatusCode clusterize(const EventContext &ctx, const HGTD_ALTIROC_RDO_Collection &RDOs, std::vector< ClusterCollection > &collection) const =0
std::vector< Cluster > ClusterCollection
xAOD::HGTDClusterContainer ClusterContainer
xAOD::HGTDClusterAuxContainer ClusterAuxContainer
virtual std::any createEventDataCache(xAOD::HGTDClusterContainer &cont, std::size_t nClusterRDOs) const =0
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.
HGTDClusterAuxContainer_v1 HGTDClusterAuxContainer
Definition of the current HGTD cluster auxiliary container.
std::vector< Identifier::value_type > ids