|
typedef std::unordered_set< std::size_t > | indices_t |
|
Definition at line 38 of file test_tbb_join.cxx.
Definition at line 213 of file test_rayclustering.cxx.
215 for (
const auto ind : *
sel1) {
216 const auto& br =
one[ind];
217 dumper(br, 10.0, 1.0, 1, ind);
221 for (
const auto ind : *
sel2) {
222 const auto& br =
two[ind];
223 dumper(br, 20.0, 1.0, 2, ind);
Definition at line 139 of file test_rayclustering.cxx.
144 const auto& astrips =
a->strips();
145 const int nlayers = astrips.size();
148 for (
const auto&
c :
b->corners()) {
152 const auto& astrip = astrips[layer];
153 if (layer ==
c.first.layer) {
154 info(
"L{} A: {} {}", layer, astrip,
c);
155 if (astrip.on(
c.first.grid)) {
156 info(
"\ton with found={} nlayers={}", found, nlayers);
160 info(
"\toff with found={} nlayers={}", found, nlayers);
163 if (layer ==
c.second.layer) {
164 info(
"L{} A: {} {}", layer, astrip,
c);
165 if (astrip.on(
c.second.grid)) {
166 info(
"\ton with found={} nlayers={}", found, nlayers);
170 info(
"\toff with found={} nlayers={}",found, nlayers);
176 info(
"L{} A: {} pind={} ploc={} {}", layer, astrip, pind, ploc,
c);
178 if (astrip.in(pind)) {
179 info(
"\tin with found={} nlayers={}", found, nlayers);
183 info(
"\tout with found={} nlayers={}", found, nlayers);
187 if (found == nlayers) {
double pitch_location(const coordinate_t &one, const coordinate_t &two, layer_index_t other) const
int pitch_index(double pitch, layer_index_t layer) const
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
bool surrounding(const blobref_t &a, const blobref_t &b)
void Chirp::operator() |
( |
const int & |
x | ) |
|
|
inline |
Definition at line 194 of file test_rayclustering.cxx.
197 const std::size_t d1 =
a-
one.begin();
198 const std::size_t d2 =
b-
two.begin();
200 info(
"overlap: a{} and b{}", d1, d2);
201 info(
"\tblob a #{}: {}", d1,
a->as_string());
202 info(
"\tblob b #{}: {}", d2,
b->as_string());
204 if (!this->
in(
a,
b)) {
205 warn(
"NO CONTAINED CORNERS");
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
bool in(const blobref_t &a, const blobref_t &b)
The documentation for this struct was generated from the following files: