]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/MUON/src/AliRoot/ClusterFinderInterface.hpp
6c347bc576d8b4ab31c1e63facf54d70fbb8f3ef
[u/mrichter/AliRoot.git] / HLT / MUON / src / AliRoot / ClusterFinderInterface.hpp
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Author: Artur Szostak
4 // Email:  artur@alice.phy.uct.ac.za | artursz@iafrica.com
5 //
6 ////////////////////////////////////////////////////////////////////////////////
7
8 #ifndef ALIHLTMUONCLUSTERFINDERINTERFACE_H
9 #define ALIHLTMUONCLUSTERFINDERINTERFACE_H
10
11 #include "Rtypes.h"
12
13 class AliHLTMUONPoint;
14 class AliHLTMUONADCStream;
15 class AliHLTMUONClusterFinderCallback;
16 class AliHLTMUONDummyClusterFinder;
17
18
19 class AliHLTMUONClusterFinderInterface
20 {
21 public:
22         AliHLTMUONClusterFinderInterface(AliHLTMUONDummyClusterFinder* clusterfinder)
23         {
24                 fClusterFinder = clusterfinder;
25         };
26         
27         const AliHLTMUONDummyClusterFinder* GetClusterFinder() const
28         {
29                 return fClusterFinder;
30         };
31         
32         void FindClusters(const AliHLTMUONADCStream* stream);
33         UInt_t FillClusterData(AliHLTMUONPoint* clusters, UInt_t arraysize);
34         void Reset();
35         void SetCallback(AliHLTMUONClusterFinderCallback* callback);
36
37 private:
38
39         AliHLTMUONDummyClusterFinder* fClusterFinder;   //! Pointer to interpreted cluster finder class.
40 };
41
42
43 #endif // ALIHLTMUONCLUSTERFINDERINTERFACE_H