Back to home page

EIC code displayed by LXR

 
 

    


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

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 // Project include(s).
0010 #include "detray/utils/consistency_checker.hpp"
0011 
0012 // Detray test include(s)
0013 #include "detray/test/common/build_wire_chamber.hpp"
0014 #include "detray/test/framework/types.hpp"
0015 
0016 // VecMem include(s).
0017 #include <vecmem/memory/host_memory_resource.hpp>
0018 
0019 // GTest include.
0020 #include <gtest/gtest.h>
0021 
0022 using namespace detray;
0023 
0024 GTEST_TEST(detray_detectors, wire_chamber) {
0025   vecmem::host_memory_resource host_mr;
0026 
0027   wire_chamber_config<test::scalar> cfg{};
0028   auto [wire_det, names] = build_wire_chamber<test::algebra>(host_mr, cfg);
0029 
0030   // Check general consistency of the detector
0031   detail::check_consistency(wire_det, true, names);
0032 }