Function larflow::reco::cluster_pca¶
- Defined in File cluster_functions.cxx
Function Documentation¶
-
void
larflow::reco
::
cluster_pca
(cluster_t &cluster)¶ run PCA on the hits in the cluster
points_v must be filled.
the following members are then filled:
- larflow::reco::cluster_t::bbox_v
- larflow::reco::cluster_t::pca_center
- larflow::reco::cluster_t::pca_eigenvalues
- larflow::reco::cluster_t::pca_axis_v
- larflow::reco::cluster_t::ordered_idx_v
- larflow::reco::cluster_t::pca_proj_v
- larflow::reco::cluster_t::pca_ends_v
- larflow::reco::cluster_t::pca_len
- larflow::reco::cluster_t::pca_radius_v
- larflow::reco::cluster_t::pca_max_r
- larflow::reco::cluster_t::pca_ave_r2
- Parameters
cluster
: Container of larflow::reco::cluster_t objects made