1 #ifndef ALIITSCLUSTERFINDERSPD_H
2 #define ALIITSCLUSTERFINDERSPD_H
4 ////////////////////////////////////////////////
5 // ITS Cluster Finder Class //
6 ////////////////////////////////////////////////
8 #include "AliITSClusterFinder.h"
12 class AliITSClusterFinderSPD :
13 public AliITSClusterFinder
17 AliITSClusterFinderSPD
18 (AliITSsegmentation *segmentation,
19 TClonesArray *digits, TClonesArray *recpoints);
20 AliITSClusterFinderSPD();
21 virtual ~AliITSClusterFinderSPD(){
24 AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy constructor
25 AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); // assignment operator
28 virtual void SetDx(Float_t dx=1.) {
32 virtual void SetDz(Float_t dz=0.) {
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[],
45 Float_t xcenter[],Float_t zcenter[],
46 Float_t errxcenter[],Float_t errzcenter[],
47 Int_t tr1clus[],Int_t tr2clus[], Int_t tr3clus[]);
53 TClonesArray *fClusters; // clusters
54 Int_t fNclusters; // num of clusters
58 Int_t fMinNCells; // min num of cells in the cluster
60 ClassDef(AliITSClusterFinderSPD,1) // SPD clustering