]>
Commit | Line | Data |
---|---|---|
b2a02bce | 1 | //$Id$ |
2 | ||
1f1942b8 | 3 | void SetHoughParameters(AliL3Hough *hough,Char_t *path,Int_t tversion=1) |
b2a02bce | 4 | { |
b2a02bce | 5 | bool binary = kTRUE; //binary files input |
6 | int n_eta_segments=100; | |
7 | double histptmin = 0.5; //mininum pt to find (controls the histogram range) | |
8 | ||
9 | int threshold=6000; //peak threshold | |
10 | int nxbins = 140; | |
11 | int nybins = 150; | |
1f1942b8 | 12 | //Int_t threshold=5000; //peak threshold |
13 | //Int_t nxbins = 190; | |
14 | //Int_t nybins = 200; | |
b2a02bce | 15 | |
16 | int patch=-1; //-1 -> Hough transform on slices (means adding histograms) | |
17 | ||
18 | hough->SetThreshold(4); //noise threshold on single digits | |
19 | hough->SetTransformerParams(nxbins,nybins,histptmin,patch); | |
b2a02bce | 20 | hough->SetPeakThreshold(threshold,patch); |
1f1942b8 | 21 | hough->Init(path,binary,n_eta_segments,kFALSE,tversion); |
b2a02bce | 22 | } |