]>
Commit | Line | Data |
---|---|---|
669ce3c3 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | ||
17 | /////////////////////////////////////////////////////////////////////////////// | |
18 | // // | |
19 | // Class with TPC reconstruction parameters // | |
20 | // // | |
21 | // // | |
22 | /////////////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | ||
25 | #include "AliTPCRecoParam.h" | |
26 | ||
27 | ClassImp(AliTPCRecoParam) | |
28 | ||
29 | ||
30 | ||
31 | ||
32 | //_____________________________________________________________________________ | |
33 | AliTPCRecoParam::AliTPCRecoParam(): | |
34 | fCtgRange(1.05), | |
35 | fMaxSnpTracker(0.95), | |
36 | fMaxSnpTrack(0.999), | |
657452bc | 37 | fBYMirror(kTRUE), |
669ce3c3 | 38 | fFirstBin(0), |
39 | fLastBin(-1), | |
40 | fBCalcPedestal(kFALSE), | |
41 | fBDoUnfold(kTRUE), | |
42 | fDumpAmplitudeMin(100), | |
837809ab | 43 | fMaxNoise(2.), |
940ed1f0 | 44 | fMinMaxCutAbs(5.), |
45 | fMinLeftRightCutAbs(9.), | |
46 | fMinUpDownCutAbs(10.), | |
47 | fMinMaxCutSigma(4.), | |
48 | fMinLeftRightCutSigma(7.), | |
49 | fMinUpDownCutSigma(8.), | |
b9cc16e4 | 50 | fMaxC(0.3), |
51 | fBSpecialSeeding(kFALSE), | |
669ce3c3 | 52 | fBKinkFinder(kTRUE) |
53 | { | |
54 | // | |
55 | // constructor | |
56 | // | |
57 | } | |
58 | ||
59 | //_____________________________________________________________________________ | |
60 | AliTPCRecoParam::~AliTPCRecoParam() | |
61 | { | |
62 | // | |
63 | // destructor | |
64 | // | |
65 | } | |
66 | ||
67 | ||
68 | ||
69 | ||
70 | AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){ | |
71 | // | |
72 | // make default reconstruction parameters for low flux env. | |
73 | // | |
74 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
75 | param->fCtgRange = 10; | |
76 | param->fFirstBin = 0; | |
77 | param->fLastBin = 1000; | |
78 | return param; | |
79 | } | |
80 | ||
81 | AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){ | |
82 | // | |
83 | // make reco parameters for high flux env. | |
84 | // | |
85 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
86 | param->fCtgRange = 1.05; | |
87 | param->fFirstBin = 0; | |
88 | param->fLastBin = 1000; | |
89 | return param; | |
90 | } | |
91 | ||
92 | AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){ | |
93 | // | |
94 | // special setting for laser | |
95 | // | |
96 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
97 | param->fCtgRange = 10.05; | |
98 | param->fFirstBin = 0; | |
99 | param->fLastBin = 1000; | |
100 | param->fBCalcPedestal = bPedestal; | |
101 | param->fBDoUnfold = kFALSE; | |
fe5055e5 | 102 | param->fDumpAmplitudeMin = 150; |
669ce3c3 | 103 | param->fBKinkFinder = kFALSE; |
b9cc16e4 | 104 | param->fMaxSnpTracker = 0.98; |
105 | param->fMaxC = 0.02; | |
106 | param->fBSpecialSeeding = kTRUE; | |
657452bc | 107 | param->fBYMirror = kFALSE; |
669ce3c3 | 108 | return param; |
109 | } | |
110 | ||
111 | AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){ | |
112 | // | |
113 | // special setting for cosmic | |
114 | // | |
115 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
116 | param->fCtgRange = 10.05; // full TPC | |
117 | param->fFirstBin = 60; | |
118 | param->fLastBin = 1000; | |
119 | param->fBCalcPedestal = bPedestal; | |
120 | param->fBDoUnfold = kFALSE; | |
b9cc16e4 | 121 | param->fBSpecialSeeding = kTRUE; |
122 | param->fMaxC = 0.07; | |
669ce3c3 | 123 | param->fBKinkFinder = kFALSE; |
657452bc | 124 | param->fBYMirror = kFALSE; |
669ce3c3 | 125 | return param; |
126 | } | |
127 | ||
128 | ||
129 |