![]() |
PandaRoot
|
#include <PndHoughMerge.h>
Public Member Functions | |
PndHoughMerge (PndHoughData *data) | |
virtual | ~PndHoughMerge () |
virtual void | SetCutMergeByHoughSpace (float cut) |
Sets the value of the distance in the Hough space within two tracklets have to be merged. More... | |
virtual void | SetWithGhostReduction (bool ghostred) |
Sets a bool for deciding to use a ghost reduction. More... | |
virtual void | SetUtilities (PndHoughUtilities *utilities) |
virtual void | SetTrackCorrection (PndHoughTrackCorrection *correction) |
void | mergeByHoughSpace (std::vector< TVector3 > &PreselectedCircles, std::vector< PndTrackCand > &TrackCands, double fBz) |
All tracklets are determined that have to be merged. More... | |
void | mergeSingle (std::vector< std::vector< int >> &mergeTracks, std::vector< PndTrack > &Tracks, std::vector< PndTrackCand > &TrackCands, double fBz) |
Here all tracklets are merged. More... | |
double | findMedian (std::vector< double > a) |
bool | IsGhost (std::vector< double > &trackcirc) |
Determines whether the specified track is a ghost. More... | |
void | CalculateGhostReductionParameters (std::vector< double > &trackcirc) |
Calculates the ghost reduction parameters. More... | |
void | CountHits () |
Counts the number of hits of different detector parts for a specific track candidate. More... | |
PndTrack | GetMergedTrack (int i) |
Returns a specific merged track. More... | |
int | GetNumMergedTracks () |
Returns a specific merged track candidate. More... | |
void | UpdateMergedTrack (int i, PndTrack &track) |
Returns the number of merged track candidates. More... | |
PANDA class for merging single tracklets Task level RECO
Definition at line 27 of file PndHoughMerge.h.
|
inline |
Definition at line 29 of file PndHoughMerge.h.
References PndHoughData::GetMapFairLinktoFairHit().
|
inlinevirtual |
Definition at line 43 of file PndHoughMerge.h.
void PndHoughMerge::CalculateGhostReductionParameters | ( | std::vector< double > & | trackcirc | ) |
Calculates the ghost reduction parameters.
Referenced by SetTrackCorrection().
void PndHoughMerge::CountHits | ( | ) |
Counts the number of hits of different detector parts for a specific track candidate.
Referenced by SetTrackCorrection().
double PndHoughMerge::findMedian | ( | std::vector< double > | a | ) |
Referenced by SetTrackCorrection().
|
inline |
Returns a specific merged track.
Definition at line 66 of file PndHoughMerge.h.
References i.
Referenced by PndHoughTrackFinder::GetMergedTrack().
|
inline |
Returns a specific merged track candidate.
Returns the number of merged track.
Definition at line 70 of file PndHoughMerge.h.
Referenced by PndHoughTrackFinder::GetNumMergedTracks().
bool PndHoughMerge::IsGhost | ( | std::vector< double > & | trackcirc | ) |
Determines whether the specified track is a ghost.
Referenced by SetTrackCorrection().
void PndHoughMerge::mergeByHoughSpace | ( | std::vector< TVector3 > & | PreselectedCircles, |
std::vector< PndTrackCand > & | TrackCands, | ||
double | fBz | ||
) |
All tracklets are determined that have to be merged.
Referenced by SetTrackCorrection().
void PndHoughMerge::mergeSingle | ( | std::vector< std::vector< int >> & | mergeTracks, |
std::vector< PndTrack > & | Tracks, | ||
std::vector< PndTrackCand > & | TrackCands, | ||
double | fBz | ||
) |
Here all tracklets are merged.
Referenced by SetTrackCorrection().
|
inlinevirtual |
Sets the value of the distance in the Hough space within two tracklets have to be merged.
Definition at line 45 of file PndHoughMerge.h.
References cut.
|
inlinevirtual |
Definition at line 51 of file PndHoughMerge.h.
References CalculateGhostReductionParameters(), CountHits(), findMedian(), IsGhost(), mergeByHoughSpace(), and mergeSingle().
|
inlinevirtual |
Definition at line 49 of file PndHoughMerge.h.
|
inlinevirtual |
Sets a bool for deciding to use a ghost reduction.
Definition at line 47 of file PndHoughMerge.h.
|
inline |
Returns the number of merged track candidates.
Definition at line 73 of file PndHoughMerge.h.
References i.