Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove volume material types from default metadata #598

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions core/include/detray/core/detector_metadata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,15 @@ unbounded_cell, unmasked_plane*/>;
e_rectangle2_map = 2u,
e_trapezoid2_map = 2u,
e_annulus2_map = 0u,
e_cell_wire_map = 6u,
e_straw_wire_map = 6u,
e_cell_wire_map = 4u,
e_straw_wire_map = 4u,
// Volume material
e_cuboid3_map = 3u,
e_cylinder3_map = 4u,
// e_cuboid3_map = 3u,
// e_cylinder3_map = 4u,
// Homogeneous mapetrial
e_slab = 5u,
e_rod = 6u,
e_none = 7u,
e_slab = 3u,
e_rod = 4u,
e_none = 5u,
};

/// How to store materials
Expand All @@ -214,8 +214,8 @@ unbounded_cell, unmasked_plane*/>;
grid_collection<disc_map_t<container_t>>,
grid_collection<cylinder2_map_t<container_t>>,
grid_collection<rectangular_map_t<container_t>>,
grid_collection<cuboid_map_t<container_t>>,
grid_collection<cylinder3_map_t<container_t>>,
/*grid_collection<cuboid_map_t<container_t>>,
grid_collection<cylinder3_map_t<container_t>>,*/
typename container_t::template vector_type<slab>,
typename container_t::template vector_type<rod>>;

Expand Down
Loading