EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MaterialGridHelper.hpp File Reference
+ Include dependency graph for MaterialGridHelper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Set the Geometry Context PLUGIN.
 

Typedefs

using Acts::RecordedMaterialVolumePoint = std::vector< std::pair< Acts::MaterialSlab, std::vector< Acts::Vector3D >>>
 list of point used in the mapping of a volume
 
using Acts::EAxis = Acts::detail::EquidistantAxis
 
using Acts::Grid2D = Acts::detail::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >
 
using Acts::Grid3D = Acts::detail::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >
 
using Acts::MaterialGrid2D = Acts::detail::Grid< Acts::Material::ParametersVector, EAxis, EAxis >
 
using Acts::MaterialGrid3D = Acts::detail::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >
 

Functions

Grid2D Acts::createGrid (std::array< double, 3 > gridAxis1, std::array< double, 3 > gridAxis2)
 Helper method that creates the cache grid for the mapping. This grid allows the collection of material at a the anchor points.
 
Grid3D Acts::createGrid (std::array< double, 3 > gridAxis1, std::array< double, 3 > gridAxis2, std::array< double, 3 > gridAxis3)
 Helper method that creates the cache grid for the mapping. This grid allows the collection of material at a the anchor points.
 
std::function< double(Acts::Vector3D)> Acts::globalToLocalFromBin (Acts::BinningValue &type)
 return a function that return the coordinate corresponding to type of bin
 
Grid2D Acts::createGrid2D (const BinUtility &bins, std::function< Acts::Vector2D(Acts::Vector3D)> &transfoGlobalToLocal)
 Create a 2DGrid using a BinUtility. Also determine the coresponding global to local transform and grid mapping function.
 
Grid3D Acts::createGrid3D (const BinUtility &bins, std::function< Acts::Vector3D(Acts::Vector3D)> &transfoGlobalToLocal)
 Create a 3DGrid using a BinUtility. Also determine the coresponding global to local transform and grid mapping function.
 
MaterialGrid2D Acts::mapMaterialPoints (Grid2D &grid, const Acts::RecordedMaterialVolumePoint &mPoints, std::function< Acts::Vector2D(Acts::Vector3D)> &transfoGlobalToLocal)
 Concatenate a set of material at arbitrary space points on a set of grid points and produces a grid containing the averaged material values.
 
MaterialGrid3D Acts::mapMaterialPoints (Grid3D &grid, const Acts::RecordedMaterialVolumePoint &mPoints, std::function< Acts::Vector3D(Acts::Vector3D)> &transfoGlobalToLocal)
 Concatenate a set of material at arbitrary space points on a set of grid points and produces a grid containing the averaged material values.