LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
PCASeedFinderAlg class. More...
#include "PCASeedFinderAlg.h"
Public Member Functions | |
PCASeedFinderAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
bool | findTrackSeeds (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitMap) const override |
Given the list of hits this will search for candidate Seed objects and return them. More... | |
Private Member Functions | |
bool | getHitsAtEnd (reco::HitPairListPtr &hit3DList, reco::PrincipalComponents &seedPca) const |
Separate function to find hits at the ends of the input hits. More... | |
void | LineFit2DHits (const reco::HitPairListPtr &hitList, double XOrigin, TVector3 &Pos, TVector3 &Dir, double &ChiDOF) const |
Private Attributes | |
geo::Geometry const * | m_geometry |
double | m_gapDistance |
size_t | m_numSeed2DHits |
double | m_minAllowedCosAng |
The minimum cos(ang) between input and seed axes. More... | |
PrincipalComponentsAlg | m_pcaAlg |
PCASeedFinderAlg class.
Definition at line 33 of file PCASeedFinderAlg.h.
lar_cluster3d::PCASeedFinderAlg::PCASeedFinderAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 36 of file PCASeedFinderAlg.cxx.
References art::ServiceHandle< T, SCOPE >::get(), fhicl::ParameterSet::get(), m_gapDistance, m_geometry, m_minAllowedCosAng, and m_numSeed2DHits.
|
overridevirtual |
Given the list of hits this will search for candidate Seed objects and return them.
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 48 of file PCASeedFinderAlg.cxx.
References reco::PrincipalComponents::flipAxis(), reco::PrincipalComponents::getEigenValues(), reco::PrincipalComponents::getEigenVectors(), getHitsAtEnd(), LineFit2DHits(), m_pcaAlg, and lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_calc3DDocas().
Referenced by lar_cluster3d::Cluster3D::findTrackSeeds().
|
private |
Separate function to find hits at the ends of the input hits.
Definition at line 151 of file PCASeedFinderAlg.cxx.
References reco::PrincipalComponents::flipAxis(), reco::ClusterHit3D::getArclenToPoca(), reco::PrincipalComponents::getEigenVectors(), reco::ClusterHit3D::getHits(), reco::PrincipalComponents::getSvdOK(), m_gapDistance, m_minAllowedCosAng, m_numSeed2DHits, m_pcaAlg, and lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_3D().
Referenced by findTrackSeeds().
|
private |
Definition at line 211 of file PCASeedFinderAlg.cxx.
References m_geometry, norm, geo::PlaneID::Plane, sw, w, geo::WireID::Wire, geo::GeometryCore::WireCoordinate(), geo::GeometryCore::WirePitch(), and x.
Referenced by findTrackSeeds().
|
private |
Definition at line 63 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
Definition at line 61 of file PCASeedFinderAlg.h.
Referenced by LineFit2DHits(), and PCASeedFinderAlg().
|
private |
The minimum cos(ang) between input and seed axes.
Definition at line 65 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
Definition at line 64 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
Definition at line 67 of file PCASeedFinderAlg.h.
Referenced by findTrackSeeds(), and getHitsAtEnd().