Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:23:23

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2020 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 http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/Material/MaterialSlab.hpp"
0012 
0013 namespace Acts::detail {
0014 
0015 /// Compute the average properties for a combined slab of two materials.
0016 ///
0017 /// @params slab1 Properties of the first material slab
0018 /// @params slab2 Properties of the second material slab
0019 /// @returns Material slab with the combined thickness and average parameters
0020 ///
0021 /// The averaged material slab has the combined thickness of the two input slabs
0022 /// and assumes the two input materials are homogeneously and continuously mixed
0023 /// throughout the slab.
0024 MaterialSlab combineSlabs(const MaterialSlab& slab1, const MaterialSlab& slab2);
0025 
0026 }  // namespace Acts::detail