LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PrincipalComponentsAlg.h"
Private Attributes | |
float | m_parallel |
means lines are parallel More... | |
const geo::Geometry * | m_geometry |
Cluster3D class.
Definition at line 35 of file PrincipalComponentsAlg.h.
lar_cluster3d::PrincipalComponentsAlg::PrincipalComponentsAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 40 of file PrincipalComponentsAlg.cxx.
References art::ServiceHandle< T, SCOPE >::get(), fhicl::ParameterSet::get(), m_geometry, and m_parallel.
void lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis | ( | const detinfo::DetectorPropertiesData & | detProp, |
const reco::HitPairListPtr & | hitPairVector, | ||
reco::PrincipalComponents & | pca, | ||
float | doca3DScl = 3. |
||
) | const |
Run the Principal Components Analysis.
Definition at line 67 of file PrincipalComponentsAlg.cxx.
References reco::PrincipalComponents::getAveHitDoca(), reco::PrincipalComponents::getEigenValues(), reco::PrincipalComponents::getEigenVectors(), reco::PrincipalComponents::getSvdOK(), PCAAnalysis_2D(), PCAAnalysis_3D(), PCAAnalysis_reject2DOutliers(), and PCAAnalysis_reject3DOutliers().
void lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D | ( | const detinfo::DetectorPropertiesData & | detProp, |
const reco::HitPairListPtr & | hitPairVector, | ||
reco::PrincipalComponents & | pca, | ||
bool | updateAvePos = false |
||
) | const |
Definition at line 281 of file PrincipalComponentsAlg.cxx.
References detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::CryostatID::Cryostat, d, den, geo::WireGeo::Direction(), e, reco::PrincipalComponents::getAvePosition(), geo::WireGeo::GetCenter(), reco::PrincipalComponents::getEigenVectors(), m_geometry, m_parallel, geo::PlaneID::Plane, geo::TPCID::TPC, geo::GeometryCore::WireIDToWireGeo(), x, y, and z.
Referenced by PCAAnalysis().
void lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_3D | ( | const reco::HitPairListPtr & | hitPairList, |
reco::PrincipalComponents & | pca, | ||
bool | skeletonOnly = false |
||
) | const |
Definition at line 136 of file PrincipalComponentsAlg.cxx.
References art::left(), art::right(), reco::ClusterHit3D::SKELETONHIT, weight, x, y, and z.
Referenced by lar_cluster3d::ClusterPathFinder::breakIntoTinyBits(), lar_cluster3d::VoronoiPathFinder::breakIntoTinyBits(), lar_cluster3d::HoughSeedFinderAlg::buildSeed(), lar_cluster3d::MinSpanTreeAlg::CheckHitSorting(), lar_cluster3d::ConvexHullPathFinder::completeCandidateCluster(), lar_cluster3d::ClusterParamsBuilder::FillClusterParams(), lar_cluster3d::MinSpanTreeAlg::FindBestPathInCluster(), lar_cluster3d::MSTPathFinder::FindBestPathInCluster(), lar_cluster3d::HoughSeedFinderAlg::findHitGaps(), lar_cluster3d::ParallelHitsSeedFinderAlg::findTrackSeeds(), lar_cluster3d::HoughSeedFinderAlg::findTrackSeeds(), lar_cluster3d::PCASeedFinderAlg::getHitsAtEnd(), lar_cluster3d::VoronoiPathFinder::makeCandidateCluster(), lar_cluster3d::ClusterMergeAlg::mergeClusters(), PCAAnalysis(), lar_cluster3d::Cluster3D::splitClustersWithHough(), and lar_cluster3d::ClusterParamsBuilder::storeThisCluster().
void lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_calc2DDocas | ( | const reco::Hit2DListPtr & | hit2DVector, |
const reco::PrincipalComponents & | pca | ||
) | const |
Definition at line 543 of file PrincipalComponentsAlg.cxx.
References geo::WireGeo::Direction(), reco::PrincipalComponents::getAvePosition(), geo::WireGeo::GetCenter(), reco::PrincipalComponents::getEigenValues(), reco::PrincipalComponents::getEigenVectors(), geo::WireGeo::HalfL(), m_geometry, reco::PrincipalComponents::setAveHitDoca(), and geo::GeometryCore::WireIDToWireGeo().
void lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_calc3DDocas | ( | const reco::HitPairListPtr & | hitPairVector, |
const reco::PrincipalComponents & | pca | ||
) | const |
Definition at line 489 of file PrincipalComponentsAlg.cxx.
References reco::PrincipalComponents::getAvePosition(), reco::PrincipalComponents::getEigenVectors(), and reco::PrincipalComponents::setAveHitDoca().
Referenced by lar_cluster3d::ConvexHullPathFinder::breakClusterAtBigGap(), lar_cluster3d::ConvexHullPathFinder::breakClusterByMaxDefect(), lar_cluster3d::ConvexHullPathFinder::breakClusterInHalf(), lar_cluster3d::ClusterPathFinder::breakIntoTinyBits(), lar_cluster3d::VoronoiPathFinder::breakIntoTinyBits(), lar_cluster3d::HoughSeedFinderAlg::buildSeed(), lar_cluster3d::HoughSeedFinderAlg::findHitGaps(), lar_cluster3d::ParallelHitsSeedFinderAlg::findTrackSeeds(), lar_cluster3d::PCASeedFinderAlg::findTrackSeeds(), lar_cluster3d::Cluster3D::splitClustersWithHough(), and lar_cluster3d::VoronoiPathFinder::subDivideCluster().
int lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_reject2DOutliers | ( | const reco::HitPairListPtr & | hitPairVector, |
float | aveHitDoca | ||
) | const |
int lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_reject3DOutliers | ( | const reco::HitPairListPtr & | hitPairVector, |
const reco::PrincipalComponents & | pca, | ||
float | aveHitDoca | ||
) | const |
Definition at line 655 of file PrincipalComponentsAlg.cxx.
References reco::PrincipalComponents::getAvePosition(), and reco::PrincipalComponents::getEigenVectors().
Referenced by PCAAnalysis().
|
private |
Definition at line 76 of file PrincipalComponentsAlg.h.
Referenced by PCAAnalysis_2D(), PCAAnalysis_calc2DDocas(), and PrincipalComponentsAlg().
|
private |
means lines are parallel
Definition at line 75 of file PrincipalComponentsAlg.h.
Referenced by PCAAnalysis_2D(), and PrincipalComponentsAlg().