FairRoot/PandaRoot
PndSdsSimplePixelClusterFinder.h
Go to the documentation of this file.
1 #ifndef PNDSDSSIMPLEPIXELCLUSTERFINDER_H
2 #define PNDSDSSIMPLEPIXELCLUSTERFINDER_H
3 
19 
20 
22  {
23  public :
25  //PndSdsSimplePixelClusterFinder(std::vector<PndSdsDigiPixel> hits):
26  // PndSdsPixelClusterFinder(hits){
27  // if(fVerbose>0)std::cout << "Hits in array: " << fHits.size() << std::endl;
28  //};
30 
33  std::vector< std::vector< Int_t> > GetClusters(std::vector<PndSdsDigiPixel> hits);
34 
35  virtual void SetMaxCols(Int_t col){ fcols = col; }
36  virtual void SetMaxRows(Int_t row){ frows = row; }
37  virtual void SetRadius(Double_t rad) { fradius = rad; }
38 
39  protected :
40  Int_t fcols;
41  Int_t frows;
43 
44  private :
45  //PndSdsDigiPixel MoveHit(std::vector<PndSdsDigiPixel>* hitVector, Int_t index);
46  Int_t MoveHit(std::vector<Int_t>* hitVector, Int_t index) const;
47  bool IsInRange(PndSdsDigiPixel hit1, PndSdsDigiPixel hit2) const;
48 
49  };
50 #endif
int row
Definition: anaLmdDigi.C:67
int col
Definition: anaLmdDigi.C:67
bool IsInRange(PndSdsDigiPixel hit1, PndSdsDigiPixel hit2) const
std::vector< std::vector< Int_t > > GetClusters(std::vector< PndSdsDigiPixel > hits)
Double_t
Base class for cluster finding algorithms.
Int_t MoveHit(std::vector< Int_t > *hitVector, Int_t index) const
Data class to store the digi output of a pixel module.
CbmHit * hits[nHits]
Definition: RiemannTest.C:19