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
27
namespace
TrackingUtilities
{
28
29
StatusCode
convertInDetToXaodCluster
(
const
InDet::PixelCluster
& indetCluster,
30
const
InDetDD::SiDetectorElement
& element,
31
xAOD::PixelCluster
& xaodCluster);
32
33
StatusCode
convertInDetToXaodCluster
(
const
InDet::SCT_Cluster
& indetCluster,
34
const
InDetDD::SiDetectorElement
& element,
35
xAOD::StripCluster
& xaodCluster,
36
bool
isITk =
true
);
37
42
const
InDetDD::PixelModuleDesign
*
pixelModuleDesign
(
const
InDetDD::SiDetectorElement
& element);
43
const
InDetDD::SCT_ModuleSideDesign
*
stripModuleSideDesign
(
const
InDetDD::SiDetectorElement
& element);
44
45
std::unique_ptr<InDet::PixelCluster>
46
convertXaodToInDetCluster
(
const
xAOD::PixelCluster
& xaodCluster,
47
const
InDetDD::SiDetectorElement
& element,
48
const
InDetDD::PixelModuleDesign
& design,
49
const
PixelID
& pixelID);
50
51
std::unique_ptr<InDet::SCT_Cluster>
52
convertXaodToInDetCluster
(
const
xAOD::StripCluster
& xaodCluster,
53
const
InDetDD::SiDetectorElement
& element,
const
InDetDD::SCT_ModuleSideDesign
& design,
54
const
SCT_ID
& stripID,
double
shift = 0.);
55
56
// HGTD
57
StatusCode
58
convertInDetToXaodCluster
(const ::HGTD_Cluster& indetCluster,
const
InDetDD::HGTD_DetectorElement
& element,
xAOD::HGTDCluster
& xaodCluster);
59
60
std::unique_ptr<::HGTD_Cluster>
61
convertXaodToInDetCluster
(
const
xAOD::HGTDCluster
& xaodCluster,
const
InDetDD::HGTD_DetectorElement
& element);
62
63
// Low level conversion for SCT cluster pulled out for use in calibrator
64
std::pair<xAOD::MeasVector<1>,
xAOD::MeasMatrix<1>
>
convertSCT_LocalPosCov
(
const
InDet::SCT_Cluster
&cluster,
bool
isITk =
true
);
65
std::pair<xAOD::MeasVector<2>,
xAOD::MeasMatrix<2>
>
convertPix_LocalPosCov
(
const
InDet::PixelCluster
&cluster);
66
std::pair<xAOD::MeasVector<3>,
xAOD::MeasMatrix<3>
>
convertHGTD_LocalPosCov
(
const
HGTD_Cluster
&cluster);
67
}
// Namespace
68
69
#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:35
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
TrackingUtilities
Definition
ClusterConversionUtilities.h:27
TrackingUtilities::convertSCT_LocalPosCov
std::pair< xAOD::MeasVector< 1 >, xAOD::MeasMatrix< 1 > > convertSCT_LocalPosCov(const InDet::SCT_Cluster &cluster, bool isITk=true)
Definition
ClusterConversionUtilities.cxx:107
TrackingUtilities::convertPix_LocalPosCov
std::pair< xAOD::MeasVector< 2 >, xAOD::MeasMatrix< 2 > > convertPix_LocalPosCov(const InDet::PixelCluster &cluster)
Definition
ClusterConversionUtilities.cxx:64
TrackingUtilities::pixelModuleDesign
const InDetDD::PixelModuleDesign * pixelModuleDesign(const InDetDD::SiDetectorElement &element)
Resolve the readout design of a pixel/strip detector element.
Definition
ClusterConversionUtilities.cxx:154
TrackingUtilities::convertInDetToXaodCluster
StatusCode convertInDetToXaodCluster(const InDet::PixelCluster &indetCluster, const InDetDD::SiDetectorElement &element, xAOD::PixelCluster &xaodCluster)
Definition
ClusterConversionUtilities.cxx:78
TrackingUtilities::stripModuleSideDesign
const InDetDD::SCT_ModuleSideDesign * stripModuleSideDesign(const InDetDD::SiDetectorElement &element)
Definition
ClusterConversionUtilities.cxx:159
TrackingUtilities::convertHGTD_LocalPosCov
std::pair< xAOD::MeasVector< 3 >, xAOD::MeasMatrix< 3 > > convertHGTD_LocalPosCov(const HGTD_Cluster &cluster)
Definition
ClusterConversionUtilities.cxx:25
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:168
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