]>
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 | ||
9e1e0cd7 | 12 | class AliITSClusterFinderSPD : public AliITSClusterFinder{ |
13 | public: | |
14 | AliITSClusterFinderSPD(AliITSsegmentation *segmentation, | |
15 | TClonesArray *digits, TClonesArray *recpoints); | |
16 | AliITSClusterFinderSPD(); | |
17 | virtual ~AliITSClusterFinderSPD(){// destructor | |
18 | } | |
19 | // copy constructor | |
20 | AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); | |
21 | // assignment operator | |
22 | AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); | |
23 | ||
24 | virtual void SetDx(Float_t dx=1.) {// set dx | |
25 | fDx=dx;} | |
26 | virtual void SetDz(Float_t dz=0.) {// set dz | |
27 | fDz=dz;} | |
28 | // Search for clusters | |
29 | virtual void FindRawClusters(Int_t module); | |
30 | void DigitToPoint(Int_t nclus, Float_t *xcenter, Float_t *zcenter, | |
31 | Float_t *errxcenter,Float_t *errzcenter, | |
32 | Int_t *tr1clus, Int_t *tr2clus, Int_t *tr3clus); | |
33 | void ClusterFinder(Int_t ndigits,Int_t digx[],Int_t digz[], | |
34 | Int_t digtr1[],Int_t digtr2[],Int_t digtr3[], | |
35 | Int_t digtr4[], | |
36 | Int_t &nclus, | |
37 | Float_t xcenter[],Float_t zcenter[], | |
38 | Float_t errxcenter[],Float_t errzcenter[], | |
39 | Int_t tr1clus[],Int_t tr2clus[], Int_t tr3clus[], | |
40 | Int_t module); | |
41 | private: | |
42 | TClonesArray *fClusters; // clusters | |
43 | Int_t fNclusters; // num of clusters | |
44 | Float_t fDz; // dz | |
45 | Float_t fDx; // dx | |
46 | Int_t fMinNCells; // min num of cells in the cluster | |
47 | ||
48 | ClassDef(AliITSClusterFinderSPD,1) // SPD clustering | |
49 | }; | |
c98c0281 | 50 | #endif |