Public Member Functions | Public Attributes | List of all members
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 60 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 76 of file ClusterMatchAlg.h.

77  {
80  wire_max = 0;
81  wire_min = 0xffff;
84  sum_charge = -1.;
85  };
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:136
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 88 of file ClusterMatchAlg.h.

88 { cluster_match_info(0xffff); };

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 62 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 69 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::end_time_min

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

Definition at line 72 of file ClusterMatchAlg.h.

unsigned int cluster::ClusterMatchAlg::cluster_match_info::nhits

Number of hits.

Definition at line 64 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::peak_time_max

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

Definition at line 68 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::peak_time_min

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

Definition at line 71 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::start_time_max

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

Definition at line 67 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::start_time_min

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

Definition at line 70 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::sum_charge

Summed charge among all hits in this cluster.

Definition at line 73 of file ClusterMatchAlg.h.

geo::View_t cluster::ClusterMatchAlg::cluster_match_info::view

Wire plane ID.

Definition at line 63 of file ClusterMatchAlg.h.

unsigned short cluster::ClusterMatchAlg::cluster_match_info::wire_max

Maximum wire number in this cluster.

Definition at line 65 of file ClusterMatchAlg.h.

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

Minimum wire number in this cluster.

Definition at line 66 of file ClusterMatchAlg.h.


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