LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SkeletonAlg.h"
Public Member Functions | |
SkeletonAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~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 28 of file SkeletonAlg.h.
lar_cluster3d::SkeletonAlg::SkeletonAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 24 of file SkeletonAlg.cxx.
References reconfigure().
lar_cluster3d::SkeletonAlg::~SkeletonAlg | ( | ) |
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 309 of file SkeletonAlg.cxx.
References reco::ClusterHit3D::getArclenToPoca(), reco::ClusterHit3D::getAvePeakTime(), reco::ClusterHit3D::getChargeAsymmetry(), reco::ClusterHit3D::getDeltaPeakTime(), reco::ClusterHit3D::getDocaToAxis(), reco::ClusterHit3D::getHitChiSquare(), reco::ClusterHit3D::getHitDelTSigVec(), reco::ClusterHit3D::getHits(), reco::ClusterHit3D::getID(), reco::ClusterHit3D::getOverlapFraction(), 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(), and lar_cluster3d::Cluster3D::splitClustersWithHough().
|
private |
A function to find the bounding wires in a given view.
Definition at line 41 of file SkeletonAlg.cxx.
References m_maximumDeltaTicks, and m_minimumDeltaTicks.
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 140 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 300 of file SkeletonAlg.cxx.
References reco::ClusterHit3D::SKELETONHIT.
Referenced by lar_cluster3d::Cluster3D::findTrackSeeds(), and lar_cluster3d::Cluster3D::splitClustersWithHough().
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 35 of file SkeletonAlg.cxx.
References fhicl::ParameterSet::get(), m_maximumDeltaTicks, and m_minimumDeltaTicks.
Referenced by SkeletonAlg().
|
private |
Definition at line 85 of file SkeletonAlg.h.
Referenced by FindFirstAndLastWires(), and reconfigure().
|
private |
Definition at line 84 of file SkeletonAlg.h.
Referenced by FindFirstAndLastWires(), and reconfigure().
|
private |
Definition at line 87 of file SkeletonAlg.h.