Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:02

0001 /**
0002  * traccc library, part of the ACTS project (R&D line)
0003  *
0004  * (c) 2024-2025 CERN for the benefit of the ACTS project
0005  *
0006  * Mozilla Public License Version 2.0
0007  */
0008 
0009 #pragma once
0010 
0011 // Project include(s).
0012 #include "traccc/definitions/qualifiers.hpp"
0013 #include "traccc/edm/silicon_cell_collection.hpp"
0014 
0015 namespace traccc {
0016 
0017 struct [[maybe_unused]] cell_module_projection {
0018   template <typename T>
0019   TRACCC_HOST_DEVICE auto operator()(const edm::silicon_cell<T>& c) const {
0020     return c.module_index();
0021   }
0022 };
0023 
0024 }  // namespace traccc