PandaRoot
PndHoughPreprocessing Class Reference

#include <PndHoughPreprocessing.h>

Public Member Functions

 PndHoughPreprocessing (PndHoughData *data)
 
virtual ~PndHoughPreprocessing ()
 
PndTrackCand CleanData (PndTrackCand &trackCand)
 Deletes all hits, where a tube is hitted twice or more. More...
 
PndTrackCand RejectSkewed (PndTrackCand &trackCand)
 Deletes all skewed hits. More...
 
PndTrackCand CleanAndRejectSkewed (PndTrackCand &trackCand)
 Deletes all hits, where a tube is hitted twice or more and all skewed hits. More...
 

Detailed Description

Definition at line 21 of file PndHoughPreprocessing.h.

Constructor & Destructor Documentation

◆ PndHoughPreprocessing()

PndHoughPreprocessing::PndHoughPreprocessing ( PndHoughData data)
inline

Definition at line 24 of file PndHoughPreprocessing.h.

25  : fHits(data->GetHits()), fMapTubetoHit(data->GetMapTubetoHit()), fMapFairLinktoFairHit(data->GetMapFairLinktoFairHit()),
26  fMapFairLinktoIsochrone(data->GetMapFairLinktoIsochrone()), fMapFairLinktoIsochroneError(data->GetMapFairLinktoIsochroneError()),
27  fMapFairLinktoTubeId(data->GetMapFairLinktoTubeId()), fStrawMap(data->GetStrawMap())
28  {
29  ioman = FairRootManager::Instance();
30  };
std::map< FairLink, Int_t > GetMapFairLinktoTubeId() const
Returns the map linking FairLinks to corresponding tubeId.
Definition: PndHoughData.h:110
std::map< FairLink, Double_t > GetMapFairLinktoIsochroneError() const
Returns the map linking FairLinks to isochrone radius errors.
Definition: PndHoughData.h:108
std::vector< FairHit * > GetHits() const
Returns a vector of all hits in the event.
Definition: PndHoughData.h:96
std::map< FairLink, FairHit * > GetMapFairLinktoFairHit() const
Returns the map linking FairLinks to FairHits.
Definition: PndHoughData.h:104
PndSttStrawMap * GetStrawMap() const
Returns the straw map for a fast access.
Definition: PndHoughData.h:102
std::map< int, FairHit * > GetMapTubetoHit() const
Returns the map linking a tube to a FairHit.
Definition: PndHoughData.h:112
std::map< FairLink, Double_t > GetMapFairLinktoIsochrone() const
Returns the map linking FairLinks to isochrone radii.
Definition: PndHoughData.h:106

◆ ~PndHoughPreprocessing()

virtual PndHoughPreprocessing::~PndHoughPreprocessing ( )
inlinevirtual

Definition at line 32 of file PndHoughPreprocessing.h.

References CleanAndRejectSkewed(), CleanData(), and RejectSkewed().

32 {};

Member Function Documentation

◆ CleanAndRejectSkewed()

PndTrackCand PndHoughPreprocessing::CleanAndRejectSkewed ( PndTrackCand trackCand)

Deletes all hits, where a tube is hitted twice or more and all skewed hits.

Referenced by ~PndHoughPreprocessing().

◆ CleanData()

PndTrackCand PndHoughPreprocessing::CleanData ( PndTrackCand trackCand)

Deletes all hits, where a tube is hitted twice or more.

Referenced by ~PndHoughPreprocessing().

◆ RejectSkewed()

PndTrackCand PndHoughPreprocessing::RejectSkewed ( PndTrackCand trackCand)

Deletes all skewed hits.

Referenced by ~PndHoughPreprocessing().


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