]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderSPD.h
Updated version to work with the current versions of TPC and ITS tracking (R.Barbera)
[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(Int_t mod=0);
41   void  Find1DClusters();
42   void  GroupClusters();
43   void  TracksInCluster();
44   void  SelectClusters() {
45     // selects clusters
46   }
47   void  GetRecPoints();
48   
49 private:
50   
51   TClonesArray       *fClusters;      // clusters
52   Int_t               fNclusters;     // num of clusters
53   Float_t             fDz;            // dz
54   Float_t             fDx;            // dx
55   
56   Int_t               fMinNCells;     // min num of cells in the cluster
57   
58   ClassDef(AliITSClusterFinderSPD,1)  // SPD clustering - Boris B. algo based
59                                       // on Piergiorgio's algo
60     };
61 #endif
62
63
64
65
66
67
68