]>
Commit | Line | Data |
---|---|---|
c98c0281 | 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 | // destructor | |
23 | } | |
24 | AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy constructor | |
25 | AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); // assignment operator | |
26 | ||
27 | ||
28 | virtual void SetDx(Float_t dx=1.) { | |
29 | // set dx | |
30 | fDx=dx; | |
31 | } | |
32 | virtual void SetDz(Float_t dz=0.) { | |
33 | // set dz | |
34 | fDz=dz; | |
35 | } | |
36 | ||
37 | // Search for clusters | |
38 | virtual void FindRawClusters(Int_t module); | |
39 | void DigitToPoint(Int_t nclus, Float_t *xcenter, Float_t *zcenter, | |
40 | Float_t *errxcenter,Float_t *errzcenter, | |
41 | Int_t *tr1clus, Int_t *tr2clus, Int_t *tr3clus); | |
42 | void ClusterFinder(Int_t ndigits,Int_t digx[],Int_t digz[], | |
43 | Int_t digtr1[],Int_t digtr2[],Int_t digtr3[],Int_t digtr4[], | |
44 | Int_t &nclus, | |
45 | Float_t xcenter[],Float_t zcenter[], | |
46 | Float_t errxcenter[],Float_t errzcenter[], | |
47 | Int_t tr1clus[],Int_t tr2clus[], Int_t tr3clus[]); | |
48 | ||
49 | ||
50 | ||
51 | private: | |
52 | ||
53 | TClonesArray *fClusters; // clusters | |
54 | Int_t fNclusters; // num of clusters | |
55 | Float_t fDz; // dz | |
56 | Float_t fDx; // dx | |
57 | ||
58 | Int_t fMinNCells; // min num of cells in the cluster | |
59 | ||
60 | ClassDef(AliITSClusterFinderSPD,1) // SPD clustering | |
61 | }; | |
62 | #endif | |
63 |