PandaRoot
PndFtsHoughTracklet Class Reference

Class for saving the result of one Hough transform for FTS PR. More...

#include <PndFtsHoughTracklet.h>

Inheritance diagram for PndFtsHoughTracklet:
PndTrackCand

Public Member Functions

 PndFtsHoughTracklet (Double_t zRefLabSys=0., PndFtsHoughTrackerTask *trackerTask=nullptr)
 Set pointer to tracker task (super important as it provides an I/O interface to PandaRoot) More...
 
 ~PndFtsHoughTracklet ()
 
void Print () const
 
Bool_t isSet () const
 
void SetHoughTransformResults (const Double_t thetaVal, const Double_t secondVal, const Double_t peakHeight, const Double_t thetaHw, const Double_t secondHw)
 
Double_t getPeakHeightFromPeakFinder () const
 
Double_t getThetaRadVal () const
 
Double_t getThetaRadHw () const
 
Double_t getSecondVal () const
 
Double_t getSecondHw () const
 
Double_t getZRefLabSys () const
 
UInt_t getNSharedHits (const PndFtsHoughTracklet &rhs)
 
- Public Member Functions inherited from PndTrackCand
 PndTrackCand ()
 
 ~PndTrackCand ()
 
bool operator== (const PndTrackCand &rhs)
 
PndTrackCandHit GetSortedHit (UInt_t i)
 
UInt_t GetNHits () const
 
int getMcTrackId () const
 
UInt_t GetNHitsDet (Int_t detId)
 
std::vector< PndTrackCandHitGetSortedHits ()
 
void Sort ()
 
void AddHit (UInt_t detId, UInt_t hitId, Double_t rho)
 
void AddHit (TString branchName, UInt_t hitId, Double_t rho)
 
void AddHit (FairLink link, Double_t rho)
 
void DeleteHit (UInt_t detId, UInt_t hitId)
 
Int_t HitInTrack (UInt_t detId, UInt_t hitId) const
 
void setMcTrackId (int i)
 
void CalcTimeStamp ()
 
void ResetLinks ()
 
void Print () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
 ClassDef (PndTrackCand, 3)
 

Detailed Description

Class for saving the result of one Hough transform for FTS PR.

Author
Martin J. Galuska <martin [dot] j [dot] galuska (at) physik [dot] uni (minus) giessen [dot] de>

One object of this class corresponds to one peak in the Hough space or part of a track candidate. The tracklet can represent a line or a parabola (actually an arbitrary result of a 2d Hough transform).

Created: 11.02.2014

Definition at line 32 of file PndFtsHoughTracklet.h.

Constructor & Destructor Documentation

◆ PndFtsHoughTracklet()

PndFtsHoughTracklet::PndFtsHoughTracklet ( Double_t  zRefLabSys = 0.,
PndFtsHoughTrackerTask trackerTask = nullptr 
)

Set pointer to tracker task (super important as it provides an I/O interface to PandaRoot)

◆ ~PndFtsHoughTracklet()

PndFtsHoughTracklet::~PndFtsHoughTracklet ( )

Member Function Documentation

◆ getNSharedHits()

UInt_t PndFtsHoughTracklet::getNSharedHits ( const PndFtsHoughTracklet rhs)

Referenced by getZRefLabSys().

◆ getPeakHeightFromPeakFinder()

Double_t PndFtsHoughTracklet::getPeakHeightFromPeakFinder ( ) const
inline

Definition at line 48 of file PndFtsHoughTracklet.h.

48 { return fPeakHeightFromPeakFinder; };

◆ getSecondHw()

Double_t PndFtsHoughTracklet::getSecondHw ( ) const
inline

Definition at line 53 of file PndFtsHoughTracklet.h.

53 { return fSecondHw; }; // hw = half width = half length of Hough space bin

◆ getSecondVal()

Double_t PndFtsHoughTracklet::getSecondVal ( ) const
inline

Definition at line 51 of file PndFtsHoughTracklet.h.

Referenced by PndFtsHoughTrackCand::getCharge(), and PndFtsHoughTrackCand::getZParabolaLine().

51 { return fSecondVal; }; // second value for peak, see below for explanation

◆ getThetaRadHw()

Double_t PndFtsHoughTracklet::getThetaRadHw ( ) const
inline

Definition at line 50 of file PndFtsHoughTracklet.h.

50 { return fThetaRadHw; }; // hw = half width = half length of Hough space bin

◆ getThetaRadVal()

Double_t PndFtsHoughTracklet::getThetaRadVal ( ) const
inline

Definition at line 49 of file PndFtsHoughTracklet.h.

Referenced by PndFtsHoughTrackCand::getCharge(), PndFtsHoughTrackCand::getThetaZyRad(), and PndFtsHoughTrackFinder::LineBehindDipoleMatchesToLinePlusParabola().

49 { return fThetaRadVal; }; // theta value for peak (in rad)

◆ getZRefLabSys()

Double_t PndFtsHoughTracklet::getZRefLabSys ( ) const
inline

Definition at line 54 of file PndFtsHoughTracklet.h.

References getNSharedHits().

Referenced by PndFtsHoughTrackCand::getCharge(), and PndFtsHoughTrackFinder::LineBehindDipoleMatchesToLinePlusParabola().

54 { return fZRefLabSys; }; // in cm

◆ isSet()

Bool_t PndFtsHoughTracklet::isSet ( ) const
inline

Definition at line 42 of file PndFtsHoughTracklet.h.

References SetHoughTransformResults().

Referenced by PndFtsHoughTrackCand::isComplete().

42 { return fIsSet; }; // returns kTRUE iif data from the 2d Hough transforms have been entered

◆ Print()

void PndFtsHoughTracklet::Print ( ) const

◆ SetHoughTransformResults()

void PndFtsHoughTracklet::SetHoughTransformResults ( const Double_t  thetaVal,
const Double_t  secondVal,
const Double_t  peakHeight,
const Double_t  thetaHw,
const Double_t  secondHw 
)

Referenced by isSet().


The documentation for this class was generated from the following file: