for description of non-homogenous dense volumes
More...
#include <BinnedMaterial.h>
for description of non-homogenous dense volumes
- Author
- sarka.nosp@m..tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch
Definition at line 31 of file BinnedMaterial.h.
◆ binsPtr_t
◆ BinnedMaterial() [1/5]
| Trk::BinnedMaterial::BinnedMaterial |
( |
| ) |
|
|
default |
◆ BinnedMaterial() [2/5]
◆ ~BinnedMaterial()
| virtual Trk::BinnedMaterial::~BinnedMaterial |
( |
| ) |
|
|
virtualdefault |
◆ BinnedMaterial() [3/5]
Definition at line 29 of file BinnedMaterial.cxx.
31 if (amc.m_matBins) {
34 } else {
36 }
37 }
38}
std::unique_ptr< const CompactBinnedArray< const IdentifiedMaterial > > binsPtr_t
std::vector< const Trk::IdentifiedMaterial * > ptrs() const
std::vector< IdentifiedMaterial > m_matVec
Material()
Default Constructor needed for POOL.
◆ BinnedMaterial() [4/5]
Constructor with averaged material and binning in 1D.
Definition at line 8 of file BinnedMaterial.cxx.
12 : Trk::Material(mat),
14 m_matBins(std::make_unique<Trk::CompactBinnedArray1D<const Trk::IdentifiedMaterial> >(
ptrs(), index, bu))
15 {}
◆ BinnedMaterial() [5/5]
Constructor with averaged material and binning in 2D.
Definition at line 18 of file BinnedMaterial.cxx.
23 : Trk::Material(mat),
25 m_matBins(std::make_unique<Trk::CompactBinnedArray2D<const Trk::IdentifiedMaterial> >(
ptrs(), index, bu, bVec))
26 {}
◆ averageZ()
| float Trk::Material::averageZ |
( |
| ) |
const |
|
inlineinherited |
◆ layerBin()
| size_t Trk::BinnedMaterial::layerBin |
( |
const Amg::Vector3D & | position | ) |
const |
|
inline |
◆ layerBinUtility()
◆ material()
access to material/id per bin
access to binned material
Definition at line 58 of file BinnedMaterial.cxx.
59 {
63}
std::pair< std::shared_ptr< Material >, int > IdentifiedMaterial
◆ materialNext()
◆ operator=() [1/2]
◆ operator=() [2/2]
Assignment operator.
Definition at line 41 of file BinnedMaterial.cxx.
41 {
42 if (this != &amc) {
46 if (amc.m_matBins) {
49 } else {
51 }
52 }
53 }
54 return (*this);
55}
Material & operator=(const Material &amc)
Assignment operator.
◆ ptrs()
Definition at line 75 of file BinnedMaterial.cxx.
75 {
76 std::vector<const Trk::IdentifiedMaterial*>
p;
80 }
82}
◆ scale()
| std::unique_ptr< Material > Trk::Material::scale |
( |
float | sf | ) |
const |
|
inlineinherited |
scaling method
Definition at line 240 of file Material.h.
240 {
241
242
243
245 return std::make_unique<Material>(
X0 / sf,
L0 / sf, sf *
A, sf *
Z, sf *
rho);
246}
#define CXXUTILS_TRAPPING_FP
◆ toString()
| std::string Trk::Material::toString |
( |
| ) |
const |
|
inlineinherited |
spit out as a string
Definition at line 231 of file Material.h.
231 {
232 std::ostringstream sout;
233 sout << std::setiosflags(std::ios::fixed) << std::setprecision(4);
234 sout <<
"(" <<
X0 <<
" | " <<
L0 <<
" | " <<
A <<
" | " <<
Z <<
" | " <<
rho
235 << ")";
236 return sout.str();
237 }
◆ x0()
| float Trk::Material::x0 |
( |
| ) |
const |
|
inlineinherited |
Definition at line 227 of file Material.h.
227{ return (*this).X0; }
◆ zOverAtimesRho()
| float Trk::Material::zOverAtimesRho |
( |
| ) |
const |
|
inlineinherited |
access to members
Definition at line 226 of file Material.h.
226{ return (*this).zOaTr; }
◆ composition
◆ dEdX
| float Trk::Material::dEdX |
|
inherited |
◆ L0
◆ m_matBins
◆ m_matVec
◆ rho
◆ X0
◆ zOaTr
| float Trk::Material::zOaTr |
|
inherited |
The documentation for this class was generated from the following files: