Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MaterialGridHelper.hpp File Reference
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Material/AccumulatedVolumeMaterial.hpp"
#include "Acts/Material/Material.hpp"
#include "Acts/Utilities/BinUtility.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include "Acts/Utilities/detail/Axis.hpp"
#include "Acts/Utilities/detail/AxisFwd.hpp"
#include "Acts/Utilities/detail/Grid.hpp"
#include <array>
#include <cstddef>
#include <functional>
#include <tuple>
#include <utility>
#include <vector>
+ 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
 Acts includes to create all necessary definitions.
 

Typedefs

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 >
 
using Acts::MaterialGridAxisData = std::tuple< double, double, size_t >
 

Functions

Grid2D Acts::createGrid (MaterialGridAxisData gridAxis1, MaterialGridAxisData 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 (MaterialGridAxisData gridAxis1, MaterialGridAxisData gridAxis2, MaterialGridAxisData 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::Vector3)> 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::Vector2(Acts::Vector3)> &transfoGlobalToLocal)
 Create a 2DGrid using a BinUtility. Also determine the corresponding global to local transform and grid mapping function.
 
Grid3D Acts::createGrid3D (const BinUtility &bins, std::function< Acts::Vector3(Acts::Vector3)> &transfoGlobalToLocal)
 Create a 3DGrid using a BinUtility. Also determine the corresponding global to local transform and grid mapping function.
 
MaterialGrid2D Acts::mapMaterialPoints (Grid2D &grid)
 Average the material collected in a 2D grid and use it to create a 2D material grid.