LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
cluster::ClusterMatchAlg::cluster_match_info Struct Reference

#include "ClusterMatchAlg.h"

Public Member Functions

 cluster_match_info (unsigned short index)
 Constructor with cluster's index ID. More...
 
 cluster_match_info ()
 Default constructor. More...
 

Public Attributes

unsigned short cluster_index
 Cluster's index position in the input cluster vector array. More...
 
geo::View_t view
 Wire plane ID. More...
 
unsigned int nhits
 Number of hits. More...
 
unsigned short wire_max
 Maximum wire number in this cluster. More...
 
unsigned short wire_min
 Minimum wire number in this cluster. More...
 
double start_time_max
 Maximum "start time" among all hits in this cluster. More...
 
double peak_time_max
 Maximum "peak time" among all hits in this cluster. More...
 
double end_time_max
 Maximum "end time" among all hits in this cluster. More...
 
double start_time_min
 Minimum "start time" among all hits in this cluster. More...
 
double peak_time_min
 Minimum "peak time" among all hits in this cluster. More...
 
double end_time_min
 Minimum "end time" among all hits in this cluster. More...
 
double sum_charge
 Summed charge among all hits in this cluster. More...
 

Detailed Description

Local struct data container to store cluster's basic information based on hits that consist the cluster. Looping over hit pointer occurs when we create art::PtrVector<recob::Hit> from input file. All information that is based on hits and is used for cluster-matching should be extracted from there to maximize I/O efficiency as looping over hits takes time. In other words... all hits related variables should be stored here!

Definition at line 65 of file ClusterMatchAlg.h.

Constructor & Destructor Documentation

cluster::ClusterMatchAlg::cluster_match_info::cluster_match_info ( unsigned short  index)
inline

Constructor with cluster's index ID.

Definition at line 81 of file ClusterMatchAlg.h.

References geo::kUnknown.

81  {
82  cluster_index = index;
84  wire_max = 0;
85  wire_min = 0xffff;
88  sum_charge = -1.;
89  };
double peak_time_max
Maximum "peak time" among all hits in this cluster.
double end_time_min
Minimum "end time" among all hits in this cluster.
unsigned short wire_min
Minimum wire number in this cluster.
Unknown view.
Definition: geo_types.h:83
double end_time_max
Maximum "end time" among all hits in this cluster.
unsigned short cluster_index
Cluster&#39;s index position in the input cluster vector array.
double peak_time_min
Minimum "peak time" among all hits in this cluster.
double sum_charge
Summed charge among all hits in this cluster.
unsigned short wire_max
Maximum wire number in this cluster.
double start_time_max
Maximum "start time" among all hits in this cluster.
double start_time_min
Minimum "start time" among all hits in this cluster.
cluster::ClusterMatchAlg::cluster_match_info::cluster_match_info ( )
inline

Default constructor.

Definition at line 92 of file ClusterMatchAlg.h.

References cluster::ClusterMatchAlg::ClusterMatchAlg().

92  {
93  cluster_match_info(0xffff);
94  };

Member Data Documentation

unsigned short cluster::ClusterMatchAlg::cluster_match_info::cluster_index

Cluster's index position in the input cluster vector array.

Definition at line 67 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::end_time_max

Maximum "end time" among all hits in this cluster.

Definition at line 74 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), cluster::ClusterMatchAlg::FillHitInfo(), and cluster::ClusterMatchAlg::Match_RoughTime().

double cluster::ClusterMatchAlg::cluster_match_info::end_time_min

Minimum "end time" among all hits in this cluster.

Definition at line 77 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), and cluster::ClusterMatchAlg::FillHitInfo().

unsigned int cluster::ClusterMatchAlg::cluster_match_info::nhits
double cluster::ClusterMatchAlg::cluster_match_info::peak_time_max

Maximum "peak time" among all hits in this cluster.

Definition at line 73 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), and cluster::ClusterMatchAlg::FillHitInfo().

double cluster::ClusterMatchAlg::cluster_match_info::peak_time_min

Minimum "peak time" among all hits in this cluster.

Definition at line 76 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), and cluster::ClusterMatchAlg::FillHitInfo().

double cluster::ClusterMatchAlg::cluster_match_info::start_time_max

Maximum "start time" among all hits in this cluster.

Definition at line 72 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), and cluster::ClusterMatchAlg::FillHitInfo().

double cluster::ClusterMatchAlg::cluster_match_info::start_time_min

Minimum "start time" among all hits in this cluster.

Definition at line 75 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::AppendClusterTreeVariables(), cluster::ClusterMatchAlg::FillHitInfo(), and cluster::ClusterMatchAlg::Match_RoughTime().

double cluster::ClusterMatchAlg::cluster_match_info::sum_charge
unsigned short cluster::ClusterMatchAlg::cluster_match_info::wire_max

Maximum wire number in this cluster.

Definition at line 70 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::FillHitInfo().

unsigned short cluster::ClusterMatchAlg::cluster_match_info::wire_min

Minimum wire number in this cluster.

Definition at line 71 of file ClusterMatchAlg.h.

Referenced by cluster::ClusterMatchAlg::FillHitInfo().


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