LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 49 of file ClusterMergeAlg.h.

Constructor & Destructor Documentation

cluster::cluster_merge_info::cluster_merge_info ( )
inline

Default constructor.

Definition at line 68 of file ClusterMergeAlg.h.

References geo::kUnknown.

68  : planeID() {
69 
70  cluster_index = 0xffffffff;
74 
75  };
geo::PlaneID planeID
plane ID
Unknown view.
Definition: geo_types.h:83
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 78 of file ClusterMergeAlg.h.

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

Referenced by cluster::ClusterMergeAlg::SetAngleCut().

unsigned int cluster::cluster_merge_info::cluster_index

Input cluster ID.

Definition at line 51 of file ClusterMergeAlg.h.

Referenced by cluster::ClusterMergeAlg::SetTime2Cm().

float cluster::cluster_merge_info::end_time

End point time.

Definition at line 58 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_time_err

End point time error.

Definition at line 63 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::end_wire

End point wire.

Definition at line 57 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::end_wire_err

End point wire error.

Definition at line 62 of file ClusterMergeAlg.h.

geo::PlaneID cluster::cluster_merge_info::planeID

plane ID

Definition at line 53 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_time

Vertex time.

Definition at line 56 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_time_err

Vertex time error.

Definition at line 61 of file ClusterMergeAlg.h.

float cluster::cluster_merge_info::start_wire

Vertex wire.

Definition at line 55 of file ClusterMergeAlg.h.

double cluster::cluster_merge_info::start_wire_err

Vertex wire error.

Definition at line 60 of file ClusterMergeAlg.h.

geo::View_t cluster::cluster_merge_info::view

Wire plane ID.

Definition at line 52 of file ClusterMergeAlg.h.


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