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