]>
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), | |
43 | fMaxNoise(3.), | |
b9cc16e4 | 44 | fMaxC(0.3), |
45 | fBSpecialSeeding(kFALSE), | |
669ce3c3 | 46 | fBKinkFinder(kTRUE) |
47 | { | |
48 | // | |
49 | // constructor | |
50 | // | |
51 | } | |
52 | ||
53 | //_____________________________________________________________________________ | |
54 | AliTPCRecoParam::~AliTPCRecoParam() | |
55 | { | |
56 | // | |
57 | // destructor | |
58 | // | |
59 | } | |
60 | ||
61 | ||
62 | ||
63 | ||
64 | AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){ | |
65 | // | |
66 | // make default reconstruction parameters for low flux env. | |
67 | // | |
68 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
69 | param->fCtgRange = 10; | |
70 | param->fFirstBin = 0; | |
71 | param->fLastBin = 1000; | |
72 | return param; | |
73 | } | |
74 | ||
75 | AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){ | |
76 | // | |
77 | // make reco parameters for high flux env. | |
78 | // | |
79 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
80 | param->fCtgRange = 1.05; | |
81 | param->fFirstBin = 0; | |
82 | param->fLastBin = 1000; | |
83 | return param; | |
84 | } | |
85 | ||
86 | AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){ | |
87 | // | |
88 | // special setting for laser | |
89 | // | |
90 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
91 | param->fCtgRange = 10.05; | |
92 | param->fFirstBin = 0; | |
93 | param->fLastBin = 1000; | |
94 | param->fBCalcPedestal = bPedestal; | |
95 | param->fBDoUnfold = kFALSE; | |
96 | param->fBKinkFinder = kFALSE; | |
b9cc16e4 | 97 | param->fMaxSnpTracker = 0.98; |
98 | param->fMaxC = 0.02; | |
99 | param->fBSpecialSeeding = kTRUE; | |
657452bc | 100 | param->fBYMirror = kFALSE; |
669ce3c3 | 101 | return param; |
102 | } | |
103 | ||
104 | AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){ | |
105 | // | |
106 | // special setting for cosmic | |
107 | // | |
108 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
109 | param->fCtgRange = 10.05; // full TPC | |
110 | param->fFirstBin = 60; | |
111 | param->fLastBin = 1000; | |
112 | param->fBCalcPedestal = bPedestal; | |
113 | param->fBDoUnfold = kFALSE; | |
b9cc16e4 | 114 | param->fBSpecialSeeding = kTRUE; |
115 | param->fMaxC = 0.07; | |
669ce3c3 | 116 | param->fBKinkFinder = kFALSE; |
657452bc | 117 | param->fBYMirror = kFALSE; |
669ce3c3 | 118 | return param; |
119 | } | |
120 | ||
121 | ||
122 |