]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderSPD.h
Memory leak corrected (M.Bondila)
[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 *seg, TClonesArray *dig, TClonesArray *recp);
19   AliITSClusterFinderSPD();
20   virtual ~AliITSClusterFinderSPD();
21   
22   void SetDx(Float_t dx=1.) {
23     // set dx
24     fDx=dx;
25   }
26   void SetDz(Float_t dz=0.) {
27     // set dz
28     fDz=dz;
29   }
30   void SetNCells(Int_t minc=0) {
31     // set ncells
32     fMinNCells=minc;
33   }
34   
35   // Search for clusters
36   void FindRawClusters(Int_t mod=0);
37   void  Find1DClusters();
38   void  GroupClusters();
39   void  TracksInCluster();
40   void  SelectClusters() {
41     // selects clusters
42   }
43   void  GetRecPoints();
44   
45   private:
46
47   AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy ctor
48   AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); 
49
50 private:
51   
52   TClonesArray       *fClusters;      // clusters
53   Int_t               fNclusters;     // num of clusters
54   Float_t             fDz;            // dz
55   Float_t             fDx;            // dx
56   
57   Int_t               fMinNCells;     // min num of cells in the cluster
58   
59   ClassDef(AliITSClusterFinderSPD,1)  // SPD clustering - Boris B. algo based
60                                       // on Piergiorgio's algo
61     };
62 #endif
63
64
65
66
67
68
69