LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
cluster::cluster_params Class Reference

#include "ClusterParams.h"

Public Member Functions

 cluster_params ()
 
void Clear ()
 
template<typename Stream >
void Report (Stream &os) const
 

Public Attributes

Polygon2D PolyObject
 Polygon Object...see Polygon2D.hh. More...
 
util::PxPoint start_point
 start point More...
 
util::PxPoint end_point
 end point More...
 
double sum_charge
 Sum charge of hits in ADC. More...
 
double mean_charge
 Mean (average) charge of hits in ADC. More...
 
double rms_charge
 RMS (standard deviation of sample) of charge of hits in ADC. More...
 
double sum_ADC
 Sum charge of ADC counts of hits, in ADC. More...
 
double mean_ADC
 Mean (average) of ADC counts of hits, in ADC. More...
 
double rms_ADC
 RMS (standard deviation of sample) of ADC counts of hits in ADC. More...
 
double mean_x
 Mean of hits along x, peaks only. More...
 
double mean_y
 Mean of hits along y, peaks only. More...
 
double rms_x
 rms of hits along x (wires) More...
 
double rms_y
 rms of hits along y, (time) More...
 
double charge_wgt_x
 Mean of hits along x, charge weighted. More...
 
double charge_wgt_y
 Mean of hits along y, charge weighted. More...
 
double cluster_angle_2d
 Linear best fit to high-charge hits in the cluster. More...
 
double angle_2d
 Angle of axis in wire/hit view. More...
 
double opening_angle
 Width of angular distubtion wrt vertx. More...
 
double opening_angle_charge_wgt
 Same for charge_wgt. More...
 
double closing_angle
 Width of angular distubtion wrt endpoint. More...
 
double closing_angle_charge_wgt
 Same for charge_wgt. More...
 
double start_charge
 Charge at the start of the cluster. More...
 
double end_charge
 Charge at the (other) end of the cluster. More...
 
double eigenvalue_principal
 the principal eigenvalue from PCA More...
 
double eigenvalue_secondary
 the secondary eigenvalue from PCA More...
 
double verticalness
 ??? More...
 
double length
 
double width
 
double hit_density_1D
 
double hit_density_2D
 
double multi_hit_wires
 
double N_Wires
 
double modified_hit_density
 
double N_Hits
 
double N_Hits_HC
 
double modmeancharge
 
double RMS_charge
 
int direction
 
double showerness
 got heart More...
 
double trackness
 got soul More...
 
double offaxis_hits
 got brain More...
 

Detailed Description

(Detailed) information holder for 2D cluster, computed by ClusterParamsAlg

Definition at line 14 of file ClusterParams.h.

Constructor & Destructor Documentation

cluster::cluster_params::cluster_params ( )
inline

Definition at line 17 of file ClusterParams.h.

References Clear().

17  {
18  //Initialize all values.
19  Clear();
20  }

Member Function Documentation

void cluster::cluster_params::Clear ( )
inline

Definition at line 75 of file ClusterParams.h.

References util::PxPoint::Clear().

Referenced by cluster_params(), and cluster::ClusterParamsAlg::Initialize().

75  {
77  end_point.Clear();
78  sum_charge = -999.999 ;
79  mean_charge = -999.999 ;
80  rms_charge = -999.999 ;
81  sum_ADC = -999.999 ;
82  mean_ADC = -999.999 ;
83  rms_ADC = -999.999 ;
84  mean_x = -999.999 ;
85  mean_y = -999.999 ;
86  rms_x = -999.999 ;
87  rms_y = -999.999 ;
88  charge_wgt_x = -999.999 ;
89  charge_wgt_y = -999.999 ;
90  cluster_angle_2d = -999.999 ;
91  angle_2d = -999.999 ;
92  eigenvalue_principal = -999.999 ;
93  eigenvalue_secondary = -999.999 ;
94  multi_hit_wires = -999.999 ;
95  N_Wires = -999.999 ;
96  verticalness = -999.999 ;
97  opening_angle = -999.999 ;
98  opening_angle_charge_wgt = -999.999 ;
99  closing_angle = -999.999 ;
100  closing_angle_charge_wgt = -999.999 ;
101  start_charge = -999.999 ;
102  end_charge = -999.999 ;
103  offaxis_hits = -999.999 ;
104  modmeancharge = -999.999 ;
105  RMS_charge = -999.999 ;
106  modified_hit_density = -999.999 ;
107  N_Hits = -999.999 ;
108  N_Hits_HC = -999.999 ;
109  length = -999.999 ;
110  width = -999.999 ;
111  hit_density_1D = -999.999 ;
112  hit_density_2D = -999.999 ;
113  direction = 0 ;
114  showerness = -999.999 ;
115  trackness = -999.999 ;
116  }
double rms_ADC
RMS (standard deviation of sample) of ADC counts of hits in ADC.
Definition: ClusterParams.h:32
double closing_angle_charge_wgt
Same for charge_wgt.
Definition: ClusterParams.h:44
double charge_wgt_y
Mean of hits along y, charge weighted.
Definition: ClusterParams.h:38
double mean_x
Mean of hits along x, peaks only.
Definition: ClusterParams.h:33
double start_charge
Charge at the start of the cluster.
Definition: ClusterParams.h:45
double rms_charge
RMS (standard deviation of sample) of charge of hits in ADC.
Definition: ClusterParams.h:29
double trackness
got soul
Definition: ClusterParams.h:72
double eigenvalue_principal
the principal eigenvalue from PCA
Definition: ClusterParams.h:47
double mean_ADC
Mean (average) of ADC counts of hits, in ADC.
Definition: ClusterParams.h:31
double mean_y
Mean of hits along y, peaks only.
Definition: ClusterParams.h:34
double eigenvalue_secondary
the secondary eigenvalue from PCA
Definition: ClusterParams.h:48
double sum_charge
Sum charge of hits in ADC.
Definition: ClusterParams.h:27
void Clear()
Definition: PxUtils.h:25
util::PxPoint start_point
start point
Definition: ClusterParams.h:24
double angle_2d
Angle of axis in wire/hit view.
Definition: ClusterParams.h:40
double offaxis_hits
got brain
Definition: ClusterParams.h:73
double showerness
got heart
Definition: ClusterParams.h:71
double sum_ADC
Sum charge of ADC counts of hits, in ADC.
Definition: ClusterParams.h:30
util::PxPoint end_point
end point
Definition: ClusterParams.h:25
double mean_charge
Mean (average) charge of hits in ADC.
Definition: ClusterParams.h:28
double charge_wgt_x
Mean of hits along x, charge weighted.
Definition: ClusterParams.h:37
double opening_angle_charge_wgt
Same for charge_wgt.
Definition: ClusterParams.h:42
double opening_angle
Width of angular distubtion wrt vertx.
Definition: ClusterParams.h:41
double cluster_angle_2d
Linear best fit to high-charge hits in the cluster.
Definition: ClusterParams.h:39
double rms_x
rms of hits along x (wires)
Definition: ClusterParams.h:35
double rms_y
rms of hits along y, (time)
Definition: ClusterParams.h:36
double closing_angle
Width of angular distubtion wrt endpoint.
Definition: ClusterParams.h:43
double end_charge
Charge at the (other) end of the cluster.
Definition: ClusterParams.h:46
template<typename Stream >
void cluster::cluster_params::Report ( Stream &  os) const
inline

Definition at line 119 of file ClusterParams.h.

References util::PxPoint::t, and util::PxPoint::w.

Referenced by cluster::ClusterParamsAlg::Report().

119  {
120 
121  os << "ClusterParams report: \n"
122  << " start_point .............. : (" << start_point.w <<","<<start_point.t<<")\n"
123  << " end_point ................ : (" << end_point.w <<","<<end_point.t<<")\n"
124  << " sum_charge ............... : "<< sum_charge << "\n"
125  << " mean_charge ............. : " << mean_charge << "\n"
126  << " mean_x ................... : " << mean_x << "\n"
127  << " mean_y ................... : " << mean_y << "\n"
128  << " rms_x .................... : " << rms_x << "\n"
129  << " rms_y .................... : " << rms_y << "\n"
130  << " charge_wgt_x ............. : " << charge_wgt_x << "\n"
131  << " charge_wgt_y ............. : " << charge_wgt_y << "\n"
132  << " cluster_angle_2d ......... : " << cluster_angle_2d << "\n"
133  << " angle_2d ................. : " << angle_2d << "\n"
134  << " eigenvalue_principal ..... : " << eigenvalue_principal << "\n"
135  << " eigenvalue_secondary ..... : " << eigenvalue_secondary << "\n"
136  << " multi_hit_wires .......... : " << multi_hit_wires << "\n"
137  << " N_Wires .................. : " << N_Wires << "\n"
138  << " N_Hits ................... : " << N_Hits << "\n"
139  << " N_Hits_HC ................ : " << N_Hits_HC << "\n"
140  << " verticalness ............. : " << verticalness << "\n"
141  << " opening_angle ............ : " << opening_angle << "\n"
142  << " opening_angle_charge_wgt . : " << opening_angle_charge_wgt << "\n"
143  << " closing_angle ............ : " << closing_angle << "\n"
144  << " closing_angle_charge_wgt . : " << closing_angle_charge_wgt << "\n"
145  << " start_charge ............. : " << start_charge << "\n"
146  << " end_charge ............... : " << end_charge << "\n"
147  << " offaxis_hits ............. : " << offaxis_hits << "\n"
148  << " modified_hit_density ..... : " << modified_hit_density << "\n"
149  << " modified mean charge ...... : " << modmeancharge << "\n"
150  << " charge_RMS ................ : " << RMS_charge << "\n"
151  << " length ................... : " << length << "\n"
152  << " width .................... : " << width << "\n"
153  << " hit_density_1D ........... : " << hit_density_1D << "\n"
154  << " hit_density_2D ........... : " << hit_density_2D << "\n"
155  << " showerness ............... : " << showerness << "\n"
156  << " trackness ................ : " << trackness << "\n"
157  << " direction ................ : " << direction << "\n";
158  }
double closing_angle_charge_wgt
Same for charge_wgt.
Definition: ClusterParams.h:44
double charge_wgt_y
Mean of hits along y, charge weighted.
Definition: ClusterParams.h:38
double mean_x
Mean of hits along x, peaks only.
Definition: ClusterParams.h:33
double start_charge
Charge at the start of the cluster.
Definition: ClusterParams.h:45
double trackness
got soul
Definition: ClusterParams.h:72
double eigenvalue_principal
the principal eigenvalue from PCA
Definition: ClusterParams.h:47
double mean_y
Mean of hits along y, peaks only.
Definition: ClusterParams.h:34
double eigenvalue_secondary
the secondary eigenvalue from PCA
Definition: ClusterParams.h:48
double sum_charge
Sum charge of hits in ADC.
Definition: ClusterParams.h:27
double t
Definition: PxUtils.h:11
util::PxPoint start_point
start point
Definition: ClusterParams.h:24
double angle_2d
Angle of axis in wire/hit view.
Definition: ClusterParams.h:40
double offaxis_hits
got brain
Definition: ClusterParams.h:73
double w
Definition: PxUtils.h:10
double showerness
got heart
Definition: ClusterParams.h:71
util::PxPoint end_point
end point
Definition: ClusterParams.h:25
double mean_charge
Mean (average) charge of hits in ADC.
Definition: ClusterParams.h:28
double charge_wgt_x
Mean of hits along x, charge weighted.
Definition: ClusterParams.h:37
double opening_angle_charge_wgt
Same for charge_wgt.
Definition: ClusterParams.h:42
double opening_angle
Width of angular distubtion wrt vertx.
Definition: ClusterParams.h:41
double cluster_angle_2d
Linear best fit to high-charge hits in the cluster.
Definition: ClusterParams.h:39
double rms_x
rms of hits along x (wires)
Definition: ClusterParams.h:35
double rms_y
rms of hits along y, (time)
Definition: ClusterParams.h:36
double closing_angle
Width of angular distubtion wrt endpoint.
Definition: ClusterParams.h:43
double end_charge
Charge at the (other) end of the cluster.
Definition: ClusterParams.h:46

Member Data Documentation

double cluster::cluster_params::angle_2d

Angle of axis in wire/hit view.

Definition at line 40 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetFinalSlope().

double cluster::cluster_params::charge_wgt_x

Mean of hits along x, charge weighted.

Definition at line 37 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::charge_wgt_y

Mean of hits along y, charge weighted.

Definition at line 38 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::closing_angle

Width of angular distubtion wrt endpoint.

Definition at line 43 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetFANNVector(), and cluster::ClusterParamsAlg::RefineDirection().

double cluster::cluster_params::cluster_angle_2d

Linear best fit to high-charge hits in the cluster.

Definition at line 39 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetRoughAxis(), cluster::LazyClusterParamsAlg::StartAngle(), and cluster::StandardClusterParamsAlg::StartAngle().

int cluster::cluster_params::direction

+1 means shower is "forward - start wire < end wire" -1 is backwards, 0 is undecided

Definition at line 69 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::RefineStartPointAndDirection().

double cluster::cluster_params::eigenvalue_principal

the principal eigenvalue from PCA

Definition at line 47 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetFANNVector().

double cluster::cluster_params::eigenvalue_secondary

the secondary eigenvalue from PCA

Definition at line 48 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetFANNVector().

double cluster::cluster_params::end_charge

Charge at the (other) end of the cluster.

Definition at line 46 of file ClusterParams.h.

Referenced by cluster::LazyClusterParamsAlg::EndCharge(), and cluster::ClusterParamsAlg::GetEndCharges().

double cluster::cluster_params::hit_density_1D
double cluster::cluster_params::hit_density_2D

Definition at line 55 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::RefineStartPoints().

double cluster::cluster_params::mean_ADC

Mean (average) of ADC counts of hits, in ADC.

Definition at line 31 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages().

double cluster::cluster_params::mean_x

Mean of hits along x, peaks only.

Definition at line 33 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::mean_y

Mean of hits along y, peaks only.

Definition at line 34 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), and cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::modified_hit_density
double cluster::cluster_params::modmeancharge

Definition at line 62 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetFinalSlope().

double cluster::cluster_params::N_Hits_HC
double cluster::cluster_params::offaxis_hits

got brain

Definition at line 73 of file ClusterParams.h.

double cluster::cluster_params::opening_angle
Polygon2D cluster::cluster_params::PolyObject

Polygon Object...see Polygon2D.hh.

Definition at line 22 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::FillPolygon().

double cluster::cluster_params::rms_ADC

RMS (standard deviation of sample) of ADC counts of hits in ADC.

Definition at line 32 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), cluster::LazyClusterParamsAlg::SummedADCStdDev(), and cluster::StandardClusterParamsAlg::SummedADCStdDev().

double cluster::cluster_params::rms_charge

RMS (standard deviation of sample) of charge of hits in ADC.

Definition at line 29 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), cluster::LazyClusterParamsAlg::IntegralStdDev(), and cluster::StandardClusterParamsAlg::IntegralStdDev().

double cluster::cluster_params::RMS_charge
double cluster::cluster_params::rms_x

rms of hits along x (wires)

Definition at line 35 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::rms_y

rms of hits along y, (time)

Definition at line 36 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetRoughAxis().

double cluster::cluster_params::showerness

got heart

Definition at line 71 of file ClusterParams.h.

double cluster::cluster_params::start_charge

Charge at the start of the cluster.

Definition at line 45 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetEndCharges(), and cluster::LazyClusterParamsAlg::StartCharge().

double cluster::cluster_params::sum_ADC

Sum charge of ADC counts of hits, in ADC.

Definition at line 30 of file ClusterParams.h.

Referenced by cluster::ClusterParamsAlg::GetAverages(), cluster::LazyClusterParamsAlg::SummedADC(), and cluster::StandardClusterParamsAlg::SummedADC().

double cluster::cluster_params::trackness

got soul

Definition at line 72 of file ClusterParams.h.

double cluster::cluster_params::verticalness

???

Definition at line 49 of file ClusterParams.h.


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