b0f5e3fc |
1 | #ifndef ALIITSCLUSTERFINDERSPD_H |
2 | #define ALIITSCLUSTERFINDERSPD_H |
3 | |
4 | //////////////////////////////////////////////// |
5 | // ITS Cluster Finder Class // |
6 | //////////////////////////////////////////////// |
7 | |
8 | #include "AliITSClusterFinder.h" |
9 | |
e8189707 |
10 | class AliITSMapA1; |
11 | |
b0f5e3fc |
12 | class AliITSClusterFinderSPD : |
13 | public AliITSClusterFinder |
14 | |
15 | { |
16 | public: |
17 | AliITSClusterFinderSPD |
18 | (AliITSsegmentation *segmentation, |
19 | TClonesArray *digits, TClonesArray *recpoints); |
20 | AliITSClusterFinderSPD(); |
e8189707 |
21 | virtual ~AliITSClusterFinderSPD(); |
b0f5e3fc |
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(); |
a3e16987 |
43 | void TracksInCluster(); |
b0f5e3fc |
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 |
b0f5e3fc |
53 | Float_t fDz; // dz |
54 | Float_t fDx; // dx |
55 | |
e8189707 |
56 | Int_t fMinNCells; // min num of cells in the cluster |
b0f5e3fc |
57 | |
58 | ClassDef(AliITSClusterFinderSPD,1) // SPD clustering - Boris B. algo based |
e8189707 |
59 | // on Piergiorgio's algo |
b0f5e3fc |
60 | }; |
61 | #endif |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |