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 9 of file PndHoughPreprocessing.h.

Constructor & Destructor Documentation

◆ PndHoughPreprocessing()

PndHoughPreprocessing::PndHoughPreprocessing ( PndHoughData data)
inline

Definition at line 12 of file PndHoughPreprocessing.h.

13  : fHits(data->GetHits()), fMapTubetoHit(data->GetMapTubetoHit()), fMapFairLinktoFairHit(data->GetMapFairLinktoFairHit()),
14  fMapFairLinktoIsochrone(data->GetMapFairLinktoIsochrone()), fMapFairLinktoIsochroneError(data->GetMapFairLinktoIsochroneError()),
15  fMapFairLinktoTubeId(data->GetMapFairLinktoTubeId()), fStrawMap(data->GetStrawMap())
16  {
17  ioman = FairRootManager::Instance();
18  };
std::map< FairLink, Int_t > GetMapFairLinktoTubeId() const
Returns the map linking FairLinks to corresponding tubeId.
Definition: PndHoughData.h:96
std::map< FairLink, Double_t > GetMapFairLinktoIsochroneError() const
Returns the map linking FairLinks to isochrone radius errors.
Definition: PndHoughData.h:94
std::vector< FairHit * > GetHits() const
Returns a vector of all hits in the event.
Definition: PndHoughData.h:82
std::map< FairLink, FairHit * > GetMapFairLinktoFairHit() const
Returns the map linking FairLinks to FairHits.
Definition: PndHoughData.h:90
PndSttStrawMap * GetStrawMap() const
Returns the straw map for a fast access.
Definition: PndHoughData.h:88
std::map< int, FairHit * > GetMapTubetoHit() const
Returns the map linking a tube to a FairHit.
Definition: PndHoughData.h:98
std::map< FairLink, Double_t > GetMapFairLinktoIsochrone() const
Returns the map linking FairLinks to isochrone radii.
Definition: PndHoughData.h:92

◆ ~PndHoughPreprocessing()

virtual PndHoughPreprocessing::~PndHoughPreprocessing ( )
inlinevirtual

Definition at line 20 of file PndHoughPreprocessing.h.

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

20 {};

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: