PandaRoot
PndMvdSimplePixelClusterFinder Class Reference

#include <PndMvdSimplePixelClusterFinder.h>

Inheritance diagram for PndMvdSimplePixelClusterFinder:
PndSdsSimplePixelClusterFinder PndSdsPixelClusterFinder

Public Member Functions

 PndMvdSimplePixelClusterFinder (TString parName="MVDPixelDigiPar", TString totParName="MVDPixelTotDigiPar", Int_t verbose=0)
 
 PndMvdSimplePixelClusterFinder (PndSdsPixelDigiPar *digiPar, PndSdsTotDigiPar *totPar)
 
 PndMvdSimplePixelClusterFinder (const PndMvdSimplePixelClusterFinder &)=delete
 
PndMvdSimplePixelClusterFinderoperator= (const PndMvdSimplePixelClusterFinder &)=delete
 
void SetParName (TString val)
 
void SetTotParName (TString val)
 
- Public Member Functions inherited from PndSdsSimplePixelClusterFinder
 PndSdsSimplePixelClusterFinder ()
 
virtual ~PndSdsSimplePixelClusterFinder ()
 
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)
 
- Public Member Functions inherited from PndSdsPixelClusterFinder
 PndSdsPixelClusterFinder ()
 
 PndSdsPixelClusterFinder (PndSdsPixelClusterFinder &other)
 
PndSdsPixelClusterFinderoperator= (PndSdsPixelClusterFinder &other)
 
virtual ~PndSdsPixelClusterFinder ()
 
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)
 

Protected Member Functions

void SetParameters ()
 

Additional Inherited Members

- Public Attributes inherited from PndSdsPixelClusterFinder
std::vector< PndSdsDigiPixelfHits
 
Int_t fVerbose
 
PndSdsChargeConversionfChargeConverter
 
- Protected Attributes inherited from PndSdsSimplePixelClusterFinder
Int_t fcols
 
Int_t frows
 
Double_t fradius
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PndMvdSimplePixelClusterFinder() [1/3]

PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder ( TString  parName = "MVDPixelDigiPar",
TString  totParName = "MVDPixelTotDigiPar",
Int_t  verbose = 0 
)

◆ PndMvdSimplePixelClusterFinder() [2/3]

PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder ( PndSdsPixelDigiPar digiPar,
PndSdsTotDigiPar totPar 
)

◆ PndMvdSimplePixelClusterFinder() [3/3]

PndMvdSimplePixelClusterFinder::PndMvdSimplePixelClusterFinder ( const PndMvdSimplePixelClusterFinder )
delete

Member Function Documentation

◆ operator=()

PndMvdSimplePixelClusterFinder& PndMvdSimplePixelClusterFinder::operator= ( const PndMvdSimplePixelClusterFinder )
delete

◆ SetParameters()

void PndMvdSimplePixelClusterFinder::SetParameters ( )
protected

Referenced by SetTotParName().

◆ SetParName()

void PndMvdSimplePixelClusterFinder::SetParName ( TString  val)
inline

Definition at line 23 of file PndMvdSimplePixelClusterFinder.h.

23 { fParName = val; }

◆ SetTotParName()

void PndMvdSimplePixelClusterFinder::SetTotParName ( TString  val)
inline

Definition at line 24 of file PndMvdSimplePixelClusterFinder.h.

References SetParameters().

24 { fTotParName = val; }

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