WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::RayGrid Namespace Reference

Classes

class  Activity
 
class  Blob
 
struct  blobref_hash
 
struct  coordinate_t
 
class  Coordinates
 
class  Grouping
 
class  Solving
 
struct  Strip
 
class  Tiling
 

Typedefs

typedef blobs_t::const_iterator blobref_t
 
typedef std::vector< blobref_tblobvec_t
 
typedef std::vector< blobvec_tblobproj_t
 
typedef std::unordered_set< blobref_t, blobref_hashblobset_t
 
typedef std::function< void(blobref_t &a, blobref_t &b)> associator_t
 
typedef int layer_index_t
 
typedef int grid_index_t
 
typedef std::pair< layer_index_t, layer_index_tlayer_pair_t
 
typedef std::tuple< layer_index_t, layer_index_t, layer_index_tlayer_triple_t
 
typedef boost::multi_array< double, 3 > tensor_t
 
typedef std::vector< Vectorvector_array1d_t
 
typedef ObjectArray2d< Vectorvector_array2d_t
 
typedef std::pair< grid_index_t, grid_index_tgrid_range_t
 
typedef std::pair< coordinate_t, coordinate_tcrossing_t
 
typedef std::vector< crossing_tcrossings_t
 
typedef std::vector< Stripstrips_t
 
typedef std::vector< Activityactivities_t
 
typedef std::vector< Blobblobs_t
 

Functions

blobproj_t projection (const blobvec_t &blobs, layer_index_t layer)
 
blobvec_t select (const blobproj_t &proj, grid_range_t range)
 
blobvec_t overlap (const blobref_t &blob, const blobproj_t &proj, layer_index_t layer)
 
bool surrounding (const blobref_t &a, const blobref_t &b)
 
blobvec_t references (const blobs_t &blobs)
 
void associate (const blobs_t &one, const blobs_t &two, associator_t func)
 
std::ostream & operator<< (std::ostream &os, const WireCell::RayGrid::coordinate_t &ra)
 
size_t drop_invalid (blobs_t &blobs)
 free functions More...
 
void prune (const Coordinates &coords, blobs_t &blobs)
 
blobs_t make_blobs (const Coordinates &coords, const activities_t &activities)
 
std::ostream & operator<< (std::ostream &os, const WireCell::RayGrid::Strip &s)
 
std::ostream & operator<< (std::ostream &os, const WireCell::RayGrid::Activity &a)
 
std::ostream & operator<< (std::ostream &os, const WireCell::RayGrid::Blob &b)
 
std::ostream & operator<< (std::ostream &os, const WireCell::RayGrid::crossing_t &c)
 

Typedef Documentation

◆ activities_t

Definition at line 105 of file RayTiling.h.

◆ associator_t

typedef std::function<void(blobref_t& a, blobref_t& b)> WireCell::RayGrid::associator_t

Definition at line 44 of file RayClustering.h.

◆ blobproj_t

Definition at line 15 of file RayClustering.h.

◆ blobref_t

typedef blobs_t::const_iterator WireCell::RayGrid::blobref_t

Definition at line 13 of file RayClustering.h.

◆ blobs_t

typedef std::vector<Blob> WireCell::RayGrid::blobs_t

Definition at line 134 of file RayTiling.h.

◆ blobset_t

typedef std::unordered_set<blobref_t, blobref_hash> WireCell::RayGrid::blobset_t

Definition at line 22 of file RayClustering.h.

◆ blobvec_t

Definition at line 14 of file RayClustering.h.

◆ crossing_t

Definition at line 61 of file RayGrid.h.

◆ crossings_t

Definition at line 62 of file RayGrid.h.

◆ grid_index_t

Definition at line 33 of file RayGrid.h.

◆ grid_range_t

Definition at line 58 of file RayGrid.h.

◆ layer_index_t

Definition at line 28 of file RayGrid.h.

◆ layer_pair_t

Definition at line 43 of file RayGrid.h.

◆ layer_triple_t

Definition at line 46 of file RayGrid.h.

◆ strips_t

typedef std::vector<Strip> WireCell::RayGrid::strips_t

Definition at line 42 of file RayTiling.h.

◆ tensor_t

typedef boost::multi_array<double, 3> WireCell::RayGrid::tensor_t

Definition at line 50 of file RayGrid.h.

◆ vector_array1d_t

Definition at line 53 of file RayGrid.h.

◆ vector_array2d_t

Function Documentation

◆ associate()

void WireCell::RayGrid::associate ( const blobs_t one,
const blobs_t two,
associator_t  func 
)

Definition at line 91 of file RayClustering.cxx.

Here is the call graph for this function:

◆ drop_invalid()

size_t WireCell::RayGrid::drop_invalid ( blobs_t blobs)

free functions

Definition at line 325 of file RayTiling.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_blobs()

blobs_t WireCell::RayGrid::make_blobs ( const Coordinates coords,
const activities_t activities 
)

Definition at line 371 of file RayTiling.cxx.

Here is the call graph for this function:

◆ operator<<() [1/5]

std::ostream& WireCell::RayGrid::operator<< ( std::ostream &  os,
const WireCell::RayGrid::coordinate_t ra 
)
inline

Definition at line 126 of file RayGrid.h.

◆ operator<<() [2/5]

std::ostream& WireCell::RayGrid::operator<< ( std::ostream &  os,
const WireCell::RayGrid::Strip s 
)
inline

Definition at line 172 of file RayTiling.h.

◆ operator<<() [3/5]

std::ostream& WireCell::RayGrid::operator<< ( std::ostream &  os,
const WireCell::RayGrid::Activity a 
)
inline

Definition at line 179 of file RayTiling.h.

Here is the call graph for this function:

◆ operator<<() [4/5]

std::ostream& WireCell::RayGrid::operator<< ( std::ostream &  os,
const WireCell::RayGrid::Blob b 
)
inline

Definition at line 188 of file RayTiling.h.

Here is the call graph for this function:

◆ operator<<() [5/5]

std::ostream& WireCell::RayGrid::operator<< ( std::ostream &  os,
const WireCell::RayGrid::crossing_t c 
)
inline

Definition at line 195 of file RayTiling.h.

◆ overlap()

WireCell::RayGrid::blobvec_t WireCell::RayGrid::overlap ( const blobref_t blob,
const blobproj_t proj,
layer_index_t  layer 
)

Definition at line 38 of file RayClustering.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ projection()

WireCell::RayGrid::blobproj_t WireCell::RayGrid::projection ( const blobvec_t blobs,
layer_index_t  layer 
)

Definition at line 6 of file RayClustering.cxx.

Here is the caller graph for this function:

◆ prune()

void WireCell::RayGrid::prune ( const Coordinates coords,
blobs_t blobs 
)

Definition at line 334 of file RayTiling.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ references()

WireCell::RayGrid::blobvec_t WireCell::RayGrid::references ( const blobs_t blobs)

Definition at line 55 of file RayClustering.cxx.

Here is the caller graph for this function:

◆ select()

WireCell::RayGrid::blobvec_t WireCell::RayGrid::select ( const blobproj_t proj,
grid_range_t  range 
)

Definition at line 22 of file RayClustering.cxx.

Here is the caller graph for this function:

◆ surrounding()

bool WireCell::RayGrid::surrounding ( const blobref_t a,
const blobref_t b 
)

Definition at line 65 of file RayClustering.cxx.