PandaRoot
PndSdsStripAdvClusterFinder.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 // -------------------------------------------------------------------------
14 // ----- PndSdsStripAdvClusterFinder header file -----
15 // ----- Converted 27.11.2007 from R.Jaekel by R.Kliemt -----
16 // -------------------------------------------------------------------------
17 
26 #ifndef PNDSDSSTRIPCLUSTERFINDER_H
27 #define PNDSDSSTRIPCLUSTERFINDER_H
28 
29 #include <vector>
30 #include <map>
31 #include <string>
32 
33 #include "PndSdsDigiStrip.h"
34 #include "PndSdsClusterStrip.h"
35 #include "PndSdsStripClusterer.h"
36 // #include "PndSdsStripCluster.h"
37 
49  public:
51  PndSdsStripAdvClusterFinder(Int_t DigiType);
52 
58  PndSdsStripAdvClusterFinder(Int_t DigiType, Int_t NrofmissedChannels, Int_t NrofmissedTimestamps);
59 
62 
69  std::vector<PndSdsClusterStrip *> SearchClusters();
70 
71  private:
83  void ClusterIterator(Int_t newCh, Int_t newFrameID, std::map<Int_t, std::map<Int_t, std::vector<Int_t>>> &hitmap, std::vector<Int_t> &onecluster);
84 
86  Int_t fNmCh;
87 
89  Int_t fNmTS;
90 
91  ClassDef(PndSdsStripAdvClusterFinder, 1);
92 };
93 
94 #endif // PndSdsSimpleStripClusterFinder
std::vector< PndSdsClusterStrip * > SearchClusters()
PndSdsStripAdvClusterFinder(Int_t DigiType)
Find Clusters on a strip sensor in two dimensions.