PandaRoot
PndSdsPixelClusterFinder.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDSDSPIXELCLUSTERFINDER_H
14 #define PNDSDSPIXELCLUSTERFINDER_H
15 
16 #include <vector>
17 #include "PndSdsDigiPixel.h"
18 #include "PndSdsChargeConversion.h"
19 #include "FairRun.h"
20 #include "FairRuntimeDb.h"
21 
23 
29  public:
33  {
34  fHits = other.fHits;
35  fVerbose = other.fVerbose;
37  return *this;
38  };
40  virtual std::vector<std::vector<Int_t>> GetClusters(std::vector<PndSdsDigiPixel> hits) = 0;
41  void Print();
42  void Print(std::vector<PndSdsDigiPixel> hits);
43  void PrintResult(std::vector<std::vector<Int_t>> clusters);
44  void SetVerbose(Int_t level) { fVerbose = level; };
45 
46  std::vector<PndSdsDigiPixel> fHits;
47  Int_t fVerbose;
48 
50 
52 };
53 
54 #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