![]() |
PandaRoot
|
#include <PndHoughTrackFinder.h>
Public Member Functions | |
PndHoughTrackFinder () | |
PndHoughTrackFinder (TClonesArray *tubeArray) | |
virtual | ~PndHoughTrackFinder () |
virtual void | SetBinningX (double bin) |
Sets the number of bins in x direction for the Hough space. More... | |
virtual void | SetBinningY (double bin) |
Sets the number of bins in y direction for the Hough space. More... | |
virtual void | SetNBinsSeg (Int_t n) |
Sets the number of bins used for the segmentation preselection algorithm. More... | |
virtual void | SetBz (double B) |
Sets the z component of the magnetic field. More... | |
virtual void | SetCutMergeByHoughSpace (float cut) |
Sets the cut value for the distance of two maxima in the Hough space which have to be merged. More... | |
virtual void | SetWithGPU (bool cuda) |
Sets a bool for deciding to use cuda. More... | |
virtual void | SetWithGhostReduction (bool ghostred) |
Sets a bool for deciding to use a ghost reduction. More... | |
virtual void | SetPreselectedTrackCands (std::vector< PndTrackCand > cands) |
virtual void | SetCombinedSkewed (TClonesArray *skewed) |
void | Init () |
Initializes the data structure and the Hough space of the HoughtrackFinder. More... | |
void | Reset () |
Resets the data for a new event. More... | |
void | AddHits (TClonesArray *hits, TString branchName) |
Adds hits to the data structure of the HoughTrackFinder. More... | |
void | CreateNeighborhood () |
Creates the neighborhood parameters for all investigated hits. More... | |
void | FindTracks () |
Main function of the HoughTrackFinder, which finds the tracks. More... | |
void | Preselection () |
Here all data are preselected in smaller tracklets. More... | |
void | FindHoughMaxima () |
Performs a Hough transformation for all preselected tracklets. The found track parameters are stored in fPreselectedTrackCircles. More... | |
void | AddSkewedHits (int i) |
PndTrackCand | GetPreselectedTrackCand (int i) |
Returns a specific preselected track candidate. More... | |
int | GetNumPreselectedTrackCands () |
Returns the number of preselected track candidates. More... | |
TVector3 | GetPreselectedTrackCircles (int i) |
Returns a the corresponding circle for a specific preselected track candidate. More... | |
int | GetNumPreselectedTrackCircles () |
Returns the number of preselected circles for track candidates. More... | |
PndTrack | GetMergedTrack (int i) |
Returns a specific found track. More... | |
int | GetNumMergedTracks () |
Returns the number of found tracks. More... | |
std::map< FairLink, FairHit * > | GetMapFairLinktoFairHit () |
Returns a specific found track candidate. More... | |
PndHoughData * | GetData () |
Returns the data class of the HoughTrackFinder. More... | |
PANDA class for finding tracks based on a hough transformation Task level RECO
Definition at line 31 of file PndHoughTrackFinder.h.
|
inline |
Definition at line 33 of file PndHoughTrackFinder.h.
|
inline |
Definition at line 35 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Destructor
Definition at line 44 of file PndHoughTrackFinder.h.
void PndHoughTrackFinder::AddHits | ( | TClonesArray * | hits, |
TString | branchName | ||
) |
Adds hits to the data structure of the HoughTrackFinder.
Referenced by Reset().
void PndHoughTrackFinder::AddSkewedHits | ( | int | i | ) |
Referenced by CreateNeighborhood().
|
inline |
Creates the neighborhood parameters for all investigated hits.
Definition at line 96 of file PndHoughTrackFinder.h.
References AddSkewedHits(), PndHoughData::CreateGEMNeighborhoodData(), PndHoughData::CreateSTTNeighborhoodData(), FindHoughMaxima(), FindTracks(), i, and Preselection().
void PndHoughTrackFinder::FindHoughMaxima | ( | ) |
Performs a Hough transformation for all preselected tracklets. The found track parameters are stored in fPreselectedTrackCircles.
Referenced by CreateNeighborhood().
void PndHoughTrackFinder::FindTracks | ( | ) |
Main function of the HoughTrackFinder, which finds the tracks.
Referenced by CreateNeighborhood().
|
inline |
Returns the data class of the HoughTrackFinder.
Definition at line 138 of file PndHoughTrackFinder.h.
|
inline |
Returns a specific found track candidate.
Returns the number of found track candidates. Returns a map linking FairLinks to the corresponding FairHits.
Definition at line 135 of file PndHoughTrackFinder.h.
References PndHoughData::GetMapFairLinktoFairHit().
|
inline |
Returns a specific found track.
Definition at line 123 of file PndHoughTrackFinder.h.
References PndHoughMerge::GetMergedTrack().
|
inline |
Returns the number of found tracks.
Definition at line 126 of file PndHoughTrackFinder.h.
References PndHoughMerge::GetNumMergedTracks().
|
inline |
Returns the number of preselected track candidates.
Definition at line 114 of file PndHoughTrackFinder.h.
|
inline |
Returns the number of preselected circles for track candidates.
Definition at line 120 of file PndHoughTrackFinder.h.
|
inline |
Returns a specific preselected track candidate.
Definition at line 111 of file PndHoughTrackFinder.h.
References i.
|
inline |
Returns a the corresponding circle for a specific preselected track candidate.
Definition at line 117 of file PndHoughTrackFinder.h.
References i.
|
inline |
Initializes the data structure and the Hough space of the HoughtrackFinder.
Definition at line 74 of file PndHoughTrackFinder.h.
References PndHoughData::Init(), and PndSttCA::SetUseGPU().
void PndHoughTrackFinder::Preselection | ( | ) |
Here all data are preselected in smaller tracklets.
Referenced by CreateNeighborhood().
|
inline |
Resets the data for a new event.
Definition at line 81 of file PndHoughTrackFinder.h.
References AddHits(), PndHoughData::clear(), PndSttCA::Reset(), and PndSttCA::SetUseGPU().
|
inlinevirtual |
Sets the number of bins in x direction for the Hough space.
Definition at line 58 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Sets the number of bins in y direction for the Hough space.
Definition at line 60 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Sets the z component of the magnetic field.
Definition at line 64 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Definition at line 72 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Sets the cut value for the distance of two maxima in the Hough space which have to be merged.
Definition at line 66 of file PndHoughTrackFinder.h.
References cut.
|
inlinevirtual |
Sets the number of bins used for the segmentation preselection algorithm.
Definition at line 62 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Definition at line 71 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Sets a bool for deciding to use a ghost reduction.
Definition at line 70 of file PndHoughTrackFinder.h.
|
inlinevirtual |
Sets a bool for deciding to use cuda.
Definition at line 68 of file PndHoughTrackFinder.h.