All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 69 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 85 of file ClusterMatchAlg.h.

86  {
87  cluster_index = index;
89  wire_max = 0;
90  wire_min = 0xffff;
93  sum_charge = -1.;
94  };
double peak_time_max
Maximum &quot;peak time&quot; among all hits in this cluster.
double end_time_min
Minimum &quot;end time&quot; 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 &quot;end time&quot; 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 &quot;peak time&quot; 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 &quot;start time&quot; among all hits in this cluster.
double start_time_min
Minimum &quot;start time&quot; among all hits in this cluster.
cluster::ClusterMatchAlg::cluster_match_info::cluster_match_info ( )
inline

Default constructor.

Definition at line 97 of file ClusterMatchAlg.h.

97 { 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 71 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 78 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 81 of file ClusterMatchAlg.h.

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

Number of hits.

Definition at line 73 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 77 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 80 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 76 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 79 of file ClusterMatchAlg.h.

double cluster::ClusterMatchAlg::cluster_match_info::sum_charge

Summed charge among all hits in this cluster.

Definition at line 82 of file ClusterMatchAlg.h.

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

Wire plane ID.

Definition at line 72 of file ClusterMatchAlg.h.

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

Maximum wire number in this cluster.

Definition at line 74 of file ClusterMatchAlg.h.

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

Minimum wire number in this cluster.

Definition at line 75 of file ClusterMatchAlg.h.


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