ATLAS Offline Software
Loading...
Searching...
No Matches
ISCT_ClusteringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef SICLUSTERIZATIONTOOL_ISCT_CLUSTERINGTOOL_H
12#define SICLUSTERIZATIONTOOL_ISCT_CLUSTERINGTOOL_H
13
15#include "GaudiKernel/IAlgTool.h"
18
22class SCT_ID;
23
24class SCT_ChannelStatusAlg;
25
26namespace InDet {
28
30 using IdVec_t = std::vector<Identifier>;
31 // Vector of identifiers in a cluster (most likely is that there is one strip
32 // in the cluster)
34 // Vector of clusters to make the cluster collection (most likely equal to
35 // collection size)
36 std::vector<IdVec_t> idGroups;
37 std::vector<uint16_t> tbinGroups;
38};
39
41class ISCT_ClusteringTool : virtual public IAlgTool {
42 public:
45
47 virtual ~ISCT_ClusteringTool() = default;
48
58 virtual SCT_ClusterCollection* clusterize(
59 const InDetRawDataCollection<SCT_RDORawData>& rdoCollection,
60 const SCT_ID& idHelper,
61 const InDet::SiDetectorElementStatus* sctDetElementStatus,
62 SCTClusteringCache& cache, DataPool<SCT_Cluster>* dataItemsPool,
63 const EventContext& ctx) const = 0;
64};
65} // namespace InDet
66
67#endif // SICLUSTERIZATIONTOOL_I_SCT_CLUSTERINGALG_H
a typed memory pool that saves time spent allocation small object.
Definition DataPool.h:63
Interface for SCT clustering algorithms, taking input from RDOs.
virtual ~ISCT_ClusteringTool()=default
Default destructor.
virtual SCT_ClusterCollection * clusterize(const InDetRawDataCollection< SCT_RDORawData > &rdoCollection, const SCT_ID &idHelper, const InDet::SiDetectorElementStatus *sctDetElementStatus, SCTClusteringCache &cache, DataPool< SCT_Cluster > *dataItemsPool, const EventContext &ctx) const =0
Clusterize a collection of SCT raw data objects Called from SCT_clusterization algorithm in InDetPrep...
DeclareInterfaceID(ISCT_ClusteringTool, 1, 0)
InterfaceID.
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Primary Vertex Finder.
std::vector< IdVec_t > idGroups
std::vector< Identifier > IdVec_t
std::vector< uint16_t > tbinGroups