![]() |
LArSoft
v10_04_05
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::WireReadoutGeom const * | m_wireReadoutGeom |
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 29 of file PCASeedFinderAlg.h.
lar_cluster3d::PCASeedFinderAlg::PCASeedFinderAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 37 of file PCASeedFinderAlg.cxx.
References Get, fhicl::ParameterSet::get(), m_gapDistance, m_minAllowedCosAng, m_numSeed2DHits, and m_wireReadoutGeom.
|
overridevirtual |
Given the list of hits this will search for candidate Seed objects and return them.
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 49 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 152 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 212 of file PCASeedFinderAlg.cxx.
References m_wireReadoutGeom, norm, geo::WireReadoutGeom::Plane(), geo::PlaneID::Plane, sw, w, geo::WireID::Wire, geo::PlaneGeo::WireCoordinate(), geo::PlaneGeo::WirePitch(), and x.
Referenced by findTrackSeeds().
|
private |
Definition at line 59 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
The minimum cos(ang) between input and seed axes.
Definition at line 61 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
Definition at line 60 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and PCASeedFinderAlg().
|
private |
Definition at line 63 of file PCASeedFinderAlg.h.
Referenced by findTrackSeeds(), and getHitsAtEnd().
|
private |
Definition at line 57 of file PCASeedFinderAlg.h.
Referenced by LineFit2DHits(), and PCASeedFinderAlg().