From abb315939218af6a75064951c33277614ef1093e Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 19 Sep 2024 16:28:40 +0200 Subject: [PATCH] Fix in parsing p+ contact --- ext/LegendDataManagementSolidStateDetectorsExt.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/LegendDataManagementSolidStateDetectorsExt.jl b/ext/LegendDataManagementSolidStateDetectorsExt.jl index 62a7b597..500a9bc5 100644 --- a/ext/LegendDataManagementSolidStateDetectorsExt.jl +++ b/ext/LegendDataManagementSolidStateDetectorsExt.jl @@ -348,7 +348,7 @@ function create_SSD_config_dict_from_LEGEND_metadata(meta::PropDict, xtal_meta:: "to" => borehole_radius ), "h" => borehole_depth, - "origin" => [0, 0, borehole_depth] + "origin" => [0, 0, borehole_depth / 2] )), dicttype("cone" => dicttype( "r" => borehole_radius, @@ -367,7 +367,7 @@ function create_SSD_config_dict_from_LEGEND_metadata(meta::PropDict, xtal_meta:: dicttype("cone" => dicttype( "r" => pp_radius, "h" => pp_depth, - "origin" => [0, 0, pp_depth] + "origin" => [0, 0, pp_depth / 2] )) end