All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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 13 of file ClusterParams.h.

Constructor & Destructor Documentation

cluster::cluster_params::cluster_params ( )
inline

Definition at line 16 of file ClusterParams.h.

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

Member Function Documentation

void cluster::cluster_params::Clear ( )
inline

Definition at line 74 of file ClusterParams.h.

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

Definition at line 118 of file ClusterParams.h.

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

Member Data Documentation

double cluster::cluster_params::angle_2d

Angle of axis in wire/hit view.

Definition at line 39 of file ClusterParams.h.

double cluster::cluster_params::charge_wgt_x

Mean of hits along x, charge weighted.

Definition at line 36 of file ClusterParams.h.

double cluster::cluster_params::charge_wgt_y

Mean of hits along y, charge weighted.

Definition at line 37 of file ClusterParams.h.

double cluster::cluster_params::closing_angle

Width of angular distubtion wrt endpoint.

Definition at line 42 of file ClusterParams.h.

double cluster::cluster_params::closing_angle_charge_wgt

Same for charge_wgt.

Definition at line 43 of file ClusterParams.h.

double cluster::cluster_params::cluster_angle_2d

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

Definition at line 38 of file ClusterParams.h.

int cluster::cluster_params::direction

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

Definition at line 68 of file ClusterParams.h.

double cluster::cluster_params::eigenvalue_principal

the principal eigenvalue from PCA

Definition at line 46 of file ClusterParams.h.

double cluster::cluster_params::eigenvalue_secondary

the secondary eigenvalue from PCA

Definition at line 47 of file ClusterParams.h.

double cluster::cluster_params::end_charge

Charge at the (other) end of the cluster.

Definition at line 45 of file ClusterParams.h.

util::PxPoint cluster::cluster_params::end_point

end point

Definition at line 24 of file ClusterParams.h.

double cluster::cluster_params::hit_density_1D

Definition at line 53 of file ClusterParams.h.

double cluster::cluster_params::hit_density_2D

Definition at line 54 of file ClusterParams.h.

double cluster::cluster_params::length

Definition at line 50 of file ClusterParams.h.

double cluster::cluster_params::mean_ADC

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

Definition at line 30 of file ClusterParams.h.

double cluster::cluster_params::mean_charge

Mean (average) charge of hits in ADC.

Definition at line 27 of file ClusterParams.h.

double cluster::cluster_params::mean_x

Mean of hits along x, peaks only.

Definition at line 32 of file ClusterParams.h.

double cluster::cluster_params::mean_y

Mean of hits along y, peaks only.

Definition at line 33 of file ClusterParams.h.

double cluster::cluster_params::modified_hit_density

Definition at line 57 of file ClusterParams.h.

double cluster::cluster_params::modmeancharge

Definition at line 61 of file ClusterParams.h.

double cluster::cluster_params::multi_hit_wires

Definition at line 55 of file ClusterParams.h.

double cluster::cluster_params::N_Hits

Definition at line 58 of file ClusterParams.h.

double cluster::cluster_params::N_Hits_HC

Definition at line 59 of file ClusterParams.h.

double cluster::cluster_params::N_Wires

Definition at line 56 of file ClusterParams.h.

double cluster::cluster_params::offaxis_hits

got brain

Definition at line 72 of file ClusterParams.h.

double cluster::cluster_params::opening_angle

Width of angular distubtion wrt vertx.

Definition at line 40 of file ClusterParams.h.

double cluster::cluster_params::opening_angle_charge_wgt

Same for charge_wgt.

Definition at line 41 of file ClusterParams.h.

Polygon2D cluster::cluster_params::PolyObject

Polygon Object...see Polygon2D.hh.

Definition at line 21 of file ClusterParams.h.

double cluster::cluster_params::rms_ADC

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

Definition at line 31 of file ClusterParams.h.

double cluster::cluster_params::rms_charge

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

Definition at line 28 of file ClusterParams.h.

double cluster::cluster_params::RMS_charge

Definition at line 62 of file ClusterParams.h.

double cluster::cluster_params::rms_x

rms of hits along x (wires)

Definition at line 34 of file ClusterParams.h.

double cluster::cluster_params::rms_y

rms of hits along y, (time)

Definition at line 35 of file ClusterParams.h.

double cluster::cluster_params::showerness

got heart

Definition at line 70 of file ClusterParams.h.

double cluster::cluster_params::start_charge

Charge at the start of the cluster.

Definition at line 44 of file ClusterParams.h.

util::PxPoint cluster::cluster_params::start_point

start point

Definition at line 23 of file ClusterParams.h.

double cluster::cluster_params::sum_ADC

Sum charge of ADC counts of hits, in ADC.

Definition at line 29 of file ClusterParams.h.

double cluster::cluster_params::sum_charge

Sum charge of hits in ADC.

Definition at line 26 of file ClusterParams.h.

double cluster::cluster_params::trackness

got soul

Definition at line 71 of file ClusterParams.h.

double cluster::cluster_params::verticalness

???

Definition at line 48 of file ClusterParams.h.

double cluster::cluster_params::width

Definition at line 51 of file ClusterParams.h.


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