]>
Commit | Line | Data |
---|---|---|
8356cc1d | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | // | |
3 | // Author: Artur Szostak | |
4 | // Email: artur@alice.phy.uct.ac.za | artursz@iafrica.com | |
5 | // | |
6 | //////////////////////////////////////////////////////////////////////////////// | |
7 | ||
8 | #ifndef dHLT_ALIROOT_CLUSTER_FINDER_INTERFACE_HPP | |
9 | #define dHLT_ALIROOT_CLUSTER_FINDER_INTERFACE_HPP | |
10 | ||
11 | #include "Rtypes.h" | |
12 | ||
13 | ||
14 | namespace AliMUONHLT | |
15 | { | |
16 | ||
17 | class Point; | |
18 | class ADCStream; | |
19 | class ClusterFinder; | |
20 | class ClusterFinderCallback; | |
21 | ||
22 | ||
23 | class ClusterFinderInterface | |
24 | { | |
25 | public: | |
26 | ClusterFinderInterface(ClusterFinder* clusterfinder) | |
27 | { | |
28 | fClusterFinder = clusterfinder; | |
29 | }; | |
30 | ||
31 | const ClusterFinder* GetClusterFinder() const | |
32 | { | |
33 | return fClusterFinder; | |
34 | }; | |
35 | ||
36 | void FindClusters(const ADCStream* stream); | |
37 | UInt_t FillClusterData(Point* clusters, const UInt_t arraysize); | |
38 | void Reset(); | |
39 | void SetCallback(ClusterFinderCallback* callback); | |
40 | ||
41 | private: | |
42 | ||
43 | ClusterFinder* fClusterFinder; //! Pointer to interpreted cluster finder class. | |
44 | }; | |
45 | ||
46 | ||
47 | }; // AliMUONHLT | |
48 | ||
49 | #endif // dHLT_ALIROOT_CLUSTER_FINDER_INTERFACE_HPP |