ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetMeasurementUtilities
InDetMeasurementUtilities
ClusterConversionUtilities.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CLUSTER_CONVERSION_UTILITIES_H
6
#define CLUSTER_CONVERSION_UTILITIES_H
7
8
#include "
InDetPrepRawData/PixelCluster.h
"
9
#include "
InDetPrepRawData/SCT_Cluster.h
"
10
#include "
HGTD_PrepRawData/HGTD_Cluster.h
"
11
12
#include "
xAODInDetMeasurement/PixelCluster.h
"
13
#include "
xAODInDetMeasurement/StripCluster.h
"
14
#include "
xAODInDetMeasurement/HGTDCluster.h
"
15
16
#include "
SCT_ReadoutGeometry/SCT_ModuleSideDesign.h
"
17
#include "
PixelReadoutGeometry/PixelModuleDesign.h
"
18
19
20
#include <memory>
21
22
class
PixelID
;
23
class
SCT_ID
;
24
class
HGTD_ID
;
25
class
SiDetectorElement
;
26
namespace
InDetDD
{
27
class
HGTD_DetectorElement
;
28
}
29
30
namespace
TrackingUtilities
{
31
32
StatusCode
convertInDetToXaodCluster
(
const
InDet::PixelCluster
& indetCluster,
33
const
InDetDD::SiDetectorElement
& element,
34
xAOD::PixelCluster
& xaodCluster);
35
36
StatusCode
convertInDetToXaodCluster
(
const
InDet::SCT_Cluster
& indetCluster,
37
const
InDetDD::SiDetectorElement
& element,
38
xAOD::StripCluster
& xaodCluster,
39
bool
isITk =
true
);
40
45
const
InDetDD::PixelModuleDesign
*
pixelModuleDesign
(
const
InDetDD::SiDetectorElement
& element);
46
const
InDetDD::SCT_ModuleSideDesign
*
stripModuleSideDesign
(
const
InDetDD::SiDetectorElement
& element);
47
48
std::unique_ptr<InDet::PixelCluster>
49
convertXaodToInDetCluster
(
const
xAOD::PixelCluster
& xaodCluster,
50
const
InDetDD::SiDetectorElement
& element,
51
const
InDetDD::PixelModuleDesign
& design,
52
const
PixelID
& pixelID);
53
54
std::unique_ptr<InDet::SCT_Cluster>
55
convertXaodToInDetCluster
(
const
xAOD::StripCluster
& xaodCluster,
56
const
InDetDD::SiDetectorElement
& element,
const
InDetDD::SCT_ModuleSideDesign
& design,
57
const
SCT_ID
& stripID,
double
shift = 0.);
58
59
// HGTD
60
StatusCode
61
convertInDetToXaodCluster
(const ::HGTD_Cluster& indetCluster,
const
InDetDD::HGTD_DetectorElement
& element,
xAOD::HGTDCluster
& xaodCluster);
62
63
std::unique_ptr<::HGTD_Cluster>
64
convertXaodToInDetCluster
(
const
xAOD::HGTDCluster
& xaodCluster,
const
InDetDD::HGTD_DetectorElement
& element);
65
66
// Low level conversion for SCT cluster pulled out for use in calibrator
67
std::pair<xAOD::MeasVector<1>,
xAOD::MeasMatrix<1>
>
convertSCT_LocalPosCov
(
const
InDet::SCT_Cluster
&cluster,
bool
isITk =
true
);
68
std::pair<xAOD::MeasVector<2>,
xAOD::MeasMatrix<2>
>
convertPix_LocalPosCov
(
const
InDet::PixelCluster
&cluster);
69
std::pair<xAOD::MeasVector<3>,
xAOD::MeasMatrix<3>
>
convertHGTD_LocalPosCov
(
const
HGTD_Cluster
&cluster);
70
}
// Namespace
71
72
#endif
PixelCluster.h
HGTDCluster.h
HGTD_Cluster.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
PixelCluster.h
PixelModuleDesign.h
SCT_Cluster.h
SCT_ModuleSideDesign.h
StripCluster.h
HGTD_Cluster
Definition
HGTD_Cluster.h:38
HGTD_ID
This is an Identifier helper class for the HGTD subdetector.
Definition
HGTD_ID.h:47
InDetDD::HGTD_DetectorElement
Class to hold geometrical description of an HGTD detector element.
Definition
HGTD_DetectorElement.h:40
InDetDD::PixelModuleDesign
Class used to describe the design of a module (diode segmentation and readout scheme).
Definition
PixelModuleDesign.h:45
InDetDD::SCT_ModuleSideDesign
Base class for the SCT module side design, extended by the Forward and Barrel module design.
Definition
SCT_ModuleSideDesign.h:40
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDet::PixelCluster
Definition
InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h:49
InDet::SCT_Cluster
Definition
SCT_Cluster.h:34
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
TrackingUtilities
Definition
ClusterConversionUtilities.h:30
TrackingUtilities::convertSCT_LocalPosCov
std::pair< xAOD::MeasVector< 1 >, xAOD::MeasMatrix< 1 > > convertSCT_LocalPosCov(const InDet::SCT_Cluster &cluster, bool isITk=true)
Definition
ClusterConversionUtilities.cxx:108
TrackingUtilities::convertPix_LocalPosCov
std::pair< xAOD::MeasVector< 2 >, xAOD::MeasMatrix< 2 > > convertPix_LocalPosCov(const InDet::PixelCluster &cluster)
Definition
ClusterConversionUtilities.cxx:65
TrackingUtilities::pixelModuleDesign
const InDetDD::PixelModuleDesign * pixelModuleDesign(const InDetDD::SiDetectorElement &element)
Resolve the readout design of a pixel/strip detector element.
Definition
ClusterConversionUtilities.cxx:155
TrackingUtilities::convertInDetToXaodCluster
StatusCode convertInDetToXaodCluster(const InDet::PixelCluster &indetCluster, const InDetDD::SiDetectorElement &element, xAOD::PixelCluster &xaodCluster)
Definition
ClusterConversionUtilities.cxx:79
TrackingUtilities::stripModuleSideDesign
const InDetDD::SCT_ModuleSideDesign * stripModuleSideDesign(const InDetDD::SiDetectorElement &element)
Definition
ClusterConversionUtilities.cxx:160
TrackingUtilities::convertHGTD_LocalPosCov
std::pair< xAOD::MeasVector< 3 >, xAOD::MeasMatrix< 3 > > convertHGTD_LocalPosCov(const HGTD_Cluster &cluster)
Definition
ClusterConversionUtilities.cxx:26
TrackingUtilities::convertXaodToInDetCluster
std::unique_ptr< InDet::PixelCluster > convertXaodToInDetCluster(const xAOD::PixelCluster &xaodCluster, const InDetDD::SiDetectorElement &element, const InDetDD::PixelModuleDesign &design, const PixelID &pixelID)
Definition
ClusterConversionUtilities.cxx:169
xAOD::StripCluster
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
Definition
StripCluster.h:13
xAOD::MeasMatrix
Eigen::Matrix< float, N, N > MeasMatrix
Definition
MeasurementDefs.h:60
xAOD::PixelCluster
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelCluster.h:13
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