]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderSPDdubna.h
First commit.
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderSPDdubna.h
1 #ifndef ALIITSCLUSTERFINDERSPDDUBNA_H
2 #define ALIITSCLUSTERFINDERSPDDUBNA_H
3
4 ////////////////////////////////////////////////
5 //  ITS Cluster Finder Class                 //
6 ////////////////////////////////////////////////
7
8 #include "AliITSClusterFinder.h"
9
10 class AliITSMapA1;
11 class AliITSClusterFinderSPDdubna : public AliITSClusterFinder{
12  public:
13     AliITSClusterFinderSPDdubna(AliITSsegmentation *seg,TClonesArray *dig,
14                                 TClonesArray *recp);
15     AliITSClusterFinderSPDdubna();
16     virtual ~AliITSClusterFinderSPDdubna();
17     // copy ctor
18     AliITSClusterFinderSPDdubna(const AliITSClusterFinderSPDdubna &source);
19     // = opperator
20     AliITSClusterFinderSPDdubna& operator=(const AliITSClusterFinderSPDdubna
21                                            &source);
22
23     void SetDx(Float_t dx=1.) {// set dx
24         fDx=dx;}
25     void SetDz(Float_t dz=0.) {// set dz
26         fDz=dz;}
27     void SetNCells(Int_t minc=0) {// set ncells
28         fMinNCells=minc;}
29
30     // Search for clusters
31     void FindRawClusters(Int_t mod=0);
32     void Find1DClusters(Int_t mod);
33     void GroupClusters();
34     void TracksInCluster();
35     void SelectClusters() {// selects clusters
36     }
37     void  GetRecPoints();
38  private:
39     TClonesArray       *fClusters;      // clusters
40     Int_t               fNclusters;     // num of clusters
41     Float_t             fDz;            // dz
42     Float_t             fDx;            // dx
43     Int_t               fMinNCells;     // min num of cells in the cluster
44   
45     ClassDef(AliITSClusterFinderSPDdubna,1)  // SPD clustering - Boris B.
46                                              // algo based on Piergiorgio's
47                                              // algo
48 };
49 #endif