Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-26 09:23:12

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 from detray_metadata import metadata
0010 from detray_metadata import Shape
0011 from detray_metadata import add_wire_chamber_defaults
0012 
0013 import logging
0014 
0015 
0016 def configure(md: metadata):
0017     logger = logging.getLogger(__name__)
0018     logger.info("Define types required by the wire chamber detector:")
0019 
0020     # Add default types for wire chambers
0021     add_wire_chamber_defaults(md, use_mat_maps=True, use_homogeneous_mat=True)
0022 
0023     logger.info("Done")