ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsToolInterfaces
ActsToolInterfaces
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>
9
#include <
HGTD_RawData/HGTD_RDO_Container.h
>
10
#include <
HGTD_RawData/HGTD_ALTIROC_RDO_Container.h
>
11
#include <
xAODInDetMeasurement/HGTDClusterContainer.h
>
12
#include "
xAODInDetMeasurement/HGTDClusterAuxContainer.h
"
13
14
namespace
ActsTrk
{
15
16
class
IHGTDClusteringTool
:
virtual
public
IAlgTool {
17
public
:
18
DeclareInterfaceID
(
IHGTDClusteringTool
, 1, 0);
19
20
using
RDOContainer
=
HGTD_RDO_Container
;
21
using
RawDataCollection
=
RDOContainer::base_value_type
;
22
using
ClusterContainer
=
xAOD::HGTDClusterContainer
;
23
using
ClusterAuxContainer
=
xAOD::HGTDClusterAuxContainer
;
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,
39
const
HGTD_ALTIROC_RDO_Collection
& RDOs,
40
std::vector<ClusterCollection>& collection)
const
= 0;
41
42
virtual
std::any
43
createEventDataCache
(
xAOD::HGTDClusterContainer
& cont,
44
std::size_t nClusterRDOs)
const
= 0;
45
46
virtual
StatusCode
47
makeClusters
(
const
EventContext& ctx,
48
const
ClusterCollection
& cluster,
49
xAOD::HGTDClusterContainer
& container,
50
size_t
& icluster,
51
std::any& cache)
const
= 0;
52
};
53
54
}
55
56
#endif
57
HGTDClusterAuxContainer.h
HGTDClusterContainer.h
HGTD_ALTIROC_RDO_Container.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
HGTD_RDO_Container.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
ActsTrk::IHGTDClusteringTool
Definition
IHGTDClusteringTool.h:16
ActsTrk::IHGTDClusteringTool::clusterize
virtual StatusCode clusterize(const EventContext &ctx, const RawDataCollection &RDOs, std::vector< ClusterCollection > &collection) const =0
ActsTrk::IHGTDClusteringTool::DeclareInterfaceID
DeclareInterfaceID(IHGTDClusteringTool, 1, 0)
ActsTrk::IHGTDClusteringTool::RawDataCollection
RDOContainer::base_value_type RawDataCollection
Definition
IHGTDClusteringTool.h:21
ActsTrk::IHGTDClusteringTool::makeClusters
virtual StatusCode makeClusters(const EventContext &ctx, const ClusterCollection &cluster, xAOD::HGTDClusterContainer &container, size_t &icluster, std::any &cache) const =0
ActsTrk::IHGTDClusteringTool::clusterize
virtual StatusCode clusterize(const EventContext &ctx, const HGTD_ALTIROC_RDO_Collection &RDOs, std::vector< ClusterCollection > &collection) const =0
ActsTrk::IHGTDClusteringTool::ClusterCollection
std::vector< Cluster > ClusterCollection
Definition
IHGTDClusteringTool.h:30
ActsTrk::IHGTDClusteringTool::ClusterContainer
xAOD::HGTDClusterContainer ClusterContainer
Definition
IHGTDClusteringTool.h:22
ActsTrk::IHGTDClusteringTool::ClusterAuxContainer
xAOD::HGTDClusterAuxContainer ClusterAuxContainer
Definition
IHGTDClusteringTool.h:23
ActsTrk::IHGTDClusteringTool::createEventDataCache
virtual std::any createEventDataCache(xAOD::HGTDClusterContainer &cont, std::size_t nClusterRDOs) const =0
ActsTrk::IHGTDClusteringTool::RDOContainer
HGTD_RDO_Container RDOContainer
Definition
IHGTDClusteringTool.h:20
HGTD_ALTIROC_RDO_Collection
Definition
HGTD_ALTIROC_RDO_Collection.h:20
HGTD_RDO_Container
Definition
HGTD_RDO_Container.h:18
IdentifiableContainerMT::base_value_type
T base_value_type
Definition
IdentifiableContainerMT.h:78
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::HGTDClusterAuxContainer
HGTDClusterAuxContainer_v1 HGTDClusterAuxContainer
Definition of the current HGTD cluster auxiliary container.
Definition
HGTDClusterAuxContainer.h:14
ActsTrk::IHGTDClusteringTool::Cluster
Definition
IHGTDClusteringTool.h:25
ActsTrk::IHGTDClusteringTool::Cluster::tots
std::vector< int > tots
Definition
IHGTDClusteringTool.h:27
ActsTrk::IHGTDClusteringTool::Cluster::times
std::vector< double > times
Definition
IHGTDClusteringTool.h:28
ActsTrk::IHGTDClusteringTool::Cluster::ids
std::vector< Identifier::value_type > ids
Definition
IHGTDClusteringTool.h:26
Generated on
for ATLAS Offline Software by
1.17.0