![]() |
Belle II Software
release-08-02-04
|
A class to find tracks using Hough algorithm. More...
#include <HoughFinder.h>

Public Member Functions | |
| TRGCDCHoughFinder (const std::string &name, const TRGCDC &, unsigned peakMin, const std::string &mappingFilePlus, const std::string &mappingFileMinus, unsigned doit) | |
| Contructor. | |
| virtual | ~TRGCDCHoughFinder () |
| Destructor. | |
| std::string | name (void) const |
| returns name. | |
| std::string | version (void) const |
| returns version. | |
| void | terminate () |
| termination. | |
| int | FindAndFit (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
| do track finding and fitting (wrapper that can choose between different versions). | |
| bool | perfect (bool) |
| sets and returns switch to do perfect finding. | |
Private Member Functions | |
| int | doFindingAndFittingTrasan (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
| do track finding and fitting (Trasan version). | |
| int | doFindingAndFitting (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
| do track finding and fitting (Kaiyu version). | |
| std::vector< TRGCDCLink * > | selectBestHits (const std::vector< TRGCDCLink * > &links) const |
| selects the best(fastest) hits in each super layer. | |
| void | mappingByFile (const std::string &mappingFilePlus, const std::string &mappingFileMinus) |
| creates mappings by a file. | |
| int | doFindingTrasan (std::vector< unsigned > peaks[], std::vector< TRGCDCTrack * > &trackList2D) const |
| do track finding. (trasan version) | |
| int | doFinding (std::vector< std::vector< unsigned >> peaks[], std::vector< TRGCDCTrack * > &trackList2D) |
| do track finding. (kaiyu version) | |
| int | doFittingTrasan (std::vector< unsigned > peaks[], std::vector< TRGCDCTrack * > &trackList2DFitted) const |
| do track fitting. (old trasan version) | |
| int | doFitting (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
| do track fitting. (kaiyu original) More... | |
| TRGCDCTrack * | makeTrack (const unsigned serialID, const unsigned pm) const |
| Make a track from serial ID in Hough plane. More... | |
Static Private Member Functions | |
| static double | calPhi (TRGCDCSegmentHit const *segmentHit, double eventTime) |
| Utility functions. | |
| static void | calCosPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
| Calculate Cos Sin ? More... | |
| static void | calSinPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
| Calculate Cos Sin ? | |
| static void | rPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
| Calculate r * phi ? | |
Private Attributes | |
| const std::string | _name |
| Name. | |
| const TRGCDC & | _cdc |
| CDCTRG. | |
| TRGCDCHoughPlaneMulti2 * | _plane [2] |
| Hough planes, for + and - charges. | |
| TRGCDCHoughTransformationCircle | _circleH |
| Circle Hough transformtion. | |
| const unsigned | _doit |
| Doit version. | |
| TRGCDCPeakFinder | _peakFinder |
| Peak finder. | |
| const unsigned | _peakMin |
| Min. peak height for the peak finder. | |
| std::map< std::string, double > | m_mDouble |
| Map to hold double values for Fitter2D. | |
| std::map< std::string, std::vector< double > > | m_mVector |
| Map to hold vector values for Fitter2D. | |
| std::map< std::string, double > | m_mConstants |
| Map to hold const values for Fitter2D. | |
| std::map< std::string, double > | m_mConstD |
| Map to ? | |
| std::map< std::string, std::vector< double > > | m_mConstV |
| Map to ? | |
| std::map< std::string, bool > | m_mBool |
| Map to hold input options. | |
| std::map< std::string, TRGCDCJSignal > | m_mSignalStorage |
| Map to hold JSignals. | |
| std::map< std::string, TRGCDCJLUT * > | m_mLutStorage |
| Map to hold JLuts. | |
| TRGCDCJSignalData * | _commonData |
| For VHDL code. | |
A class to find tracks using Hough algorithm.
Definition at line 42 of file HoughFinder.h.