FairRoot/PandaRoot
|
#include <PndMvdSimplePixelClusterFinder.h>
Public Member Functions | |
PndMvdSimplePixelClusterFinder (TString parName="MVDPixelDigiPar", TString totParName="MVDPixelTotDigiPar", Int_t verbose=0) | |
PndMvdSimplePixelClusterFinder (PndSdsPixelDigiPar *digiPar, PndSdsTotDigiPar *totPar) | |
PndMvdSimplePixelClusterFinder (const PndMvdSimplePixelClusterFinder &)=delete | |
PndMvdSimplePixelClusterFinder & | operator= (const PndMvdSimplePixelClusterFinder &)=delete |
void | SetParName (TString val) |
void | SetTotParName (TString val) |
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 Member Functions | |
void | SetParameters () |
Protected Attributes | |
Int_t | fcols |
Int_t | frows |
Double_t | fradius |
Private Attributes | |
TString | fParName |
TString | fTotParName |
PndSdsPixelDigiPar * | fDigiPar |
PndSdsTotDigiPar * | fTotDigiPar |
PndMvdSimplePixelClusterFinder.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 17 of file PndMvdSimplePixelClusterFinder.h.
PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder | ( | TString | parName = "MVDPixelDigiPar" , |
TString | totParName = "MVDPixelTotDigiPar" , |
||
Int_t | verbose = 0 |
||
) |
Definition at line 7 of file PndMvdSimplePixelClusterFinder.cxx.
References fDigiPar, fParName, fTotDigiPar, fTotParName, PndSdsPixelClusterFinder::fVerbose, rtdb, SetParameters(), and verbose.
PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder | ( | PndSdsPixelDigiPar * | digiPar, |
PndSdsTotDigiPar * | totPar | ||
) |
Definition at line 21 of file PndMvdSimplePixelClusterFinder.cxx.
References SetParameters().
|
delete |
|
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().
|
delete |
|
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.
|
protected |
Definition at line 30 of file PndMvdSimplePixelClusterFinder.cxx.
References PndSdsPixelClusterFinder::fChargeConverter, PndSdsSimplePixelClusterFinder::fcols, fDigiPar, PndSdsSimplePixelClusterFinder::fradius, PndSdsSimplePixelClusterFinder::frows, fTotDigiPar, PndSdsPixelClusterFinder::fVerbose, PndSdsPixelDigiPar::GetChargeConvMethod(), PndSdsTotDigiPar::GetChargingTime(), PndSdsTotDigiPar::GetClockFrequency(), PndSdsPixelDigiPar::GetClustRadius(), PndSdsTotDigiPar::GetConstCurrent(), PndSdsPixelDigiPar::GetFECols(), PndSdsPixelDigiPar::GetFERows(), PndSdsPixelDigiPar::GetNoise(), and PndSdsPixelDigiPar::GetThreshold().
Referenced by PndMvdSimplePixelClusterFinder().
|
inline |
Definition at line 24 of file PndMvdSimplePixelClusterFinder.h.
|
inlinevirtualinherited |
Definition at line 37 of file PndSdsSimplePixelClusterFinder.h.
References PndSdsSimplePixelClusterFinder::fradius.
|
inline |
Definition at line 25 of file PndMvdSimplePixelClusterFinder.h.
References fTotParName, and val.
|
inlineinherited |
Definition at line 41 of file PndSdsPixelClusterFinder.h.
References PndSdsPixelClusterFinder::fVerbose.
Referenced by PndSdsIdealClusterTask::Init().
|
inherited |
Definition at line 46 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsPixelClusterFinder::operator=(), PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder(), and SetParameters().
|
protectedinherited |
Definition at line 40 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder(), PndSdsSimplePixelClusterFinder::SetMaxCols(), and SetParameters().
|
private |
Definition at line 32 of file PndMvdSimplePixelClusterFinder.h.
Referenced by PndMvdSimplePixelClusterFinder(), and SetParameters().
|
inherited |
Definition at line 41 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsPixelClusterFinder::operator=(), PndSdsPixelClusterFinder::Print(), and PndSdsPixelClusterFinder::PrintResult().
|
private |
Definition at line 30 of file PndMvdSimplePixelClusterFinder.h.
Referenced by PndMvdSimplePixelClusterFinder(), and SetParName().
|
protectedinherited |
Definition at line 42 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder(), SetParameters(), and PndSdsSimplePixelClusterFinder::SetRadius().
|
protectedinherited |
Definition at line 41 of file PndSdsSimplePixelClusterFinder.h.
Referenced by PndSdsSimplePixelClusterFinder::IsInRange(), PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder(), PndSdsSimplePixelClusterFinder::SetMaxRows(), and SetParameters().
|
private |
Definition at line 33 of file PndMvdSimplePixelClusterFinder.h.
Referenced by PndMvdSimplePixelClusterFinder(), and SetParameters().
|
private |
Definition at line 31 of file PndMvdSimplePixelClusterFinder.h.
Referenced by PndMvdSimplePixelClusterFinder(), and SetTotParName().
|
inherited |
Definition at line 44 of file PndSdsPixelClusterFinder.h.
Referenced by PndSdsIdealPixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::GetClusters(), PndSdsSimplePixelClusterFinder::IsInRange(), PndSdsPixelClusterFinder::operator=(), PndLmdSimplePixelClusterFinder::PndLmdSimplePixelClusterFinder(), PndMvdSimplePixelClusterFinder(), SetParameters(), and PndSdsPixelClusterFinder::SetVerbose().