LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SkeletonAlg.h"
Public Member Functions | |
SkeletonAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
virtual | ~SkeletonAlg () |
Destructor. More... | |
void | reconfigure (fhicl::ParameterSet const &pset) |
a handler for the case where the algorithm control parameters are to be reset More... | |
int | FindMedialSkeleton (reco::HitPairListPtr &hitPairList) const |
This is intended to find the medial skeleton given a list of input hit pairs. More... | |
void | GetSkeletonHits (const reco::HitPairListPtr &inputHitList, reco::HitPairListPtr &skeletonHitList) const |
Return the skeleton hits from the input list. More... | |
void | AverageSkeletonPositions (reco::HitPairListPtr &skeletonHitList) const |
Modifies the position of input skeleton hits by averaging along the "best" wire direction. More... | |
Private Member Functions | |
double | FindFirstAndLastWires (std::vector< const reco::ClusterHit3D * > &hitVec, int planeToCheck, int referenceWire, double referenceTicks, int &firstWire, int &lastWire) const |
A function to find the bounding wires in a given view. More... | |
Private Attributes | |
double | m_minimumDeltaTicks |
double | m_maximumDeltaTicks |
fhicl::ParameterSet | m_pset |
Cluster3D class.
Definition at line 33 of file SkeletonAlg.h.
lar_cluster3d::SkeletonAlg::SkeletonAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 30 of file SkeletonAlg.cxx.
References reconfigure().
|
virtual |
void lar_cluster3d::SkeletonAlg::AverageSkeletonPositions | ( | reco::HitPairListPtr & | skeletonHitList | ) | const |
Modifies the position of input skeleton hits by averaging along the "best" wire direction.
skeletonHitList | - input list of skeleton hits |
Definition at line 331 of file SkeletonAlg.cxx.
References reco::ClusterHit3D::getArclenToPoca(), reco::ClusterHit3D::getAvePeakTime(), reco::ClusterHit3D::getDeltaPeakTime(), reco::ClusterHit3D::getDocaToAxis(), reco::ClusterHit3D::getHitChiSquare(), reco::ClusterHit3D::getHitDelTSigVec(), reco::ClusterHit3D::getHits(), reco::ClusterHit3D::getID(), reco::ClusterHit3D::getPosition(), reco::ClusterHit3D::getSigmaPeakTime(), reco::ClusterHit3D::getStatusBits(), reco::ClusterHit3D::getTotalCharge(), reco::ClusterHit3D::getWireIDs(), reco::ClusterHit3D::REJECTEDHIT, reco::ClusterHit3D::setPosition(), and reco::ClusterHit3D::SKELETONPOSAVE.
Referenced by lar_cluster3d::Cluster3D::findTrackSeeds(), lar_cluster3d::Cluster3D::splitClustersWithHough(), and lar_cluster3d::Cluster3D::splitClustersWithMST().
|
private |
A function to find the bounding wires in a given view.
Definition at line 49 of file SkeletonAlg.cxx.
References m_maximumDeltaTicks, m_minimumDeltaTicks, max, and min.
Referenced by FindMedialSkeleton().
int lar_cluster3d::SkeletonAlg::FindMedialSkeleton | ( | reco::HitPairListPtr & | hitPairList | ) | const |
This is intended to find the medial skeleton given a list of input hit pairs.
hitPairList | - input list of pointers to internal Cluster3D 3D hits |
Definition at line 159 of file SkeletonAlg.cxx.
References reco::ClusterHit3D::EDGEHIT, FindFirstAndLastWires(), reco::ClusterHit2D::getTimeTicks(), reco::ClusterHit3D::REJECTEDHIT, and reco::ClusterHit3D::SKELETONHIT.
void lar_cluster3d::SkeletonAlg::GetSkeletonHits | ( | const reco::HitPairListPtr & | inputHitList, |
reco::HitPairListPtr & | skeletonHitList | ||
) | const |
Return the skeleton hits from the input list.
inputHitList | - input list of pointers to internal Cluster3D 3D hits |
skeletonHitList | - output list of skeleton hits |
Definition at line 324 of file SkeletonAlg.cxx.
References reco::ClusterHit3D::SKELETONHIT.
Referenced by lar_cluster3d::Cluster3D::findTrackSeeds(), lar_cluster3d::Cluster3D::splitClustersWithHough(), and lar_cluster3d::Cluster3D::splitClustersWithMST().
void lar_cluster3d::SkeletonAlg::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
a handler for the case where the algorithm control parameters are to be reset
Definition at line 43 of file SkeletonAlg.cxx.
References fhicl::ParameterSet::get(), m_maximumDeltaTicks, and m_minimumDeltaTicks.
Referenced by lar_cluster3d::Cluster3D::reconfigure(), and SkeletonAlg().
|
private |
Definition at line 91 of file SkeletonAlg.h.
Referenced by FindFirstAndLastWires(), and reconfigure().
|
private |
Definition at line 90 of file SkeletonAlg.h.
Referenced by FindFirstAndLastWires(), and reconfigure().
|
private |
Definition at line 93 of file SkeletonAlg.h.