All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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 37 of file ClusterMergeAlg.h.

Constructor & Destructor Documentation

cluster::cluster_merge_info::cluster_merge_info ( )
inline

Default constructor.

Definition at line 56 of file ClusterMergeAlg.h.

56  : planeID() {
57 
58  cluster_index = 0xffffffff;
62 
63  };
geo::PlaneID planeID
plane ID
Unknown view.
Definition: geo_types.h:136
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 66 of file ClusterMergeAlg.h.

67  :cluster_index(cl.ID())
68  ,view(cl.View())
69  ,planeID(cl.Plane())
70  ,start_wire(cl.StartWire())
71  ,start_time(cl.StartTick())
72  ,end_wire(cl.EndWire())
73  ,end_time(cl.EndTick())
74  ,angle(cl.StartAngle())
75  {}
geo::PlaneID planeID
plane ID
float StartWire() const
Returns the wire coordinate of the start of the cluster.
Definition: Cluster.h:286
float EndTick() const
Returns the tick coordinate of the end of the cluster.
Definition: Cluster.h:342
geo::PlaneID Plane() const
Returns the plane ID this cluster lies on.
Definition: Cluster.h:744
float StartAngle() const
Returns the starting angle of the cluster.
Definition: Cluster.h:475
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:741
ID_t ID() const
Identifier of this cluster.
Definition: Cluster.h:738
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:297
float EndWire() const
Returns the wire coordinate of the end of the cluster.
Definition: Cluster.h:329

Member Data Documentation

float cluster::cluster_merge_info::angle

2D starting angle (in radians)

Definition at line 53 of file ClusterMergeAlg.h.

unsigned int cluster::cluster_merge_info::cluster_index

Input cluster ID.

Definition at line 39 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_time

End point time.

Definition at line 46 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_time_err

End point time error.

Definition at line 51 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_wire

End point wire.

Definition at line 45 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_wire_err

End point wire error.

Definition at line 50 of file ClusterMergeAlg.h.

geo::PlaneID cluster::cluster_merge_info::planeID

plane ID

Definition at line 41 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_time

Vertex time.

Definition at line 44 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_time_err

Vertex time error.

Definition at line 49 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_wire

Vertex wire.

Definition at line 43 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_wire_err

Vertex wire error.

Definition at line 48 of file ClusterMergeAlg.h.

geo::View_t cluster::cluster_merge_info::view

Wire plane ID.

Definition at line 40 of file ClusterMergeAlg.h.


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