File indexing completed on 2026-05-27 07:24:26
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011
0012 #include "detray/core/detector.hpp"
0013 #include "detray/definitions/units.hpp"
0014 #include "detray/tutorial/types.hpp"
0015
0016 namespace detray::tutorial {
0017
0018
0019 using metadata_t = detray::tutorial::toy_metadata;
0020 using detector_host_t = detector<metadata_t, host_container_types>;
0021 using detector_device_t = detector<metadata_t, device_container_types>;
0022
0023 using mask_id = typename detector_host_t::masks::id;
0024 using acc_id = typename detector_host_t::accel::id;
0025
0026
0027 void print(typename detector_host_t::view_type det_data);
0028
0029 }