Memory leak corrected (M.Bondila)
[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
e8189707 10class AliITSMapA1;
11
b0f5e3fc 12class AliITSClusterFinderSPD :
13 public AliITSClusterFinder
14
15{
16public:
17 AliITSClusterFinderSPD
d728c598 18 (AliITSsegmentation *seg, TClonesArray *dig, TClonesArray *recp);
b0f5e3fc 19 AliITSClusterFinderSPD();
e8189707 20 virtual ~AliITSClusterFinderSPD();
b0f5e3fc 21
d728c598 22 void SetDx(Float_t dx=1.) {
b0f5e3fc 23 // set dx
24 fDx=dx;
25 }
d728c598 26 void SetDz(Float_t dz=0.) {
b0f5e3fc 27 // set dz
28 fDz=dz;
29 }
d728c598 30 void SetNCells(Int_t minc=0) {
b0f5e3fc 31 // set ncells
32 fMinNCells=minc;
33 }
34
35 // Search for clusters
d728c598 36 void FindRawClusters(Int_t mod=0);
b0f5e3fc 37 void Find1DClusters();
38 void GroupClusters();
a3e16987 39 void TracksInCluster();
b0f5e3fc 40 void SelectClusters() {
41 // selects clusters
42 }
43 void GetRecPoints();
44
d728c598 45 private:
46
47 AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy ctor
48 AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source);
49
b0f5e3fc 50private:
51
52 TClonesArray *fClusters; // clusters
53 Int_t fNclusters; // num of clusters
b0f5e3fc 54 Float_t fDz; // dz
55 Float_t fDx; // dx
56
e8189707 57 Int_t fMinNCells; // min num of cells in the cluster
b0f5e3fc 58
59 ClassDef(AliITSClusterFinderSPD,1) // SPD clustering - Boris B. algo based
e8189707 60 // on Piergiorgio's algo
b0f5e3fc 61 };
62#endif
63
64
65
66
67
68
69