ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
18
21
25
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
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Class to hold geometrical description of an HGTD detector element.
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
std::pair< xAOD::MeasVector< 1 >, xAOD::MeasMatrix< 1 > > convertSCT_LocalPosCov(const InDet::SCT_Cluster &cluster, bool isITk=true)
std::pair< xAOD::MeasVector< 2 >, xAOD::MeasMatrix< 2 > > convertPix_LocalPosCov(const InDet::PixelCluster &cluster)
StatusCode convertXaodToInDetCluster(const xAOD::PixelCluster &xaodCluster, const InDetDD::SiDetectorElement &element, const PixelID &pixelID, InDet::PixelCluster *&indetCluster)
StatusCode convertInDetToXaodCluster(const InDet::PixelCluster &indetCluster, const InDetDD::SiDetectorElement &element, xAOD::PixelCluster &xaodCluster)
std::pair< xAOD::MeasVector< 3 >, xAOD::MeasMatrix< 3 > > convertHGTD_LocalPosCov(const HGTD_Cluster &cluster)
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
Eigen::Matrix< float, N, N > MeasMatrix
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.
Definition HGTDCluster.h:13