21#include "BDSArray4DCoords.hh"
22#include "BDSFourVector.hh"
39 zeroPoint(std::array<G4double,4>()),
40 nPoints(std::array<G4int,4>()),
41 arrayToSpatialIndex{0,1,2,3}
44 auto nP = array->
NXYZT();
45 for (G4int i = 0; i < 4; i++)
54 std::array<G4double, 4> zeroPoint;
55 std::array<G4int, 4> nPoints;
56 std::array<G4int, 4> arrayToSpatialIndex;
Overlay of 4D array that provides uniform only spatial coordinate mapping.
std::array< G4int, 4 > ArrayToSpatialDimensionIndices() const
Access all indices at once.
void ArrayCoordsFromXYZT(G4double &x, G4double &xArr, G4double &y, G4double &yArr, G4double &z, G4double &zArr, G4double &t, G4double &tArr) const
Utility version to forward to individual function.
BDSFourVector< G4int > NXYZT() const
Access the number of elements in a given dimension.
Simple holder of information about an array.