Public Member Functions | Public Attributes | List of all members
WireCell::RayGrid::Strip Struct Reference

#include <RayTiling.h>

Public Member Functions

crossing_t addresses () const
 
bool in (grid_index_t pitch_index) const
 
bool on (grid_index_t pitch_index) const
 

Public Attributes

layer_index_t layer
 
grid_range_t bounds
 

Detailed Description

Definition at line 21 of file RayTiling.h.

Member Function Documentation

crossing_t WireCell::RayGrid::Strip::addresses ( ) const
inline

Definition at line 29 of file RayTiling.h.

29  {
30  return std::make_pair(coordinate_t{layer, bounds.first},
31  coordinate_t{layer, bounds.second});
32  }
layer_index_t layer
Definition: RayTiling.h:24
grid_range_t bounds
Definition: RayTiling.h:27
details::VectorScalar_t< Vector > coordinate_t
Type of coordinate of the specified vector type.
bool WireCell::RayGrid::Strip::in ( grid_index_t  pitch_index) const
inline

Definition at line 34 of file RayTiling.h.

34  {
35  return (bounds.first <= pitch_index) and (pitch_index < bounds.second);
36  }
grid_range_t bounds
Definition: RayTiling.h:27
bool WireCell::RayGrid::Strip::on ( grid_index_t  pitch_index) const
inline

Definition at line 37 of file RayTiling.h.

37  {
38  return (bounds.first <= pitch_index) and (pitch_index <= bounds.second);
39  }
grid_range_t bounds
Definition: RayTiling.h:27

Member Data Documentation

grid_range_t WireCell::RayGrid::Strip::bounds

Definition at line 27 of file RayTiling.h.

layer_index_t WireCell::RayGrid::Strip::layer

Definition at line 24 of file RayTiling.h.


The documentation for this struct was generated from the following file: