LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
PCASeedFinderAlg class. More...
#include "PCASeedFinderAlg.h"
Public Member Functions | |
PCASeedFinderAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
virtual | ~PCASeedFinderAlg () |
Destructor. More... | |
virtual void | reconfigure (fhicl::ParameterSet const &pset) |
a handler for the case where the algorithm control parameters are to be reset More... | |
virtual bool | findTrackSeeds (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitMap) const |
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 * | 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 36 of file PCASeedFinderAlg.h.
lar_cluster3d::PCASeedFinderAlg::PCASeedFinderAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 43 of file PCASeedFinderAlg.cxx.
References m_geometry, and reconfigure().
|
virtual |
|
virtual |
Given the list of hits this will search for candidate Seed objects and return them.
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 72 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 174 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 238 of file PCASeedFinderAlg.cxx.
References geo::CryostatID::Cryostat, m_geometry, norm, geo::PlaneID::Plane, sw, geo::TPCID::TPC, w, geo::WireID::Wire, geo::GeometryCore::WireCoordinate(), geo::GeometryCore::WirePitch(), and x.
Referenced by findTrackSeeds().
|
virtual |
a handler for the case where the algorithm control parameters are to be reset
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 64 of file PCASeedFinderAlg.cxx.
References fhicl::ParameterSet::get(), m_gapDistance, m_minAllowedCosAng, m_numSeed2DHits, m_pcaAlg, and lar_cluster3d::PrincipalComponentsAlg::reconfigure().
Referenced by PCASeedFinderAlg(), and lar_cluster3d::Cluster3D::reconfigure().
|
private |
Definition at line 75 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and reconfigure().
|
private |
Definition at line 72 of file PCASeedFinderAlg.h.
Referenced by LineFit2DHits(), and PCASeedFinderAlg().
|
private |
The minimum cos(ang) between input and seed axes.
Definition at line 77 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and reconfigure().
|
private |
Definition at line 76 of file PCASeedFinderAlg.h.
Referenced by getHitsAtEnd(), and reconfigure().
|
private |
Definition at line 79 of file PCASeedFinderAlg.h.
Referenced by findTrackSeeds(), getHitsAtEnd(), and reconfigure().