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 47 of file ClusterMergeAlg.h.

Constructor & Destructor Documentation

cluster::cluster_merge_info::cluster_merge_info ( )
inline

Default constructor.

Definition at line 66 of file ClusterMergeAlg.h.

66  : planeID() {
67 
68  cluster_index = 0xffffffff;
72 
73  };
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 76 of file ClusterMergeAlg.h.

77  :cluster_index(cl.ID())
78  ,view(cl.View())
79  ,planeID(cl.Plane())
80  ,start_wire(cl.StartWire())
81  ,start_time(cl.StartTick())
82  ,end_wire(cl.EndWire())
83  ,end_time(cl.EndTick())
84  ,angle(cl.StartAngle())
85  {}
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 63 of file ClusterMergeAlg.h.

unsigned int cluster::cluster_merge_info::cluster_index

Input cluster ID.

Definition at line 49 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_time

End point time.

Definition at line 56 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_time_err

End point time error.

Definition at line 61 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_wire

End point wire.

Definition at line 55 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_wire_err

End point wire error.

Definition at line 60 of file ClusterMergeAlg.h.

geo::PlaneID cluster::cluster_merge_info::planeID

plane ID

Definition at line 51 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_time

Vertex time.

Definition at line 54 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_time_err

Vertex time error.

Definition at line 59 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_wire

Vertex wire.

Definition at line 53 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_wire_err

Vertex wire error.

Definition at line 58 of file ClusterMergeAlg.h.

geo::View_t cluster::cluster_merge_info::view

Wire plane ID.

Definition at line 50 of file ClusterMergeAlg.h.


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