FairRoot/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 
6 
15 #ifndef PNDSDSSTRIPCLUSTERFINDER_H
16 #define PNDSDSSTRIPCLUSTERFINDER_H
17 
18 
19 #include <vector>
20 #include <map>
21 #include <string>
22 
23 #include "PndSdsDigiStrip.h"
24 #include "PndSdsClusterStrip.h"
25 #include "PndSdsStripClusterer.h"
26 // #include "PndSdsStripCluster.h"
27 
39 {
40  public:
42  PndSdsStripAdvClusterFinder(Int_t DigiType);
43 
49  PndSdsStripAdvClusterFinder(Int_t DigiType, Int_t NrofmissedChannels, Int_t NrofmissedTimestamps);
50 
53 
60  std::vector< PndSdsClusterStrip* > SearchClusters();
61 
62 private:
63 
74  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);
75 
77  Int_t fNmCh;
78 
80  Int_t fNmTS;
81 
83 };
84 
85 
86 
87 #endif // PndSdsSimpleStripClusterFinder
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)
std::vector< PndSdsClusterStrip * > SearchClusters()
PndTransMap * map
Definition: sim_emc_apd.C:99
Find Clusters on a strip sensor in two dimensions.
Int_t fNmCh
maximum of missing channels
ClassDef(PndSdsStripAdvClusterFinder, 1)
Int_t fNmTS
maximum of missing time