PandaRoot
PndSdsStripAdvClusterFinder.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndSdsStripAdvClusterFinder header file -----
3 // ----- Converted 27.11.2007 from R.Jaekel by R.Kliemt -----
4 // -------------------------------------------------------------------------
5 
14 #ifndef PNDSDSSTRIPCLUSTERFINDER_H
15 #define PNDSDSSTRIPCLUSTERFINDER_H
16 
17 #include <vector>
18 #include <map>
19 #include <string>
20 
21 #include "PndSdsDigiStrip.h"
22 #include "PndSdsClusterStrip.h"
23 #include "PndSdsStripClusterer.h"
24 // #include "PndSdsStripCluster.h"
25 
37  public:
39  PndSdsStripAdvClusterFinder(Int_t DigiType);
40 
46  PndSdsStripAdvClusterFinder(Int_t DigiType, Int_t NrofmissedChannels, Int_t NrofmissedTimestamps);
47 
50 
57  std::vector<PndSdsClusterStrip *> SearchClusters();
58 
59  private:
71  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);
72 
74  Int_t fNmCh;
75 
77  Int_t fNmTS;
78 
79  ClassDef(PndSdsStripAdvClusterFinder, 1);
80 };
81 
82 #endif // PndSdsSimpleStripClusterFinder
std::vector< PndSdsClusterStrip * > SearchClusters()
PndSdsStripAdvClusterFinder(Int_t DigiType)
Find Clusters on a strip sensor in two dimensions.