|
|
|||
File indexing completed on 2025-12-16 09:28:06
0001 // SPDX-License-Identifier: LGPL-3.0-or-later 0002 // Copyright (C) 2025 Wouter Deconinck 0003 0004 #pragma once 0005 0006 #include <Acts/Definitions/TrackParametrization.hpp> 0007 #include <Acts/Definitions/Units.hpp> 0008 0009 namespace eicrecon { 0010 0011 // This array relates the Acts and EDM4eic covariance matrices, including 0012 // the unit conversion to get from Acts units into EDM4eic units. 0013 // 0014 // Note: std::map is not constexpr, so we use a constexpr std::array 0015 // std::array initialization need double braces since arrays are aggregates 0016 // ref: https://en.cppreference.com/w/cpp/language/aggregate_initialization 0017 static constexpr std::array<std::pair<Acts::BoundIndices, double>, 6> edm4eic_indexed_units{ 0018 {{Acts::eBoundLoc0, Acts::UnitConstants::mm}, 0019 {Acts::eBoundLoc1, Acts::UnitConstants::mm}, 0020 {Acts::eBoundPhi, 1.}, 0021 {Acts::eBoundTheta, 1.}, 0022 {Acts::eBoundQOverP, 1. / Acts::UnitConstants::GeV}, 0023 {Acts::eBoundTime, Acts::UnitConstants::ns}}}; 0024 0025 } // namespace eicrecon
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|