]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCRecoParam.cxx
Removed hardwired path
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.cxx
CommitLineData
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// //
7a9e557b 21//
22/*
23 The reconstruction parameters are used in the AliTPCclustererMI and AliTPCtrackerMI
24
25 They are retrieved:
26 0. User speciefied it in reconstruction macro
27 1. if (not 0) from OCDB - AliTPCcalibDB::GetRecoParam(eventtype)
28 2. if (not 0 or 1) default parameter - High flux enevironment used
29
30 FIXME:
31 In the future reconstruction parameters should be changed on event basis
32 But for the moment, event types are still not defined
33
1cafd6f4 34
35 // Setting for systematic errors addition
36 [0] - systematic RMSY
37 [1] - systematic RMSZ
38 [2] - systematic RMSSNP
39 [3] - systematic RMSTheta
40 [4] - systematic RMSCuravture - systematic error in 1/cm not in 1/pt
41 //
42 // How to add it example - 3 mm systematic error y, 3 cm systematic error z (drift)
43 Double_t sysError[5]={0.3,3, 0.3/150., 3./150.,1/(0.3*150*150.)}
44 param->SetSystematicError(sysError);
45
7a9e557b 46*/
47 //
669ce3c3 48///////////////////////////////////////////////////////////////////////////////
49
50
51#include "AliTPCRecoParam.h"
52
53ClassImp(AliTPCRecoParam)
54
55
56
57
58//_____________________________________________________________________________
59AliTPCRecoParam::AliTPCRecoParam():
b1c50d5c 60 AliDetectorRecoParam(),
018e4f8a 61 fBClusterSharing(kTRUE),
669ce3c3 62 fCtgRange(1.05),
63 fMaxSnpTracker(0.95),
64 fMaxSnpTrack(0.999),
b127a65f 65 fDumpSignal(kFALSE),
669ce3c3 66 fFirstBin(0),
67 fLastBin(-1),
68 fBCalcPedestal(kFALSE),
69 fBDoUnfold(kTRUE),
70 fDumpAmplitudeMin(100),
837809ab 71 fMaxNoise(2.),
940ed1f0 72 fMinMaxCutAbs(5.),
73 fMinLeftRightCutAbs(9.),
74 fMinUpDownCutAbs(10.),
75 fMinMaxCutSigma(4.),
76 fMinLeftRightCutSigma(7.),
77 fMinUpDownCutSigma(8.),
b9cc16e4 78 fMaxC(0.3),
79 fBSpecialSeeding(kFALSE),
7d27c1df 80 fBKinkFinder(kTRUE),
81 fLastSeedRowSec(120)
669ce3c3 82{
83 //
84 // constructor
85 //
b1c50d5c 86 SetName("TPC");
87 SetTitle("TPC");
1cafd6f4 88 for (Int_t i=0;i<5;i++) fSystematicErrors[i]=0;
669ce3c3 89}
90
91//_____________________________________________________________________________
92AliTPCRecoParam::~AliTPCRecoParam()
93{
94 //
95 // destructor
96 //
97}
98
99
100
101
102AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
103 //
104 // make default reconstruction parameters for low flux env.
105 //
106 AliTPCRecoParam *param = new AliTPCRecoParam;
107 param->fCtgRange = 10;
108 param->fFirstBin = 0;
109 param->fLastBin = 1000;
b447cbf9 110 param->SetName("Low Flux");
111 param->SetTitle("Low Flux");
669ce3c3 112 return param;
113}
114
115AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
116 //
117 // make reco parameters for high flux env.
118 //
119 AliTPCRecoParam *param = new AliTPCRecoParam;
120 param->fCtgRange = 1.05;
121 param->fFirstBin = 0;
ec214961 122 param->fLastBin = 1000;
b447cbf9 123 param->SetName("High Flux");
124 param->SetTitle("High Flux");
125 return param;
126}
127
128AliTPCRecoParam *AliTPCRecoParam::GetHLTParam(){
129 //
130 // make reco parameters for high flux env.
131 //
132 AliTPCRecoParam *param = new AliTPCRecoParam;
133 param->fCtgRange = 1.05;
134 param->fFirstBin = 80;
135 param->fLastBin = 1000;
136 param->fMaxSnpTracker = 0.9;
1cafd6f4 137 param->fMaxC = 0.06;
b447cbf9 138 //
139 param->SetName("Hlt Param");
140 param->SetTitle("Hlt Param");
141 param->fBKinkFinder = kFALSE;
669ce3c3 142 return param;
143}
144
145AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
146 //
147 // special setting for laser
148 //
149 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 150 param->fDumpSignal=kTRUE;
669ce3c3 151 param->fCtgRange = 10.05;
152 param->fFirstBin = 0;
153 param->fLastBin = 1000;
154 param->fBCalcPedestal = bPedestal;
155 param->fBDoUnfold = kFALSE;
fe5055e5 156 param->fDumpAmplitudeMin = 150;
669ce3c3 157 param->fBKinkFinder = kFALSE;
b9cc16e4 158 param->fMaxSnpTracker = 0.98;
159 param->fMaxC = 0.02;
160 param->fBSpecialSeeding = kTRUE;
ec214961 161 //
162 //
b447cbf9 163 param->SetName("Laser Flux");
164 param->SetTitle("Laser Flux");
669ce3c3 165 return param;
166}
167
168AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
169 //
170 // special setting for cosmic
171 //
172 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 173 param->fDumpSignal=kTRUE;
669ce3c3 174 param->fCtgRange = 10.05; // full TPC
175 param->fFirstBin = 60;
176 param->fLastBin = 1000;
177 param->fBCalcPedestal = bPedestal;
178 param->fBDoUnfold = kFALSE;
b9cc16e4 179 param->fBSpecialSeeding = kTRUE;
180 param->fMaxC = 0.07;
669ce3c3 181 param->fBKinkFinder = kFALSE;
b447cbf9 182 param->SetName("Cosmic Flux");
183 param->SetTitle("Cosmic Flux");
184
669ce3c3 185 return param;
186}
187
188
189