LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Algorithm to find 2D end points. More...
#include "EndPointAlg.h"
Public Member Functions | |
EndPointAlg (fhicl::ParameterSet const &pset) | |
virtual | ~EndPointAlg () |
void | reconfigure (fhicl::ParameterSet const &pset) |
size_t | EndPoint (const art::PtrVector< recob::Cluster > &clusIn, std::vector< recob::EndPoint2D > &vtxcol, std::vector< art::PtrVector< recob::Hit > > &vtxHitsOut, art::Event const &evt, std::string const &label) |
Private Member Functions | |
double | Gaussian (int x, int y, double sigma) |
double | GaussianDerivativeX (int x, int y) |
double | GaussianDerivativeY (int x, int y) |
void | VSSaveBMPFile (const char *fileName, unsigned char *pix, int dx, int dy) |
Private Attributes | |
int | fTimeBins |
int | fMaxCorners |
double | fGsigma |
int | fWindow |
double | fThreshold |
int | fSaveVertexMap |
Algorithm to find 2D end points.
Definition at line 28 of file EndPointAlg.h.
|
explicit |
The algorithm is based on: C. Harris and M. Stephens (1988). "A combined corner and edge detector". Proceedings of the 4th Alvey Vision Conference. pp. 147-151. B. Morgan (2010). "Interest Point Detection for Reconstruction in High Granularity Tracking Detectors". arXiv:1006.3012v1 [physics.ins-det]
Definition at line 51 of file EndPointAlg.cxx.
References reconfigure().
|
virtual |
Definition at line 57 of file EndPointAlg.cxx.
size_t cluster::EndPointAlg::EndPoint | ( | const art::PtrVector< recob::Cluster > & | clusIn, |
std::vector< recob::EndPoint2D > & | vtxcol, | ||
std::vector< art::PtrVector< recob::Hit > > & | vtxHitsOut, | ||
art::Event const & | evt, | ||
std::string const & | label | ||
) |
Definition at line 136 of file EndPointAlg.cxx.
References art::PtrVector< T >::begin(), art::PtrVector< T >::clear(), geo::CryostatID::Cryostat, geo::GeometryCore::Cryostat(), detinfo::DetectorProperties::DriftVelocity(), detinfo::DetectorProperties::Efield(), art::PtrVector< T >::end(), fGsigma, fMaxCorners, fSaveVertexMap, fThreshold, fTimeBins, fWindow, Gaussian(), GaussianDerivativeX(), GaussianDerivativeY(), n, geo::PlaneGeo::Nwires(), geo::TPCGeo::Plane(), geo::PlaneID::Plane, art::PtrVector< T >::push_back(), detinfo::DetectorProperties::ReadOutWindowSize(), detinfo::DetectorProperties::SamplingRate(), art::PtrVector< T >::size(), detinfo::DetectorProperties::Temperature(), geo::CryostatGeo::TPC(), geo::TPCID::TPC, geo::GeometryCore::Views(), VSSaveBMPFile(), w, geo::WireID::WireID(), geo::GeometryCore::WirePitch(), x, and y.
Referenced by cluster::EndPointModule::produce().
|
private |
Definition at line 73 of file EndPointAlg.cxx.
References fhicl::detail::atom::value().
Referenced by EndPoint().
|
private |
Definition at line 81 of file EndPointAlg.cxx.
References fGsigma, fhicl::detail::atom::value(), and x.
Referenced by EndPoint().
|
private |
Definition at line 89 of file EndPointAlg.cxx.
References fGsigma, fhicl::detail::atom::value(), and y.
Referenced by EndPoint().
void cluster::EndPointAlg::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 62 of file EndPointAlg.cxx.
References fGsigma, fMaxCorners, fSaveVertexMap, fThreshold, fTimeBins, fWindow, and fhicl::ParameterSet::get().
Referenced by EndPointAlg(), and cluster::EndPointModule::reconfigure().
|
private |
|
private |
Definition at line 53 of file EndPointAlg.h.
Referenced by EndPoint(), GaussianDerivativeX(), GaussianDerivativeY(), and reconfigure().
|
private |
Definition at line 52 of file EndPointAlg.h.
Referenced by EndPoint(), and reconfigure().
|
private |
Definition at line 56 of file EndPointAlg.h.
Referenced by EndPoint(), and reconfigure().
|
private |
Definition at line 55 of file EndPointAlg.h.
Referenced by EndPoint(), and reconfigure().
|
private |
Definition at line 51 of file EndPointAlg.h.
Referenced by EndPoint(), and reconfigure().
|
private |
Definition at line 54 of file EndPointAlg.h.
Referenced by EndPoint(), and reconfigure().