Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PredefinedMaterials.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PredefinedMaterials.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
11 
12 #pragma once
13 
17 
18 namespace Acts {
19 namespace Test {
20 
22  using namespace UnitLiterals;
23  return Material::fromMolarDensity(35.28_cm, 42.10_cm, 9.012, 4,
24  (1.848 / 9.012) * 1_mol / 1_cm3);
25 }
26 
28  using namespace UnitLiterals;
29  return Material::fromMolarDensity(9.370_cm, 46.52_cm, 28.0855, 14,
30  (2.329 / 28.0855) * 1_mol / 1_cm3);
31 }
32 
35  using namespace UnitLiterals;
36  // silicon-like material with higher X0 and lower L0
37  return {Material::fromMolarDensity(20_cm, 20_cm, 28.0855, 14,
38  (2.329 / 28.0855) * 1_mol / 1_cm3),
39  20_cm};
40 }
41 
44  auto slab = makeUnitSlab();
45  slab.scaleThickness(0.01);
46  return slab;
47 }
48 
49 } // namespace Test
50 } // namespace Acts