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-2025 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/PixelClusterContainer.h
"
9
#include "
InDetPrepRawData/SCT_ClusterContainer.h
"
10
#include "
HGTD_PrepRawData/HGTD_Cluster.h
"
11
12
#include "
xAODInDetMeasurement/PixelClusterContainer.h
"
13
#include "
xAODInDetMeasurement/PixelClusterAuxContainer.h
"
14
#include "
xAODInDetMeasurement/StripClusterContainer.h
"
15
#include "
xAODInDetMeasurement/StripClusterAuxContainer.h
"
16
#include "
xAODInDetMeasurement/HGTDClusterContainer.h
"
17
#include "
xAODInDetMeasurement/HGTDClusterAuxContainer.h
"
18
19
#include "
InDetReadoutGeometry/SiDetectorElement.h
"
20
#include "
SCT_ReadoutGeometry/StripStereoAnnulusDesign.h
"
21
22
#include "
InDetIdentifier/PixelID.h
"
23
#include "
InDetIdentifier/SCT_ID.h
"
24
#include "
HGTD_Identifier/HGTD_ID.h
"
25
26
namespace
TrackingUtilities
{
27
28
StatusCode
convertInDetToXaodCluster
(
const
InDet::PixelCluster
& indetCluster,
29
const
InDetDD::SiDetectorElement
& element,
30
xAOD::PixelCluster
& xaodCluster);
31
32
StatusCode
convertInDetToXaodCluster
(
const
InDet::SCT_Cluster
& indetCluster,
33
const
InDetDD::SiDetectorElement
& element,
34
xAOD::StripCluster
& xaodCluster,
35
bool
isITk =
true
);
36
37
StatusCode
convertXaodToInDetCluster
(
const
xAOD::PixelCluster
& xaodCluster,
38
const
InDetDD::SiDetectorElement
& element,
39
const
PixelID
& pixelID,
40
InDet::PixelCluster
*& indetCluster);
41
42
StatusCode
convertXaodToInDetCluster
(
const
xAOD::StripCluster
& xaodCluster,
43
const
InDetDD::SiDetectorElement
& element,
44
const
SCT_ID
& stripID,
45
InDet::SCT_Cluster
*& indetCluster,
46
double
shift = 0.);
47
48
// HGTD
49
StatusCode
convertInDetToXaodCluster
(
const
HGTD_Cluster
& indetCluster,
50
const
InDetDD::HGTD_DetectorElement
& element,
51
xAOD::HGTDCluster
& xaodCluster);
52
53
StatusCode
convertXaodToInDetCluster
(
const
xAOD::HGTDCluster
& xaodCluster,
54
const
InDetDD::HGTD_DetectorElement
& element,
55
::HGTD_Cluster
*& indetCluster);
56
57
// Low level conversion for SCT cluster pulled out for use in calibrator
58
std::pair<xAOD::MeasVector<1>,
xAOD::MeasMatrix<1>
>
convertSCT_LocalPosCov
(
const
InDet::SCT_Cluster
&cluster,
bool
isITk =
true
);
59
std::pair<xAOD::MeasVector<2>,
xAOD::MeasMatrix<2>
>
convertPix_LocalPosCov
(
const
InDet::PixelCluster
&cluster);
60
std::pair<xAOD::MeasVector<3>,
xAOD::MeasMatrix<3>
>
convertHGTD_LocalPosCov
(
const
HGTD_Cluster
&cluster);
61
}
// Namespace
62
63
#endif
PixelClusterContainer.h
HGTDClusterAuxContainer.h
HGTDClusterContainer.h
HGTD_Cluster.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
HGTD_ID.h
PixelClusterContainer.h
PixelClusterAuxContainer.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
SCT_ClusterContainer.h
SCT_ID.h
This is an Identifier helper class for the SCT subdetector.
SiDetectorElement.h
StripClusterAuxContainer.h
StripClusterContainer.h
StripStereoAnnulusDesign.h
HGTD_Cluster
Definition
HGTD_Cluster.h:35
InDetDD::HGTD_DetectorElement
Class to hold geometrical description of an HGTD detector element.
Definition
HGTD_DetectorElement.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
TrackingUtilities
Definition
ClusterConversionUtilities.h:26
TrackingUtilities::convertSCT_LocalPosCov
std::pair< xAOD::MeasVector< 1 >, xAOD::MeasMatrix< 1 > > convertSCT_LocalPosCov(const InDet::SCT_Cluster &cluster, bool isITk=true)
Definition
ClusterConversionUtilities.cxx:102
TrackingUtilities::convertPix_LocalPosCov
std::pair< xAOD::MeasVector< 2 >, xAOD::MeasMatrix< 2 > > convertPix_LocalPosCov(const InDet::PixelCluster &cluster)
Definition
ClusterConversionUtilities.cxx:59
TrackingUtilities::convertXaodToInDetCluster
StatusCode convertXaodToInDetCluster(const xAOD::PixelCluster &xaodCluster, const InDetDD::SiDetectorElement &element, const PixelID &pixelID, InDet::PixelCluster *&indetCluster)
Definition
ClusterConversionUtilities.cxx:149
TrackingUtilities::convertInDetToXaodCluster
StatusCode convertInDetToXaodCluster(const InDet::PixelCluster &indetCluster, const InDetDD::SiDetectorElement &element, xAOD::PixelCluster &xaodCluster)
Definition
ClusterConversionUtilities.cxx:73
TrackingUtilities::convertHGTD_LocalPosCov
std::pair< xAOD::MeasVector< 3 >, xAOD::MeasMatrix< 3 > > convertHGTD_LocalPosCov(const HGTD_Cluster &cluster)
Definition
ClusterConversionUtilities.cxx:20
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