]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderSPD.h
Release version of ITS code
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderSPD.h
1 #ifndef ALIITSCLUSTERFINDERSPD_H
2 #define ALIITSCLUSTERFINDERSPD_H
3
4 ////////////////////////////////////////////////
5 //  ITS Cluster Finder Class                 //
6 ////////////////////////////////////////////////
7
8 #include "AliITSClusterFinder.h"
9
10 class AliITSMapA1;
11
12 class AliITSClusterFinderSPD :
13   public AliITSClusterFinder
14
15 {
16 public:
17   AliITSClusterFinderSPD
18   (AliITSsegmentation *segmentation,
19    TClonesArray *digits, TClonesArray *recpoints);
20   AliITSClusterFinderSPD();
21   virtual ~AliITSClusterFinderSPD();
22   AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy constructor
23   AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); // assignment operator
24   
25   virtual void SetMap();
26   virtual void SetDx(Float_t dx=1.) {
27     // set dx
28     fDx=dx;
29   }
30   virtual void SetDz(Float_t dz=0.) {
31     // set dz
32     fDz=dz;
33   }
34   virtual void SetNCells(Int_t minc=0) {
35     // set ncells
36     fMinNCells=minc;
37   }
38   
39   // Search for clusters
40   virtual void FindRawClusters();
41   void  Find1DClusters();
42   void  GroupClusters();
43   void  SelectClusters() {
44     // selects clusters
45   }
46   void  GetRecPoints();
47   
48 private:
49   
50   TClonesArray       *fClusters;      // clusters
51   Int_t               fNclusters;     // num of clusters
52   Float_t             fDz;            // dz
53   Float_t             fDx;            // dx
54   
55   Int_t               fMinNCells;     // min num of cells in the cluster
56   
57   ClassDef(AliITSClusterFinderSPD,1)  // SPD clustering - Boris B. algo based
58                                       // on Piergiorgio's algo
59     };
60 #endif
61
62
63
64
65
66
67