Skip to content

Commit e379d16

Browse files
committed
Simplify the creation of detray::tracking_surface.
Following Joana's recommendation.
1 parent aeccc21 commit e379d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/src/read_detector_description.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void read_json_dd(traccc::silicon_detector_description::host& dd,
120120

121121
// Construct a Detray surface object.
122122
const detray::tracking_surface<traccc::default_detector::host> surface{
123-
detector, surface_desc.barcode()};
123+
detector, surface_desc};
124124

125125
// Fill the new element with the geometry ID and the transformation of
126126
// the surface in question.

0 commit comments

Comments
 (0)