Skip to content

Commit

Permalink
Add units to the cell size to ensure that they are given in mm
Browse files Browse the repository at this point in the history
  • Loading branch information
SwathiSasikumar authored and andresailer committed Dec 14, 2023
1 parent fa7796b commit 7c2c131
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7c2c131

Please sign in to comment.