LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
cluster::cluster_merge_info Struct Reference

#include "ClusterMergeAlg.h"

Public Member Functions

 cluster_merge_info ()
 Default constructor. More...
 
 cluster_merge_info (const recob::Cluster &cl)
 Initialization from a recob::Cluster. More...
 

Public Attributes

unsigned int cluster_index
 Input cluster ID. More...
 
geo::View_t view
 Wire plane ID. More...
 
geo::PlaneID planeID
 plane ID More...
 
float start_wire
 Vertex wire. More...
 
float start_time
 Vertex time. More...
 
float end_wire
 End point wire. More...
 
float end_time
 End point time. More...
 
double start_wire_err
 Vertex wire error. More...
 
double start_time_err
 Vertex time error. More...
 
double end_wire_err
 End point wire error. More...
 
double end_time_err
 End point time error. More...
 
float angle
 2D starting angle (in radians) More...
 

Detailed Description

A utility struct for cluster-wise analysis information for merging

Definition at line 36 of file ClusterMergeAlg.h.

Constructor & Destructor Documentation

cluster::cluster_merge_info::cluster_merge_info ( )
inline

Default constructor.

Definition at line 55 of file ClusterMergeAlg.h.

References geo::kUnknown.

55  : planeID()
56  {
57 
58  cluster_index = 0xffffffff;
62  };
geo::PlaneID planeID
plane ID
Unknown view.
Definition: geo_types.h:142
double end_wire_err
End point wire error.
float end_time
End point time.
double start_wire_err
Vertex wire error.
float start_wire
Vertex wire.
float start_time
Vertex time.
unsigned int cluster_index
Input cluster ID.
float end_wire
End point wire.
geo::View_t view
Wire plane ID.
double start_time_err
Vertex time error.
double end_time_err
End point time error.
cluster::cluster_merge_info::cluster_merge_info ( const recob::Cluster cl)
inlineexplicit

Initialization from a recob::Cluster.

Definition at line 65 of file ClusterMergeAlg.h.

66  : cluster_index(cl.ID())
67  , view(cl.View())
68  , planeID(cl.Plane())
69  , start_wire(cl.StartWire())
70  , start_time(cl.StartTick())
71  , end_wire(cl.EndWire())
72  , end_time(cl.EndTick())
73  , angle(cl.StartAngle())
74  {}
geo::PlaneID planeID
plane ID
float StartWire() const
Returns the wire coordinate of the start of the cluster.
Definition: Cluster.h:276
float EndTick() const
Returns the tick coordinate of the end of the cluster.
Definition: Cluster.h:331
geo::PlaneID Plane() const
Returns the plane ID this cluster lies on.
Definition: Cluster.h:717
float StartAngle() const
Returns the starting angle of the cluster.
Definition: Cluster.h:461
float end_time
End point time.
float start_wire
Vertex wire.
float start_time
Vertex time.
float angle
2D starting angle (in radians)
unsigned int cluster_index
Input cluster ID.
geo::View_t View() const
Returns the view for this cluster.
Definition: Cluster.h:714
ID_t ID() const
Identifier of this cluster.
Definition: Cluster.h:711
float end_wire
End point wire.
geo::View_t view
Wire plane ID.
float StartTick() const
Returns the tick coordinate of the start of the cluster.
Definition: Cluster.h:287
float EndWire() const
Returns the wire coordinate of the end of the cluster.
Definition: Cluster.h:318

Member Data Documentation

float cluster::cluster_merge_info::angle

2D starting angle (in radians)

Definition at line 52 of file ClusterMergeAlg.h.

unsigned int cluster::cluster_merge_info::cluster_index

Input cluster ID.

Definition at line 38 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_time

End point time.

Definition at line 45 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_time_err

End point time error.

Definition at line 50 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_wire

End point wire.

Definition at line 44 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_wire_err

End point wire error.

Definition at line 49 of file ClusterMergeAlg.h.

geo::PlaneID cluster::cluster_merge_info::planeID

plane ID

Definition at line 40 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_time

Vertex time.

Definition at line 43 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_time_err

Vertex time error.

Definition at line 48 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_wire

Vertex wire.

Definition at line 42 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_wire_err

Vertex wire error.

Definition at line 47 of file ClusterMergeAlg.h.

geo::View_t cluster::cluster_merge_info::view

Wire plane ID.

Definition at line 39 of file ClusterMergeAlg.h.


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