FairRoot/PandaRoot
|
#include <PndLmdSimplePixelClusterFinder.h>
Public Member Functions | |
PndLmdSimplePixelClusterFinder (Int_t verbose=0) | |
std::vector< std::vector< Int_t > > | GetClusters (std::vector< PndSdsDigiPixel > hits) |
virtual void | SetMaxCols (Int_t col) |
virtual void | SetMaxRows (Int_t row) |
virtual void | SetRadius (Double_t rad) |
void | Print () |
void | Print (std::vector< PndSdsDigiPixel > hits) |
void | PrintResult (std::vector< std::vector< Int_t > > clusters) |
void | SetVerbose (Int_t level) |
ClassDef (PndSdsPixelClusterFinder, 2) | |
Public Attributes | |
std::vector< PndSdsDigiPixel > | fHits |
Int_t | fVerbose |
PndSdsChargeConversion * | fChargeConverter |
Protected Attributes | |
Int_t | fcols |
Int_t | frows |
Double_t | fradius |
PndLmdSimplePixelClusterFinder.h Simple cluster finder for pixel detectors.
It takes the first hit in the DigiArray and moves it into a new cluster. Then it looks through the remaining hits in the DigiArray if there are hits which are in the area around the first hit and moves them into the cluster. The radius is given by the first parameter. Then it takes the new hits in the cluster and looks if there are other hits which are in the range of these hits and moves them into the cluster, too. This process is repeated until no hits around the cluster are found The the first hit of the remaining DigiHits is taken to create a new hit and the cluster search process is started again.
Definition at line 18 of file PndLmdSimplePixelClusterFinder.h.
PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder | ( | Int_t | verbose = 0 | ) |
Definition at line 8 of file PndLmdSimplePixelClusterFinder.cxx.
References PndSdsPixelClusterFinder::fChargeConverter, PndSdsSimplePixelClusterFinder::fcols, PndSdsSimplePixelClusterFinder::fradius, PndSdsSimplePixelClusterFinder::frows, PndSdsPixelClusterFinder::fVerbose, PndSdsPixelDigiPar::GetChargeConvMethod(), PndSdsTotDigiPar::GetChargingTime(), PndSdsTotDigiPar::GetClockFrequency(), PndSdsPixelDigiPar::GetClustRadius(), PndSdsTotDigiPar::GetConstCurrent(), PndSdsPixelDigiPar::GetFECols(), PndSdsPixelDigiPar::GetFERows(), PndSdsPixelDigiPar::GetNoise(), PndSdsPixelDigiPar::GetThreshold(), rtdb, and verbose.
|
inherited |
|
virtualinherited |
Main method which searches for the clusters. It returns a matrix of ints where a column corresponds to a cluster and an integer to a hit in the DigiArray
Implements PndSdsPixelClusterFinder.
Definition at line 6 of file PndSdsSimplePixelClusterFinder.cxx.
References PndSdsChargeConversion::DigiValueToCharge(), PndSdsPixelClusterFinder::fChargeConverter, PndSdsPixelClusterFinder::fHits, PndSdsPixelClusterFinder::fVerbose, hits, i, PndSdsSimplePixelClusterFinder::IsInRange(), PndSdsSimplePixelClusterFinder::MoveHit(), PndSdsPixelClusterFinder::PrintResult(), and push_back().
|
inherited |
Definition at line 20 of file PndSdsPixelClusterFinder.cxx.
References PndSdsPixelClusterFinder::fHits.
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), and PndSdsPixelClusterFinder::PrintResult().
|
inherited |
|
inherited |
Definition at line 25 of file PndSdsPixelClusterFinder.cxx.
References PndSdsPixelClusterFinder::fHits, i, and PndSdsPixelClusterFinder::Print().
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), and PndSdsSimplePixelClusterFinder::GetClusters().
|
inlinevirtualinherited |
Definition at line 35 of file PndSdsSimplePixelClusterFinder.h.
References col, and PndSdsSimplePixelClusterFinder::fcols.
|
inlinevirtualinherited |
Definition at line 36 of file PndSdsSimplePixelClusterFinder.h.
References PndSdsSimplePixelClusterFinder::frows, and row.
|
inlinevirtualinherited |
Definition at line 37 of file PndSdsSimplePixelClusterFinder.h.
References PndSdsSimplePixelClusterFinder::fradius.
|
inlineinherited |
Definition at line 41 of file PndSdsPixelClusterFinder.h.
References PndSdsPixelClusterFinder::fVerbose.
Referenced by PndSdsIdealClusterTask::Init(), and PndMvdPixelClusterTask::SetClusterFinder().
|
inherited |
Definition at line 46 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsPixelClusterFinder::operator=(), PndLmdSimplePixelClusterFinder(), and PndMvdSimplePixelClusterFinder::SetParameters().
|
protectedinherited |
Definition at line 40 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder(), PndSdsSimplePixelClusterFinder::SetMaxCols(), and PndMvdSimplePixelClusterFinder::SetParameters().
|
inherited |
Definition at line 41 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsPixelClusterFinder::operator=(), PndSdsPixelClusterFinder::Print(), and PndSdsPixelClusterFinder::PrintResult().
|
protectedinherited |
Definition at line 42 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder(), PndMvdSimplePixelClusterFinder::SetParameters(), and PndSdsSimplePixelClusterFinder::SetRadius().
|
protectedinherited |
Definition at line 41 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder(), PndSdsSimplePixelClusterFinder::SetMaxRows(), and PndMvdSimplePixelClusterFinder::SetParameters().
|
inherited |
Definition at line 44 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::IsInRange(), PndSdsPixelClusterFinder::operator=(), PndLmdSimplePixelClusterFinder(), PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder(), PndMvdSimplePixelClusterFinder::SetParameters(), and PndSdsPixelClusterFinder::SetVerbose().