#include <TimeRange.h>
Definition at line 71 of file TimeRange.h.
flashmatch::TimeRangeSet::TimeRangeSet |
( |
| ) |
|
|
inline |
flashmatch::TimeRangeSet::~TimeRangeSet |
( |
| ) |
|
|
inline |
Definition at line 104 of file TimeRange.h.
116 if(range.
End() < (*low).Start()){
120 double start=range.
Start();
123 next_start = (*low).Start();
124 next_end = (*low).End();
125 (*low).SetRange(start,end);
133 if((*low).Start() <= range.
End()) {
135 (*low).SetRange(std::min((*low).Start(),range.
Start()),
136 std::max((*low).End(),range.
End()));
142 if((*prev).End() > (*low).Start()) (*low).SetRange((*prev).End(),(*low).End());
148 if((*low).End() > (*next).Start()) (*low).SetRange((*low).Start(),(*next).Start());
standard_dbscan3dalg useful for diagnostics hits not in a line will not be clustered on on only for track like only for track like on on the smaller the less shower like tracks low
double distance(geo::Point_t const &point, CathodeDesc_t const &cathode)
Returns the distance of a point from the cathode.
auto end(FixedBins< T, C > const &) noexcept
std::vector< flashmatch::TimeRange > _time_range_v
constexpr double dist(const TReal *x, const TReal *y, const unsigned int dimension)
Definition at line 86 of file TimeRange.h.
92 if(range.
End() >= (*low).Start())
return true;
standard_dbscan3dalg useful for diagnostics hits not in a line will not be clustered on on only for track like only for track like on on the smaller the less shower like tracks low
std::vector< flashmatch::TimeRange > _time_range_v
bool flashmatch::TimeRangeSet::Overlap |
( |
double |
time | ) |
const |
|
inline |
Definition at line 96 of file TimeRange.h.
101 return ((*low).Start() <= time && time <= (*low).End());
standard_dbscan3dalg useful for diagnostics hits not in a line will not be clustered on on only for track like only for track like on on the smaller the less shower like tracks low
std::vector< flashmatch::TimeRange > _time_range_v
void flashmatch::TimeRangeSet::Print |
( |
| ) |
const |
|
inline |
Definition at line 80 of file TimeRange.h.
std::vector< flashmatch::TimeRange > _time_range_v
BEGIN_PROLOG could also be cout
The documentation for this class was generated from the following file: