![]() |
PandaRoot
|
#include <PndHoughData.h>
Public Member Functions | |
PndHoughData (TClonesArray *fTubeArray) | |
virtual | ~PndHoughData () |
void | AddHits (TClonesArray *hits, TString branchName) |
Adds hits to the used data structure for faster access. Data are stored in different maps. More... | |
void | AddHit (FairLink link) |
Adds a sigle hit to the used data structure for faster access. Data are stored in different maps. More... | |
void | CreateGEMNeighborhoodData () |
For all GEM hits all other GEM hits in a certain distance (hier 1.5 cm) are counted and stored as neighbors of the GEM hit. More... | |
void | CreateSTTNeighborhoodData () |
For all STT hits all other STT neighbors are counted and stored in a map. More... | |
void | Init (int NBins1=450, int NBins2=450) |
Initializes the Hough space. More... | |
void | clear () |
Clears all data maps. More... | |
std::vector< FairHit * > | GetHits () const |
Returns a vector of all hits in the event. More... | |
std::vector< FairLink > | GetLinks () const |
Returns a vector of all FairLinks in the event. More... | |
PndSttGeometryMap * | GetGeometryMap () const |
Returns the geometry map for a fast access. More... | |
PndSttStrawMap * | GetStrawMap () const |
Returns the straw map for a fast access. More... | |
std::map< FairLink, FairHit * > | GetMapFairLinktoFairHit () const |
Returns the map linking FairLinks to FairHits. More... | |
std::map< FairLink, Double_t > | GetMapFairLinktoIsochrone () const |
Returns the map linking FairLinks to isochrone radii. More... | |
std::map< FairLink, Double_t > | GetMapFairLinktoIsochroneError () const |
Returns the map linking FairLinks to isochrone radius errors. More... | |
std::map< FairLink, Int_t > | GetMapFairLinktoTubeId () const |
Returns the map linking FairLinks to corresponding tubeId. More... | |
std::map< int, FairHit * > | GetMapTubetoHit () const |
Returns the map linking a tube to a FairHit. More... | |
std::vector< int > | GetHittedTubes () |
Returns a vector of all hitted tubes. More... | |
std::vector< FairLink > | GetGEMNeighbors (FairLink link) |
Returns a vector of all GEM hits in a distance d < 1.5 cm from a certain GEM hit. More... | |
int | GetNumOfGEMNeighbors (FairLink link) |
Returns the number of GEM hits in a distance d < 1.5 cm. More... | |
double | GetNumOfSTTNeighbors (FairLink link) |
Returns the number of neighbored STT hits. The return value is a double (not a int) to avoid a necessary type cast in the ghost reduction functon. More... | |
PndHoughSpace * | GetHoughSpace () |
Returns the Hough space. More... | |
PANDA class for fast access to STT data Task level RECO
Definition at line 31 of file PndHoughData.h.
PndHoughData::PndHoughData | ( | TClonesArray * | fTubeArray | ) |
|
inlinevirtual |
Definition at line 36 of file PndHoughData.h.
References AddHit(), AddHits(), CreateGEMNeighborhoodData(), CreateSTTNeighborhoodData(), and i.
void PndHoughData::AddHit | ( | FairLink | link | ) |
Adds a sigle hit to the used data structure for faster access. Data are stored in different maps.
Referenced by ~PndHoughData().
void PndHoughData::AddHits | ( | TClonesArray * | hits, |
TString | branchName | ||
) |
Adds hits to the used data structure for faster access. Data are stored in different maps.
Referenced by ~PndHoughData().
|
inline |
Clears all data maps.
Definition at line 62 of file PndHoughData.h.
References PndHoughSpace::clear().
Referenced by PndHoughTrackFinder::Reset().
void PndHoughData::CreateGEMNeighborhoodData | ( | ) |
For all GEM hits all other GEM hits in a certain distance (hier 1.5 cm) are counted and stored as neighbors of the GEM hit.
Referenced by PndHoughTrackFinder::CreateNeighborhood(), and ~PndHoughData().
void PndHoughData::CreateSTTNeighborhoodData | ( | ) |
For all STT hits all other STT neighbors are counted and stored in a map.
Referenced by PndHoughTrackFinder::CreateNeighborhood(), and ~PndHoughData().
|
inline |
Returns a vector of all GEM hits in a distance d < 1.5 cm from a certain GEM hit.
Definition at line 102 of file PndHoughData.h.
|
inline |
Returns the geometry map for a fast access.
Definition at line 86 of file PndHoughData.h.
|
inline |
Returns a vector of all hits in the event.
Definition at line 82 of file PndHoughData.h.
|
inline |
Returns a vector of all hitted tubes.
Definition at line 100 of file PndHoughData.h.
|
inline |
Returns the Hough space.
Definition at line 108 of file PndHoughData.h.
|
inline |
Returns a vector of all FairLinks in the event.
Definition at line 84 of file PndHoughData.h.
|
inline |
Returns the map linking FairLinks to FairHits.
Definition at line 90 of file PndHoughData.h.
Referenced by PndHoughTrackFinder::GetMapFairLinktoFairHit(), PndHoughMerge::PndHoughMerge(), and PndHoughTrackCorrection::PndHoughTrackCorrection().
|
inline |
Returns the map linking FairLinks to isochrone radii.
Definition at line 92 of file PndHoughData.h.
Referenced by PndHoughTrackCorrection::PndHoughTrackCorrection().
|
inline |
Returns the map linking FairLinks to isochrone radius errors.
Definition at line 94 of file PndHoughData.h.
|
inline |
Returns the map linking FairLinks to corresponding tubeId.
Definition at line 96 of file PndHoughData.h.
|
inline |
Returns the map linking a tube to a FairHit.
Definition at line 98 of file PndHoughData.h.
|
inline |
Returns the number of GEM hits in a distance d < 1.5 cm.
Definition at line 104 of file PndHoughData.h.
|
inline |
Returns the number of neighbored STT hits. The return value is a double (not a int) to avoid a necessary type cast in the ghost reduction functon.
Definition at line 106 of file PndHoughData.h.
|
inline |
Returns the straw map for a fast access.
Definition at line 88 of file PndHoughData.h.
|
inline |
Initializes the Hough space.
Definition at line 53 of file PndHoughData.h.
References PndHoughSpace::Init(), PndHoughSpace::SetNBins1(), and PndHoughSpace::SetNBins2().
Referenced by PndHoughTrackFinder::Init().