Release version of ITS code
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderSDD.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSCLUSTERFINDERSDD_H
2#define ALIITSCLUSTERFINDERSDD_H
3
4////////////////////////////////////////////////
5// ITS Cluster Finder Class //
6////////////////////////////////////////////////
7
8#include "AliITSClusterFinder.h"
9
e8189707 10class AliITSMapA2;
11
b0f5e3fc 12class AliITSClusterFinderSDD :
13 public AliITSClusterFinder
14
15{
16public:
17 AliITSClusterFinderSDD
18 (AliITSsegmentation *seg,
19 AliITSresponse *response, TClonesArray *digits,TClonesArray *recpoints);
20 AliITSClusterFinderSDD();
e8189707 21 virtual ~AliITSClusterFinderSDD();
b0f5e3fc 22 AliITSClusterFinderSDD(const AliITSClusterFinderSDD &source); // copy constructor
23 AliITSClusterFinderSDD& operator=(const AliITSClusterFinderSDD &source); // assignment operator
24
25 virtual void SetMap();
e8189707 26 virtual void SetCutAmplitude(Float_t thres=0.0) {
b0f5e3fc 27 // set cut amplitude
28 fCutAmplitude=thres;
29 }
30 virtual void SetDAnode(Float_t danode=4.2) {
31 // setDAnode
32 fDAnode=danode;
33 }
34 virtual void SetDTime(Float_t dtime=75) {
35 // SetDTime
36 fDTime=dtime;
37 }
38 virtual void SetMinPeak(Int_t minpeak=7) {
39 // SetMinPeak
40 fMinPeak=minpeak;
41 }
e8189707 42 virtual void SetNCells(Int_t minc=5) {
b0f5e3fc 43 // setNCells
44 fMinNCells=minc;
45 }
46
b0f5e3fc 47 // Search for clusters
48 virtual void FindRawClusters();
49 void Find1DClusters();
50 void GroupClusters();
51 void SelectClusters();
52 void GetRecPoints();
53
54private:
55
56 TClonesArray *fClusters; // clusters
57 Int_t fNclusters; // num of clusters
e8189707 58 AliITSMapA2 *fMapA2; // signal map
b0f5e3fc 59 Float_t fCutAmplitude; // cut amplitude
60 Float_t fDAnode; // fDanode
61 Float_t fDTime; // fDtime
62
63 Int_t fMinPeak; // min peak
64 Int_t fMinNCells; // min num of cells
65
b0f5e3fc 66 ClassDef(AliITSClusterFinderSDD,1) // SDD clustering - Piergiorgio C. algo
67 };
68#endif
69
70
71
72
73
74
75