FairRoot/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  {
18  public :
20  : fHits(),
21  fVerbose(0),
22  fChargeConverter(NULL)
23  {};
25  : fHits(other.fHits),
26  fVerbose(other.fVerbose),
28  {};
30  {
31  fHits=other.fHits;
32  fVerbose=other.fVerbose;
34  return *this;
35  };
37  virtual std::vector< std::vector < Int_t > > GetClusters(std::vector<PndSdsDigiPixel> hits) = 0;
38  void Print();
39  void Print(std::vector<PndSdsDigiPixel> hits);
40  void PrintResult(std::vector<std::vector< Int_t> > clusters);
41  void SetVerbose(Int_t level){fVerbose = level;};
42 
43  std::vector<PndSdsDigiPixel> fHits;
44  Int_t fVerbose;
45 
47 
49  };
50 
51 #endif
52 
53 
void PrintResult(std::vector< std::vector< Int_t > > clusters)
PndSdsPixelClusterFinder & operator=(PndSdsPixelClusterFinder &other)
ClassDef(PndSdsPixelClusterFinder, 2)
PndSdsPixelClusterFinder(PndSdsPixelClusterFinder &other)
PndSdsChargeConversion * fChargeConverter
Base class for cluster finding algorithms.
std::vector< PndSdsDigiPixel > fHits
CbmHit * hits[nHits]
Definition: RiemannTest.C:19
virtual std::vector< std::vector< Int_t > > GetClusters(std::vector< PndSdsDigiPixel > hits)=0