ATLAS Offline Software
MaterialProperties.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 namespace Trk {
6 
7 /** Return method for the full material */
8 inline const Material&
9 MaterialProperties::material() const
10 {
11  return m_material;
12 }
13 
14 inline Material&
15 MaterialProperties::material()
16 {
17  return m_material;
18 }
19 
20 /** Return method for thicknes in units of radiation length - dimensionless */
21 inline float
22 MaterialProperties::thicknessInX0() const
23 {
24  return m_dInX0;
25 }
26 
27 /** Return method for thickness in units of nuclear interaction length -
28  * dimensionless */
29 inline float
30 MaterialProperties::thicknessInL0() const
31 {
32  return m_dInL0;
33 }
34 
35 /** Return method for thickness in mm */
36 inline float
37 MaterialProperties::thickness() const
38 {
39  return m_dInX0 * m_material.X0;
40 }
41 
42 /** Return method for radiation length - in [mm] */
43 inline float
44 MaterialProperties::x0() const
45 {
46  return m_material.X0;
47 }
48 
49 /** Return method for nuclear interaction length - in [mm] */
50 inline float
51 MaterialProperties::l0() const
52 {
53  return m_material.L0;
54 }
55 
56 /** Return method for @f$ \frac{A}{Z}\cdot\rho @f$ */
57 inline float
58 MaterialProperties::zOverAtimesRho() const
59 {
60  return m_material.zOaTr;
61 }
62 
63 /** Return method for @f$ \frac{A}{Z}\cdot\rho\cdot d @f$ */
64 inline float
65 MaterialProperties::zOverAtimesRhoTimesD() const
66 {
67  return m_zOaTrTd;
68 }
69 
70 /** Return method for @f$ A @f$ */
71 inline float
72 MaterialProperties::averageA() const
73 {
74  return m_material.A;
75 }
76 
77 /** Return method for @f$ Z @f$ */
78 inline float
79 MaterialProperties::averageZ() const
80 {
81  return m_material.Z;
82 }
83 
84 /** Return method for @f$ Z @f$ */
85 inline float
86 MaterialProperties::averageRho() const
87 {
88  return m_material.rho;
89 }
90 
91 /** Return method for @f$ dE/dX @f$ */
92 inline float
93 MaterialProperties::dEdX() const
94 {
95  return m_material.dEdX;
96 }
97 
98 }