Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-27 07:23:34

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/EventData/StripSpacePointCalibrationDetails.hpp"
0012 
0013 #include <Eigen/Core>
0014 
0015 namespace Acts {
0016 
0017 /// Derives the strip space point calibration details.
0018 /// @param sp The strip space point calibration details
0019 /// @return The derived strip space point calibration details
0020 OuterStripSpacePointCalibrationDetailsDerived
0021 deriveOuterStripSpacePointCalibrationDetails(
0022     const OuterStripSpacePointCalibrationDetails& sp);
0023 
0024 /// Calibrates the strip space point using the assumed particle direction and
0025 /// the strip space point calibration details.
0026 /// @note This function does not check if the calibrated space point lies within the strip.
0027 /// @param sp The strip space point calibration details
0028 /// @param direction The assumed particle direction
0029 /// @return The calibrated outer strip space point
0030 Eigen::Vector3f calibrateOuterStripSpacePoint(
0031     const Eigen::Vector3f& direction,
0032     const OuterStripSpacePointCalibrationDetailsDerived& sp);
0033 
0034 }  // namespace Acts