LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
GridContainerIndices.h File Reference

Classes to manage containers with indices in 1, 2 and 3 dimensions. More...

#include "lardata/Utilities/TensorIndices.h"
#include <array>
#include <cstddef>

Go to the source code of this file.

Classes

class  util::details::GridContainerIndicesBase< DIMS >
 Index manager for a container of data arranged on a DIMS-dimension grid. More...
 
class  util::GridContainerIndicesBase1D< DIMS >
 Index manager for a container of data arranged on a >=1-dim grid. More...
 
class  util::GridContainerIndicesBase2D< DIMS >
 Index manager for a container of data arranged on a >=2-dim grid. More...
 
class  util::GridContainerIndicesBase3D< DIMS >
 Index manager for a container of data arranged on a >=3-dim grid. More...
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 
 util::details
 

Typedefs

using util::GridContainer2DIndices = GridContainerIndicesBase2D<>
 Index manager for a container of data arranged on a 2D grid. More...
 
using util::GridContainer3DIndices = GridContainerIndicesBase3D<>
 Index manager for a container of data arranged on a 3D grid. More...
 

Detailed Description

Classes to manage containers with indices in 1, 2 and 3 dimensions.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
June 29, 2016

This header provides:

  • GridContainer2DIndices: index manager for object in a 2D space
  • GridContainer3DIndices: index manager for object in a 3D space

These classes have methods whose names reflect the idea of a physical space ("x", "y", "z"). The functionality is provided by TensorIndices class.

This is a pure header that contains only template classes.

Definition in file GridContainerIndices.h.