From 7c2c131c0b69aa8fb6db4165f3eaeb9b8ebf4202 Mon Sep 17 00:00:00 2001 From: Swathi Sasikumar Date: Thu, 14 Dec 2023 14:25:58 +0100 Subject: [PATCH] Add units to the cell size to ensure that they are given in mm --- .../ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v01_geo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/detector/calorimeter/ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v01_geo.cpp b/detector/calorimeter/ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v01_geo.cpp index ab11803e4..dece89dde 100644 --- a/detector/calorimeter/ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v01_geo.cpp +++ b/detector/calorimeter/ECalBarrel_NobleLiquid_InclinedTrapezoids_o1_v01_geo.cpp @@ -626,8 +626,8 @@ static dd4hep::detail::Ref_t createECalBarrelInclined(dd4hep::Detector& aLcdd, caloLayer.outer_thickness = difference_bet_r1r2 / 2; caloLayer.absorberThickness = absorberThickness; - caloLayer.cellSize0 = 2; - caloLayer.cellSize1 = 2; + caloLayer.cellSize0 = 2 * dd4hep::mm; + caloLayer.cellSize1 = 2 * dd4hep::mm; caloData->layers.push_back(caloLayer); }