ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
15
18
19
20#include <memory>
21
22class PixelID;
23class SCT_ID;
24class HGTD_ID;
26
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
44
45 std::unique_ptr<InDet::PixelCluster>
47 const InDetDD::SiDetectorElement& element,
48 const InDetDD::PixelModuleDesign& design,
49 const PixelID& pixelID);
50
51 std::unique_ptr<InDet::SCT_Cluster>
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>
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
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
This is an Identifier helper class for the HGTD subdetector.
Definition HGTD_ID.h:47
Class to hold geometrical description of an HGTD detector element.
Class used to describe the design of a module (diode segmentation and readout scheme).
Base class for the SCT module side design, extended by the Forward and Barrel module design.
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:69
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Class to hold geometrical description of a silicon detector element.
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)
const InDetDD::PixelModuleDesign * pixelModuleDesign(const InDetDD::SiDetectorElement &element)
Resolve the readout design of a pixel/strip detector element.
StatusCode convertInDetToXaodCluster(const InDet::PixelCluster &indetCluster, const InDetDD::SiDetectorElement &element, xAOD::PixelCluster &xaodCluster)
const InDetDD::SCT_ModuleSideDesign * stripModuleSideDesign(const InDetDD::SiDetectorElement &element)
std::pair< xAOD::MeasVector< 3 >, xAOD::MeasMatrix< 3 > > convertHGTD_LocalPosCov(const HGTD_Cluster &cluster)
std::unique_ptr< InDet::PixelCluster > convertXaodToInDetCluster(const xAOD::PixelCluster &xaodCluster, const InDetDD::SiDetectorElement &element, const InDetDD::PixelModuleDesign &design, const PixelID &pixelID)
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