Struct TrackClusterBuilder::Segment_t¶
- Defined in File TrackClusterBuilder.h
Nested Relationships¶
This struct is a nested type of Class TrackClusterBuilder.
Struct Documentation¶
-
struct
Segment_t
represents a cluster through a line segment made from the first principle component
Public Functions
-
Segment_t
()
-
Segment_t
(std::vector<float> &s, std::vector<float> &e) constructor with start and end points of segment
- Parameters
s
: start point of segmente
: end point of segment
Public Members
-
const larlite::larflowcluster *
cluster
pointer to cluster this segment derives from
-
const larlite::pcaxis *
pca
pointer to principle component for the cluster instance
-
std::vector<float>
start
start of the line segment
-
std::vector<float>
end
end of the line segment
-
std::vector<float>
dir
direction from start to end
-
std::vector<Connection_t *>
con_start
pointer to Connection_t (edges) connected to the segment start point
-
std::vector<Connection_t *>
con_end
pointer to Connection_t (edges) connected to the segment end point
-
float
len
length of the line segment
-
int
idx
index of the segment
-
bool
inpath
flag indicating segment is currently part of a path
-
bool
visited
flag indicating segment has been visited at least once
-