ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsDataPreparation
src
CollectionDataPreparationAlg.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 ACTSTRK_OBJ_DATA_PREPARATION_ALG_H
6
#define ACTSTRK_OBJ_DATA_PREPARATION_ALG_H
7
8
#include "
details/DataPreparationAlg.h
"
9
10
// EDM
11
#include "
xAODInDetMeasurement/PixelClusterContainer.h
"
12
#include "
xAODInDetMeasurement/PixelClusterAuxContainer.h
"
13
#include "
xAODInDetMeasurement/StripClusterContainer.h
"
14
#include "
xAODInDetMeasurement/StripClusterAuxContainer.h
"
15
#include "
xAODInDetMeasurement/HGTDClusterContainer.h
"
16
#include "
xAODInDetMeasurement/HGTDClusterAuxContainer.h
"
17
#include "
xAODInDetMeasurement/SpacePointContainer.h
"
18
#include "
xAODInDetMeasurement/SpacePointAuxContainer.h
"
19
20
// Det Ele Collections
21
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
22
#include "
HGTD_ReadoutGeometry/HGTD_DetectorElementCollection.h
"
23
24
// Define specializations
25
namespace
ActsTrk
{
26
27
// Pixel Clusters
28
class
PixelClusterDataPreparationAlg
29
:
public
DataPreparationAlg
< xAOD::PixelClusterContainer,
30
InDetDD::SiDetectorElementCollection,
31
false > {
32
public
:
33
using
DataPreparationAlg
<
xAOD::PixelClusterContainer
,
34
InDetDD::SiDetectorElementCollection
,
35
false
>
::DataPreparationAlg
;
36
37
private
:
38
virtual
xAOD::DetectorIDHashType
retrieveDetectorIDHash
(
const
xAOD::PixelCluster
& obj)
const override
;
39
};
40
41
class
PixelClusterCacheDataPreparationAlg
42
:
public
DataPreparationAlg
< xAOD::PixelClusterContainer,
43
InDetDD::SiDetectorElementCollection,
44
true > {
45
public
:
46
using
DataPreparationAlg
<
xAOD::PixelClusterContainer
,
47
InDetDD::SiDetectorElementCollection
,
48
true
>
::DataPreparationAlg
;
49
};
50
51
// Strip Clusters
52
class
StripClusterDataPreparationAlg
53
:
public
DataPreparationAlg
< xAOD::StripClusterContainer,
54
InDetDD::SiDetectorElementCollection,
55
false > {
56
public
:
57
using
DataPreparationAlg
<
xAOD::StripClusterContainer
,
58
InDetDD::SiDetectorElementCollection
,
59
false
>
::DataPreparationAlg
;
60
61
private
:
62
virtual
xAOD::DetectorIDHashType
retrieveDetectorIDHash
(
const
xAOD::StripCluster
& obj)
const override
;
63
};
64
65
class
StripClusterCacheDataPreparationAlg
66
:
public
DataPreparationAlg
< xAOD::StripClusterContainer,
67
InDetDD::SiDetectorElementCollection,
68
true > {
69
public
:
70
using
DataPreparationAlg
<
xAOD::StripClusterContainer
,
71
InDetDD::SiDetectorElementCollection
,
72
true
>
::DataPreparationAlg
;
73
};
74
75
// HGTD Clusters
76
class
HgtdClusterDataPreparationAlg
77
:
public
DataPreparationAlg
< xAOD::HGTDClusterContainer,
78
InDetDD::HGTD_DetectorElementCollection,
79
false > {
80
public
:
81
using
DataPreparationAlg
<
xAOD::HGTDClusterContainer
,
82
InDetDD::HGTD_DetectorElementCollection
,
83
false
>
::DataPreparationAlg
;
84
85
private
:
86
virtual
xAOD::DetectorIDHashType
retrieveDetectorIDHash
(
const
xAOD::HGTDCluster
& obj)
const override
;
87
88
// HGTD does not support regional selection and has no regional selection tool
89
// Se we need to override this function
90
virtual
StatusCode
fetchIdHashes
(
const
EventContext& ctx,
91
std::set<IdentifierHash>& hashes)
const override
;
92
};
93
94
// SpacePoints
95
class
SpacePointDataPreparationAlg
96
:
public
DataPreparationAlg
< xAOD::SpacePointContainer,
97
InDetDD::SiDetectorElementCollection,
98
false> {
99
public
:
100
using
DataPreparationAlg
<
xAOD::SpacePointContainer
,
101
InDetDD::SiDetectorElementCollection
,
102
false
>
::DataPreparationAlg
;
103
104
private
:
105
virtual
xAOD::DetectorIDHashType
retrieveDetectorIDHash
(
const
xAOD::SpacePoint
& obj)
const
;
106
};
107
108
class
SpacePointCacheDataPreparationAlg
109
:
public
DataPreparationAlg
< xAOD::SpacePointContainer,
110
InDetDD::SiDetectorElementCollection,
111
true > {
112
public
:
113
using
DataPreparationAlg
<
xAOD::SpacePointContainer
,
114
InDetDD::SiDetectorElementCollection
,
115
true
>
::DataPreparationAlg
;
116
};
117
118
}
// namespace
119
120
#include "
CollectionDataPreparationAlg.icc
"
121
122
#endif
CollectionDataPreparationAlg.icc
DataPreparationAlg.h
PixelClusterContainer.h
SpacePointContainer.h
HGTDClusterAuxContainer.h
HGTDClusterContainer.h
HGTD_DetectorElementCollection.h
PixelClusterAuxContainer.h
SiDetectorElementCollection.h
SpacePointAuxContainer.h
StripClusterAuxContainer.h
StripClusterContainer.h
ActsTrk::DataPreparationAlg< xAOD::PixelClusterContainer, InDetDD::SiDetectorElementCollection, false >::DataPreparationAlg
DataPreparationAlg(const std::string &name, ISvcLocator *pSvcLocator)
ActsTrk::HgtdClusterDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:79
ActsTrk::HgtdClusterDataPreparationAlg::fetchIdHashes
virtual StatusCode fetchIdHashes(const EventContext &ctx, std::set< IdentifierHash > &hashes) const override
ActsTrk::HgtdClusterDataPreparationAlg::retrieveDetectorIDHash
virtual xAOD::DetectorIDHashType retrieveDetectorIDHash(const xAOD::HGTDCluster &obj) const override
ActsTrk::PixelClusterCacheDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:44
ActsTrk::PixelClusterDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:31
ActsTrk::PixelClusterDataPreparationAlg::retrieveDetectorIDHash
virtual xAOD::DetectorIDHashType retrieveDetectorIDHash(const xAOD::PixelCluster &obj) const override
ActsTrk::SpacePointCacheDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:111
ActsTrk::SpacePointDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:98
ActsTrk::SpacePointDataPreparationAlg::retrieveDetectorIDHash
virtual xAOD::DetectorIDHashType retrieveDetectorIDHash(const xAOD::SpacePoint &obj) const
ActsTrk::StripClusterCacheDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:68
ActsTrk::StripClusterDataPreparationAlg
Definition
CollectionDataPreparationAlg.h:55
ActsTrk::StripClusterDataPreparationAlg::retrieveDetectorIDHash
virtual xAOD::DetectorIDHashType retrieveDetectorIDHash(const xAOD::StripCluster &obj) const override
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
InDetDD::HGTD_DetectorElementCollection
DataVector< HGTD_DetectorElement > HGTD_DetectorElementCollection
Definition
HGTD_DetectorElementCollection.h:20
xAOD::PixelClusterContainer
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelClusterContainer.h:14
xAOD::HGTDClusterContainer
HGTDClusterContainer_v1 HGTDClusterContainer
Define the version of the HGTD cluster container.
Definition
HGTDClusterContainer.h:14
xAOD::StripCluster
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
Definition
StripCluster.h:13
xAOD::SpacePointContainer
SpacePointContainer_v1 SpacePointContainer
Define the version of the space point container.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/SpacePointContainer.h:14
xAOD::SpacePoint
SpacePoint_v1 SpacePoint
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/SpacePoint.h:12
xAOD::StripClusterContainer
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.
Definition
StripClusterContainer.h:14
xAOD::PixelCluster
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelCluster.h:13
xAOD::DetectorIDHashType
unsigned int DetectorIDHashType
@ detector ID element hash
Definition
MeasurementDefs.h:48
xAOD::HGTDCluster
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.
Definition
HGTDCluster.h:13
Generated on
for ATLAS Offline Software by
1.17.0