ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GridSurfaceMaterialFactory Namespace Reference

Functions

std::unique_ptr< IGridSurfaceMaterial< GloballyIndexedMaterialAccessor::grid_value_type > > create (const ProtoAxis &pAxis, GloballyIndexedMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal, const std::vector< GloballyIndexedMaterialAccessor::grid_value_type > &payload)
 The resolved functions to reduce compile time template bloat.
std::unique_ptr< IGridSurfaceMaterial< MaterialSlab > > create (const ProtoAxis &pAxis, GridMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal, const std::vector< MaterialSlab > &payload)
 The resolved functions to reduce compile time template bloat.
std::unique_ptr< IGridSurfaceMaterial< IndexedMaterialAccessor::grid_value_type > > create (const ProtoAxis &pAxis, IndexedMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal, const std::vector< IndexedMaterialAccessor::grid_value_type > &payload)
 The resolved functions to reduce compile time template bloat.
std::unique_ptr< IGridSurfaceMaterial< GloballyIndexedMaterialAccessor::grid_value_type > > create (const ProtoAxis &pAxis0, const ProtoAxis &pAxis1, GloballyIndexedMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal, const std::vector< std::vector< GloballyIndexedMaterialAccessor::grid_value_type > > &payload)
 The resolved functions to reduce compile time template bloat.
std::unique_ptr< IGridSurfaceMaterial< MaterialSlab > > create (const ProtoAxis &pAxis0, const ProtoAxis &pAxis1, GridMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal, const std::vector< std::vector< MaterialSlab > > &payload)
 The resolved functions to reduce compile time template bloat.
std::unique_ptr< IGridSurfaceMaterial< IndexedMaterialAccessor::grid_value_type > > create (const ProtoAxis &pAxis0, const ProtoAxis &pAxis1, IndexedMaterialAccessor &&materialAccessor, GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal, const std::vector< std::vector< IndexedMaterialAccessor::grid_value_type > > &payload)
 The resolved functions to reduce compile time template bloat.
template<typename material_accessor_t>
std::unique_ptr< IGridSurfaceMaterial< typename material_accessor_t::grid_value_type > > create1D (const ProtoAxis &pAxis, material_accessor_t &&materialAccessor, GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal, const std::vector< typename material_accessor_t::grid_value_type > &payload)
 Create and fill from a single proto axis.
template<typename material_accessor_t>
std::unique_ptr< IGridSurfaceMaterial< typename material_accessor_t::grid_value_type > > create2D (const ProtoAxis &pAxis0, const ProtoAxis &pAxis1, material_accessor_t &&materialAccessor, GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal, GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal, const std::vector< std::vector< typename material_accessor_t::grid_value_type > > &payload)
 Static creation method for the with ProtoAxis objects.

Function Documentation

◆ create() [1/6]

std::unique_ptr< IGridSurfaceMaterial< GloballyIndexedMaterialAccessor::grid_value_type > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis,
GloballyIndexedMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
const std::vector< GloballyIndexedMaterialAccessor::grid_value_type > & payload )

The resolved functions to reduce compile time template bloat.

  • GloballyIndexedMaterial 1D
    Parameters
    pAxisthe proto axis
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create() [2/6]

std::unique_ptr< IGridSurfaceMaterial< MaterialSlab > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis,
GridMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
const std::vector< MaterialSlab > & payload )

The resolved functions to reduce compile time template bloat.

  • GridMaterial 1D
    Parameters
    pAxisthe proto axis
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create() [3/6]

std::unique_ptr< IGridSurfaceMaterial< IndexedMaterialAccessor::grid_value_type > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis,
IndexedMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
const std::vector< IndexedMaterialAccessor::grid_value_type > & payload )

The resolved functions to reduce compile time template bloat.

  • IndexedMaterial 1D
    Parameters
    pAxisthe proto axis
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create() [4/6]

std::unique_ptr< IGridSurfaceMaterial< GloballyIndexedMaterialAccessor::grid_value_type > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis0,
const ProtoAxis & pAxis1,
GloballyIndexedMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
const std::vector< std::vector< GloballyIndexedMaterialAccessor::grid_value_type > > & payload )

The resolved functions to reduce compile time template bloat.

  • GloballyIndexedMaterial 2D
    Parameters
    pAxis0the proto axis in direction 0
    pAxis1the proto axis in direction 1
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create() [5/6]

std::unique_ptr< IGridSurfaceMaterial< MaterialSlab > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis0,
const ProtoAxis & pAxis1,
GridMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
const std::vector< std::vector< MaterialSlab > > & payload )

The resolved functions to reduce compile time template bloat.

  • GridMaterial 2D
    Parameters
    pAxis0the proto axis in direction 0
    pAxis1the proto axis in direction 1
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create() [6/6]

std::unique_ptr< IGridSurfaceMaterial< IndexedMaterialAccessor::grid_value_type > > Acts::GridSurfaceMaterialFactory::create ( const ProtoAxis & pAxis0,
const ProtoAxis & pAxis1,
IndexedMaterialAccessor && materialAccessor,
GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
const std::vector< std::vector< IndexedMaterialAccessor::grid_value_type > > & payload )

The resolved functions to reduce compile time template bloat.

  • IndexedMaterial 2D
    Parameters
    pAxis0the proto axis in direction 0
    pAxis1the proto axis in direction 1
    materialAccessorthe material accessor
    boundToGridLocalthe delegate from bound to grid local frame
    globalToGridLocalthe delegate from global into grid local frame
    payloadthe grid payload (material slab / indices)

◆ create1D()

template<typename material_accessor_t>
std::unique_ptr< IGridSurfaceMaterial< typename material_accessor_t::grid_value_type > > Acts::GridSurfaceMaterialFactory::create1D ( const ProtoAxis & pAxis,
material_accessor_t && materialAccessor,
GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
const std::vector< typename material_accessor_t::grid_value_type > & payload )

Create and fill from a single proto axis.

Parameters
pAxisthe type of the ProtoAxis
materialAccessorthe material accessor
boundToGridLocalthe delegate from bound to grid local frame
globalToGridLocalthe delegate from global into grid local frame
payloadthe grid payload (material slab / indices)
Returns
a unique pointer to the surface material

◆ create2D()

template<typename material_accessor_t>
std::unique_ptr< IGridSurfaceMaterial< typename material_accessor_t::grid_value_type > > Acts::GridSurfaceMaterialFactory::create2D ( const ProtoAxis & pAxis0,
const ProtoAxis & pAxis1,
material_accessor_t && materialAccessor,
GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
const std::vector< std::vector< typename material_accessor_t::grid_value_type > > & payload )

Static creation method for the with ProtoAxis objects.

Parameters
pAxis0proto axis in direction 0
pAxis1proto axis in direction 1
materialAccessorthe material accessor
boundToGridLocalthe delegate from bound to grid local frame
globalToGridLocalthe delegate from global into grid local frame
payloadthe grid payload in 2D (material slab / indices) the payload has to be column major, i.e. [i0][i1]
Returns
a unique pointer to the surface material