EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
EDM4eicToActs.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2025 Wouter Deconinck
3
4#pragma once
5
6#include <Acts/Definitions/TrackParametrization.hpp>
7#include <Acts/Definitions/Units.hpp>
8
9namespace eicrecon {
10
11// This array relates the Acts and EDM4eic covariance matrices, including
12// the unit conversion to get from Acts units into EDM4eic units.
13//
14// Note: std::map is not constexpr, so we use a constexpr std::array
15// std::array initialization need double braces since arrays are aggregates
16// ref: https://en.cppreference.com/w/cpp/language/aggregate_initialization
17static constexpr std::array<std::pair<Acts::BoundIndices, double>, 6> edm4eic_indexed_units{
18 {{Acts::eBoundLoc0, Acts::UnitConstants::mm},
19 {Acts::eBoundLoc1, Acts::UnitConstants::mm},
20 {Acts::eBoundPhi, 1.},
21 {Acts::eBoundTheta, 1.},
22 {Acts::eBoundQOverP, 1. / Acts::UnitConstants::GeV},
23 {Acts::eBoundTime, Acts::UnitConstants::ns}}};
24
25} // namespace eicrecon
-client
Definition CalorimeterClusterRecoCoG.cc:37