PandaRoot
PndSdsPixelClusterFinder Class Referenceabstract

Base class for cluster finding algorithms. More...

#include <PndSdsPixelClusterFinder.h>

Inheritance diagram for PndSdsPixelClusterFinder:
PndSdsIdealPixelClusterFinder PndSdsSimplePixelClusterFinder PndLmdSimplePixelClusterFinder PndMvdSimplePixelClusterFinder

Public Member Functions

 PndSdsPixelClusterFinder ()
 
 PndSdsPixelClusterFinder (PndSdsPixelClusterFinder &other)
 
PndSdsPixelClusterFinderoperator= (PndSdsPixelClusterFinder &other)
 
virtual ~PndSdsPixelClusterFinder ()
 
virtual std::vector< std::vector< Int_t > > GetClusters (std::vector< PndSdsDigiPixel > hits)=0
 
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< PndSdsDigiPixelfHits
 
Int_t fVerbose
 
PndSdsChargeConversionfChargeConverter
 

Detailed Description

Base class for cluster finding algorithms.

Author
Tobias Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de As input it gets all digis to be analyzed and a set of parameters vector<Double_t> The output is a vector< vector <Int_t> > which contains the position of the hits in the TClonesArray containing the Digis

Definition at line 16 of file PndSdsPixelClusterFinder.h.

Constructor & Destructor Documentation

◆ PndSdsPixelClusterFinder() [1/2]

PndSdsPixelClusterFinder::PndSdsPixelClusterFinder ( )
inline

Definition at line 18 of file PndSdsPixelClusterFinder.h.

18 : fHits(), fVerbose(0), fChargeConverter(nullptr){};
PndSdsChargeConversion * fChargeConverter
std::vector< PndSdsDigiPixel > fHits

◆ PndSdsPixelClusterFinder() [2/2]

PndSdsPixelClusterFinder::PndSdsPixelClusterFinder ( PndSdsPixelClusterFinder other)
inline

Definition at line 19 of file PndSdsPixelClusterFinder.h.

PndSdsChargeConversion * fChargeConverter
std::vector< PndSdsDigiPixel > fHits

◆ ~PndSdsPixelClusterFinder()

virtual PndSdsPixelClusterFinder::~PndSdsPixelClusterFinder ( )
inlinevirtual

Definition at line 27 of file PndSdsPixelClusterFinder.h.

References GetClusters(), Print(), and PrintResult().

27 {};

Member Function Documentation

◆ ClassDef()

PndSdsPixelClusterFinder::ClassDef ( PndSdsPixelClusterFinder  ,
 
)

◆ GetClusters()

virtual std::vector<std::vector<Int_t> > PndSdsPixelClusterFinder::GetClusters ( std::vector< PndSdsDigiPixel hits)
pure virtual

◆ operator=()

PndSdsPixelClusterFinder& PndSdsPixelClusterFinder::operator= ( PndSdsPixelClusterFinder other)
inline

Definition at line 20 of file PndSdsPixelClusterFinder.h.

References fChargeConverter, fHits, and fVerbose.

21  {
22  fHits = other.fHits;
23  fVerbose = other.fVerbose;
25  return *this;
26  };
PndSdsChargeConversion * fChargeConverter
std::vector< PndSdsDigiPixel > fHits

◆ Print() [1/2]

void PndSdsPixelClusterFinder::Print ( )

◆ Print() [2/2]

void PndSdsPixelClusterFinder::Print ( std::vector< PndSdsDigiPixel hits)

◆ PrintResult()

void PndSdsPixelClusterFinder::PrintResult ( std::vector< std::vector< Int_t >>  clusters)

◆ SetVerbose()

void PndSdsPixelClusterFinder::SetVerbose ( Int_t  level)
inline

Definition at line 32 of file PndSdsPixelClusterFinder.h.

References fHits, and fVerbose.

Member Data Documentation

◆ fChargeConverter

PndSdsChargeConversion* PndSdsPixelClusterFinder::fChargeConverter

Definition at line 37 of file PndSdsPixelClusterFinder.h.

Referenced by operator=().

◆ fHits

std::vector<PndSdsDigiPixel> PndSdsPixelClusterFinder::fHits

Definition at line 32 of file PndSdsPixelClusterFinder.h.

Referenced by operator=(), and SetVerbose().

◆ fVerbose

Int_t PndSdsPixelClusterFinder::fVerbose

Definition at line 35 of file PndSdsPixelClusterFinder.h.

Referenced by operator=(), and SetVerbose().


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