]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSCLUSTERFINDERSDD_H |
2 | #define ALIITSCLUSTERFINDERSDD_H | |
3 | ||
4 | //////////////////////////////////////////////// | |
5 | // ITS Cluster Finder Class // | |
6 | //////////////////////////////////////////////// | |
7 | ||
78a228db | 8 | |
b0f5e3fc | 9 | #include "AliITSClusterFinder.h" |
10 | ||
e8189707 | 11 | class AliITSMapA2; |
78a228db | 12 | class TFile; |
e8189707 | 13 | |
b0f5e3fc | 14 | class AliITSClusterFinderSDD : |
15 | public AliITSClusterFinder | |
16 | ||
17 | { | |
18 | public: | |
19 | AliITSClusterFinderSDD | |
20 | (AliITSsegmentation *seg, | |
21 | AliITSresponse *response, TClonesArray *digits,TClonesArray *recpoints); | |
22 | AliITSClusterFinderSDD(); | |
e8189707 | 23 | virtual ~AliITSClusterFinderSDD(); |
b0f5e3fc | 24 | AliITSClusterFinderSDD(const AliITSClusterFinderSDD &source); // copy constructor |
25 | AliITSClusterFinderSDD& operator=(const AliITSClusterFinderSDD &source); // assignment operator | |
26 | ||
78a228db | 27 | virtual void SetCutAmplitude(Int_t thres=0) { |
b0f5e3fc | 28 | // set cut amplitude |
29 | fCutAmplitude=thres; | |
30 | } | |
31 | virtual void SetDAnode(Float_t danode=4.2) { | |
32 | // setDAnode | |
33 | fDAnode=danode; | |
34 | } | |
35 | virtual void SetDTime(Float_t dtime=75) { | |
36 | // SetDTime | |
37 | fDTime=dtime; | |
38 | } | |
39 | virtual void SetMinPeak(Int_t minpeak=7) { | |
40 | // SetMinPeak | |
41 | fMinPeak=minpeak; | |
42 | } | |
78a228db | 43 | virtual void SetMinNCells(Int_t minc=6) { |
b0f5e3fc | 44 | // setNCells |
45 | fMinNCells=minc; | |
46 | } | |
78a228db | 47 | virtual void SetMaxNCells(Int_t maxc=10) { |
48 | // setNCells | |
49 | fMaxNCells=maxc; | |
50 | } | |
51 | virtual void SetTimeCorr(Float_t timec=70.) { | |
52 | // setNCells | |
53 | fTimeCorr=timec; | |
54 | } | |
b0f5e3fc | 55 | |
b0f5e3fc | 56 | // Search for clusters |
57 | virtual void FindRawClusters(); | |
58 | void Find1DClusters(); | |
59 | void GroupClusters(); | |
60 | void SelectClusters(); | |
61 | void GetRecPoints(); | |
62 | ||
63 | private: | |
64 | ||
65 | TClonesArray *fClusters; // clusters | |
66 | Int_t fNclusters; // num of clusters | |
b0f5e3fc | 67 | Float_t fDAnode; // fDanode |
68 | Float_t fDTime; // fDtime | |
78a228db | 69 | Float_t fTimeCorr; // Correction factor along time coord |
b0f5e3fc | 70 | |
78a228db | 71 | Int_t fCutAmplitude; // cut amplitude |
b0f5e3fc | 72 | Int_t fMinPeak; // min peak |
73 | Int_t fMinNCells; // min num of cells | |
78a228db | 74 | Int_t fMaxNCells; // max num of cells |
b0f5e3fc | 75 | ClassDef(AliITSClusterFinderSDD,1) // SDD clustering - Piergiorgio C. algo |
76 | }; | |
77 | #endif | |
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 |