Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-27 07:24:26

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 // Project include(s).
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 // Detector
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 /// Detector construction tutorial function (prints some detector statistics)
0027 void print(typename detector_host_t::view_type det_data);
0028 
0029 }  // namespace detray::tutorial