2 #define PhotonVoxels_h 1
83 {
return ! ((*this)==rhs); }
process_name opflash particleana ie ie ie z
Vector GetVoxelSize() const
Returns a vector describing the span of a single voxel in x, y an z [cm].
process_name opflash particleana ie x
std::array< unsigned int, 3U > GetSteps() const
Returns the number of voxels along each of the three dimensions.
bool operator==(const PhotonVoxelDef &rhs) const
Representation of a region of space diced into voxels.
int GetVoxelID(Point const &p) const
Returns the ID of the voxel containing p, or -1 if none.
unsigned int GetNVoxels() const
Returns the total number of voxels in the volume.
process_name opflash particleana ie ie y
decltype(auto) GetRegionLowerCorner() const
Returns the volume vertex (type Point) with the lowest coordinates.
Point GetCenter() const
Returns the center of the voxel (type Point).
decltype(auto) GetLowerCorner() const
Returns the voxel vertex (type Point) with the lowest coordinates.
decltype(auto) GetRegionUpperCorner() const
Returns the volume vertex (type Point) with the highest coordinates.
bool IsLegalVoxelID(int) const
std::array< int, 3U > GetVoxelCoords(int ID) const
bool operator!=(const PhotonVoxelDef &rhs) const
Representation of a single small volume (voxel).
process_name largeant stream1 can override from command line with o or output physics producers generator N
decltype(auto) GetUpperCorner() const
Returns the voxel vertex (type Point) with the highest coordinates.
PhotonVoxel GetPhotonVoxel(int ID) const