Function larflow::reco::cluster_make_pcaxis

Function Documentation

larlite::pcaxis larflow::reco::cluster_make_pcaxis(const cluster_t &c, int cidx)

convert PC axis information in cluster into larlite::pcaxis object

Note, pcaxis objects typically have only 3 vectors. Here we add an additional 2 vectors (total 5) in the larlite::pcaxis object. These include info on the start and end pca line points: cluster_t.pca_ends_v

Return
larlite::pcaxis containing cluster PCA info.
Parameters
  • c: The cluster to convert.
  • cidx: An ID number the user is free to set.