13#ifndef TRGCDCPeakFinder_FLAG_
14#define TRGCDCPeakFinder_FLAG_
19#ifdef TRGCDC_SHORT_NAMES
20#define TCPeakFinder TRGCDCPeakFinder
30 class TRGCDCHoughPlaneMulti2;
46 std::string
name(
void)
const;
49 std::string
version(
void)
const;
53 const unsigned threshold,
54 const bool centerIsPeak,
55 std::vector<unsigned>& peakSerialIds)
const;
59 const unsigned threshold,
60 std::vector<std::vector<unsigned>>& peaks)
const;
69 const unsigned threshold,
70 std::vector<std::vector<unsigned>>& peaks)
const;
A class to represent a Hough parameter plane.
A class to represent a Hough parameter plane.
A class to find peaks in Hough Plane.
const std::string _name
Name.
void regions(TRGCDCHoughPlane &hp, const unsigned threshold) const
Makes regions.
virtual ~TRGCDCPeakFinder()
Destructor.
void findPeaks(const TRGCDCHoughPlaneMulti2 &hp, const unsigned threshold, std::vector< std::vector< unsigned > > &peaks) const
do peak finding. Kaiyu's version using p1p2Methode.
void p1p2Methode(const TRGCDCHoughPlane &hp, const unsigned threshold, std::vector< std::vector< unsigned > > &peaks) const
Kaiyu's logic. Finds peaks from nested patterns.
void findPeaksTrasan(TRGCDCHoughPlaneMulti2 &hp, const unsigned threshold, const bool centerIsPeak, std::vector< unsigned > &peakSerialIds) const
do peak finding. This is a copy from "trasan".
std::string name(void) const
returns name.
std::string version(void) const
returns version.
Abstract base class for different kinds of events.