New ITS code for new structure and simulations.
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderSPD.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSCLUSTERFINDERSPD_H
2#define ALIITSCLUSTERFINDERSPD_H
3
4////////////////////////////////////////////////
5// ITS Cluster Finder Class //
6////////////////////////////////////////////////
7
8#include "AliITSClusterFinder.h"
9
10class AliITSClusterFinderSPD :
11 public AliITSClusterFinder
12
13{
14public:
15 AliITSClusterFinderSPD
16 (AliITSsegmentation *segmentation,
17 TClonesArray *digits, TClonesArray *recpoints);
18 AliITSClusterFinderSPD();
19 virtual ~AliITSClusterFinderSPD(){
20 // destructor
21 }
22 AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy constructor
23 AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); // assignment operator
24
25 virtual void SetMap();
26 virtual void SetDx(Float_t dx=1.) {
27 // set dx
28 fDx=dx;
29 }
30 virtual void SetDz(Float_t dz=0.) {
31 // set dz
32 fDz=dz;
33 }
34 virtual void SetNCells(Int_t minc=0) {
35 // set ncells
36 fMinNCells=minc;
37 }
38
39 // Search for clusters
40 virtual void FindRawClusters();
41 void Find1DClusters();
42 void GroupClusters();
43 void SelectClusters() {
44 // selects clusters
45 }
46 void GetRecPoints();
47
48private:
49
50 TClonesArray *fClusters; // clusters
51 Int_t fNclusters; // num of clusters
52 AliITSMapA1 *fMap; // map
53 Float_t fDz; // dz
54 Float_t fDx; // dx
55
56 Int_t fMinNCells; // min num of cells
57
58 ClassDef(AliITSClusterFinderSPD,1) // SPD clustering - Boris B. algo based
59 // on Piergiorgio's algo
60 };
61#endif
62
63
64
65
66
67
68