8 #ifndef CORNERFINDERALG_H 9 #define CORNERFINDERALG_H 39 void GrabWires( std::vector<recob::Wire>
const& wireVec ,
43 void get_feature_points(std::vector<recob::EndPoint2D> &,
46 void get_feature_points_LineIntegralScore(std::vector<recob::EndPoint2D> &,
49 void get_feature_points_fast(std::vector<recob::EndPoint2D> &,
52 float line_integral(TH2F
const&
hist,
int x1,
float y1,
int x2,
float y2,
float threshold);
54 std::vector<float> line_integrals(
trkf::BezierTrack&,
size_t Steps,
float threshold);
56 TH2F
const& GetWireDataHist(
unsigned int);
57 TH2F
const& GetConversionHist(
unsigned int);
58 TH2F
const& GetDerivativeXHist(
unsigned int);
59 TH2F
const& GetDerivativeYHist(
unsigned int);
60 TH2D
const& GetCornerScoreHist(
unsigned int);
61 TH2D
const& GetMaxSuppressHist(
unsigned int);
65 void CleanCornerFinderAlg();
108 void create_image_histo(TH2F
const& h_wire_data, TH2F & h_conversion);
109 void create_derivative_histograms(TH2F
const& h_conversion, TH2F & h_derivative_x, TH2F & h_derivative_y);
110 void create_cornerScore_histogram(TH2F
const& h_derivative_x, TH2F
const& h_derivative_y, TH2D & h_cornerScore);
111 size_t perform_maximum_suppression(TH2D
const& h_cornerScore,
112 std::vector<recob::EndPoint2D> & corner_vector,
113 std::vector<geo::WireID> wireIDs,
115 TH2D & h_maxSuppress,
119 size_t calculate_line_integral_score( TH2F
const& h_wire_data,
120 std::vector<recob::EndPoint2D>
const & corner_vector,
121 std::vector<recob::EndPoint2D> & corner_lineIntegralScore_vector,
122 TH2F & h_lineIntegralScore);
124 void attach_feature_points(TH2F
const& h_wire_data,
125 std::vector<geo::WireID> wireIDs,
127 std::vector<recob::EndPoint2D>&,
128 int startx=0,
int starty=0);
129 void attach_feature_points_LineIntegralScore(TH2F
const& h_wire_data,
130 std::vector<geo::WireID> wireIDs,
132 std::vector<recob::EndPoint2D>&);
136 void remove_duplicates(std::vector<recob::EndPoint2D>&);
143 #endif //CORNERFINDERALG_H std::string fDerivative_BlurFunc
std::vector< std::tuple< int, TH2F, int, int > > WireData_trimmed_histos
std::string fConversion_func
std::vector< TH2D > fMaxSuppress_histos
Float_t y1[n_points_granero]
std::string fCornerScore_algorithm
float fIntegral_fraction_threshold
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
int fDerivative_neighborhood
std::vector< TH2D > fCornerScore_histos
std::vector< TH2F > fDerivativeX_histos
Float_t x1[n_points_granero]
int fCornerScore_neighborhood
std::vector< TH2F > fDerivativeY_histos
std::string fCalDataModuleLabel
std::string fConversion_algorithm
float fIntegral_bin_threshold
Float_t y2[n_points_geant4]
float fCornerScore_Noble_epsilon
std::vector< TH1D > WireData_histos_ProjectionY
std::vector< TH2F > WireData_histos
std::string fDerivative_method
The geometry of one entire detector, as served by art.
std::vector< std::vector< geo::WireID > > WireData_IDs
std::vector< TH1D > WireData_histos_ProjectionX
int fConversion_bins_per_input_x
std::vector< TH2F > fConversion_histos
float fCornerScore_Harris_kappa
unsigned int event_number
float fConversion_threshold
int fDerivative_BlurNeighborhood
int fMaxSuppress_neighborhood
double fTrimming_totalThreshold
Declaration of basic channel signal object.
int fMaxSuppress_threshold
Float_t x2[n_points_geant4]
int fConversion_bins_per_input_y
int fConversion_func_neighborhood
art framework interface to geometry description
float fTrimming_threshold