PandaRoot
PndSdsPixelClusterFinder.h
Go to the documentation of this file.
1 #ifndef PNDSDSPIXELCLUSTERFINDER_H
2 #define PNDSDSPIXELCLUSTERFINDER_H
3 
4 #include <vector>
5 #include "PndSdsDigiPixel.h"
7 #include "FairRun.h"
8 #include "FairRuntimeDb.h"
9 
11 
17  public:
21  {
22  fHits = other.fHits;
23  fVerbose = other.fVerbose;
25  return *this;
26  };
28  virtual std::vector<std::vector<Int_t>> GetClusters(std::vector<PndSdsDigiPixel> hits) = 0;
29  void Print();
30  void Print(std::vector<PndSdsDigiPixel> hits);
31  void PrintResult(std::vector<std::vector<Int_t>> clusters);
32  void SetVerbose(Int_t level) { fVerbose = level; };
33 
34  std::vector<PndSdsDigiPixel> fHits;
35  Int_t fVerbose;
36 
38 
40 };
41 
42 #endif
PndSdsPixelClusterFinder & operator=(PndSdsPixelClusterFinder &other)
ClassDef(PndSdsPixelClusterFinder, 2)
PndSdsPixelClusterFinder(PndSdsPixelClusterFinder &other)
PndSdsChargeConversion * fChargeConverter
Base class for cluster finding algorithms.
void PrintResult(std::vector< std::vector< Int_t >> clusters)
std::vector< PndSdsDigiPixel > fHits
virtual std::vector< std::vector< Int_t > > GetClusters(std::vector< PndSdsDigiPixel > hits)=0