ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
SiClusterizationTool
SiClusterizationTool
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"
16
#include "
InDetRawData/InDetRawDataCollection.h
"
17
#include "
InDetRawData/SCT_RDORawData.h
"
18
20
#include "
AthAllocators/DataPool.h
"
21
#include "
InDetPrepRawData/SCT_ClusterCollection.h
"
22
class
SCT_ID
;
23
24
class
SCT_ChannelStatusAlg;
25
26
namespace
InDet
{
27
class
SiDetectorElementStatus
;
28
29
struct
SCTClusteringCache
{
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)
33
IdVec_t
currentVector
;
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
41
class
ISCT_ClusteringTool
:
virtual
public
IAlgTool {
42
public
:
44
DeclareInterfaceID
(
ISCT_ClusteringTool
, 1, 0);
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
DataPool.h
InDetRawDataCollection.h
SCT_ClusterCollection.h
SCT_RDORawData.h
DataPool
a typed memory pool that saves time spent allocation small object.
Definition
DataPool.h:63
InDetRawDataCollection
Definition
InDetRawDataCollection.h:31
InDet::ISCT_ClusteringTool
Interface for SCT clustering algorithms, taking input from RDOs.
Definition
ISCT_ClusteringTool.h:41
InDet::ISCT_ClusteringTool::~ISCT_ClusteringTool
virtual ~ISCT_ClusteringTool()=default
Default destructor.
InDet::ISCT_ClusteringTool::clusterize
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...
InDet::ISCT_ClusteringTool::DeclareInterfaceID
DeclareInterfaceID(ISCT_ClusteringTool, 1, 0)
InterfaceID.
InDet::SiDetectorElementStatus
Definition
SiDetectorElementStatus.h:62
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::SCTClusteringCache
Definition
ISCT_ClusteringTool.h:29
InDet::SCTClusteringCache::idGroups
std::vector< IdVec_t > idGroups
Definition
ISCT_ClusteringTool.h:36
InDet::SCTClusteringCache::currentVector
IdVec_t currentVector
Definition
ISCT_ClusteringTool.h:33
InDet::SCTClusteringCache::IdVec_t
std::vector< Identifier > IdVec_t
Definition
ISCT_ClusteringTool.h:30
InDet::SCTClusteringCache::tbinGroups
std::vector< uint16_t > tbinGroups
Definition
ISCT_ClusteringTool.h:37
Generated on
for ATLAS Offline Software by
1.17.0