PandaRoot
PndHoughSegment Class Reference

#include <PndHoughSegment.h>

Public Member Functions

 PndHoughSegment (PndHoughData *fData)
 
virtual ~PndHoughSegment ()
 
virtual void SetNBins (Int_t n)
 Sets the number of bins for a range from -180 to 180. The efficiency of the algorithm depends strongly on that parameter. More...
 
TClonesArray * CreateTrackCands (PndTrackCand &Cand)
 Creates track candidates. More...
 

Protected Member Functions

TH1F * CreateHisto (PndTrackCand &Cand)
 
std::vector< double > FindCuts2Zeros (TH1F &histo)
 
void FillSingleCand (TVector3 &myHit, std::vector< double > &cuts, FairLink &link, PndTrackCand fTrackCandMap[])
 
TClonesArray * FillTrackCands (PndTrackCand &Cand, std::vector< double > &cuts)
 
 ClassDef (PndHoughSegment, 2)
 

Protected Attributes

Int_t fNBins
 
std::map< FairLink, FairHit * > fMapFairLinktoFairHit
 
std::map< int, PndTrackCandfTrackCandMap
 

Detailed Description

PndHoughSegment

Author
Anna Scholl a.sch.nosp@m.oll@.nosp@m.fz-ju.nosp@m.elic.nosp@m.h.de
Since
04.7.2019 02.02.2021
Version
1.0

PANDA class divides hits in tracklets depending on phi Task level RECO

Definition at line 26 of file PndHoughSegment.h.

Constructor & Destructor Documentation

◆ PndHoughSegment()

PndHoughSegment::PndHoughSegment ( PndHoughData fData)

◆ ~PndHoughSegment()

virtual PndHoughSegment::~PndHoughSegment ( )
virtual

Member Function Documentation

◆ ClassDef()

PndHoughSegment::ClassDef ( PndHoughSegment  ,
 
)
protected

◆ CreateHisto()

TH1F* PndHoughSegment::CreateHisto ( PndTrackCand Cand)
protected

Referenced by SetNBins().

◆ CreateTrackCands()

TClonesArray* PndHoughSegment::CreateTrackCands ( PndTrackCand Cand)

Creates track candidates.

Referenced by SetNBins().

◆ FillSingleCand()

void PndHoughSegment::FillSingleCand ( TVector3 &  myHit,
std::vector< double > &  cuts,
FairLink &  link,
PndTrackCand  fTrackCandMap[] 
)
protected

Referenced by SetNBins().

◆ FillTrackCands()

TClonesArray* PndHoughSegment::FillTrackCands ( PndTrackCand Cand,
std::vector< double > &  cuts 
)
protected

Referenced by SetNBins().

◆ FindCuts2Zeros()

std::vector<double> PndHoughSegment::FindCuts2Zeros ( TH1F &  histo)
protected

Referenced by SetNBins().

◆ SetNBins()

virtual void PndHoughSegment::SetNBins ( Int_t  n)
inlinevirtual

Sets the number of bins for a range from -180 to 180. The efficiency of the algorithm depends strongly on that parameter.

Definition at line 33 of file PndHoughSegment.h.

References CreateHisto(), CreateTrackCands(), FillSingleCand(), FillTrackCands(), FindCuts2Zeros(), fNBins, and fTrackCandMap.

33 { fNBins = n; };

Member Data Documentation

◆ fMapFairLinktoFairHit

std::map<FairLink, FairHit *> PndHoughSegment::fMapFairLinktoFairHit
protected

Definition at line 45 of file PndHoughSegment.h.

◆ fNBins

Int_t PndHoughSegment::fNBins
protected

Definition at line 44 of file PndHoughSegment.h.

Referenced by SetNBins().

◆ fTrackCandMap

std::map<int, PndTrackCand> PndHoughSegment::fTrackCandMap
protected

Definition at line 46 of file PndHoughSegment.h.

Referenced by SetNBins().


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