1 #ifndef ALIITSCLUSTERFINDERSPD_H
2 #define ALIITSCLUSTERFINDERSPD_H
4 ////////////////////////////////////////////////
5 // ITS Cluster Finder Class //
6 ////////////////////////////////////////////////
8 #include "AliITSClusterFinder.h"
12 class AliITSClusterFinderSPD : public AliITSClusterFinder{
14 AliITSClusterFinderSPD(AliITSsegmentation *segmentation,
15 TClonesArray *digits, TClonesArray *recpoints);
16 AliITSClusterFinderSPD();
17 virtual ~AliITSClusterFinderSPD(){// destructor
20 AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source);
21 // assignment operator
22 AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source);
24 virtual void SetDx(Float_t dx=1.) {// set dx
26 virtual void SetDz(Float_t dz=0.) {// set 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[],
37 Float_t xcenter[],Float_t zcenter[],
38 Float_t errxcenter[],Float_t errzcenter[],
39 Int_t tr1clus[],Int_t tr2clus[], Int_t tr3clus[],
42 TClonesArray *fClusters; // clusters
43 Int_t fNclusters; // num of clusters
46 Int_t fMinNCells; // min num of cells in the cluster
48 ClassDef(AliITSClusterFinderSPD,1) // SPD clustering