|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKGEOMETRY_BINNEDMATERIAL_H
10 #define TRKGEOMETRY_BINNEDMATERIAL_H
45 float iX0,
float iL0,
float iA,
float iZ,
float iRho,
51 const std::vector<size_t>&
index,
52 const std::vector<IdentifiedMaterial>& detailedMat);
56 std::vector<Trk::BinUtility*>& bVec,
57 const std::vector<std::vector<size_t> >&
index,
58 const std::vector<IdentifiedMaterial>& detailedMat);
82 std::vector<const Trk::IdentifiedMaterial*>
ptrs()
const;
85 std::unique_ptr<const CompactBinnedArray<const IdentifiedMaterial> >;
98 return m_matBins ? m_matBins->layerBin(position) : 0;
BinnedMaterial(float iX0, float iL0, float iA, float iZ, float iRho, const CompactBinnedArray< const IdentifiedMaterial > *binMat=nullptr)
Constructor with arguments.
virtual ~BinnedMaterial()=default
Destructor - delete the composition if there.
std::vector< IdentifiedMaterial > m_matVec
BinnedMaterial()=default
Default Constructor needed for POOL.
const IdentifiedMaterial * materialNext(const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool layOnly) const
access to binned material
std::unique_ptr< const CompactBinnedArray< const IdentifiedMaterial > > binsPtr_t
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
BinnedMaterial & operator=(const BinnedMaterial &amc)
Assignment operator.
const Trk::BinUtility * layerBinUtility(const Amg::Vector3D &position) const
access to layer bin utility
std::vector< const Trk::IdentifiedMaterial * > ptrs() const
const IdentifiedMaterial * material(const Amg::Vector3D &position) const
access to material/id per bin
size_t layerBin(const Amg::Vector3D &position) const
layer bin
std::pair< const Material *, int > IdentifiedMaterial