1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 ///////////////////////////////////////////////////////////////////////////////
19 // Class with TPC reconstruction parameters //
23 The reconstruction parameters are used in the AliTPCclustererMI and AliTPCtrackerMI
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
31 In the future reconstruction parameters should be changed on event basis
32 But for the moment, event types are still not defined
35 // Setting for systematic errors addition
38 [2] - systematic RMSSNP
39 [3] - systematic RMSTheta
40 [4] - systematic RMSCuravture - systematic error in 1/cm not in 1/pt
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);
48 ///////////////////////////////////////////////////////////////////////////////
51 #include "AliTPCRecoParam.h"
53 ClassImp(AliTPCRecoParam)
58 //_____________________________________________________________________________
59 AliTPCRecoParam::AliTPCRecoParam():
60 AliDetectorRecoParam(),
61 fBClusterSharing(kTRUE),
69 fBCalcPedestal(kFALSE),
71 fDumpAmplitudeMin(100),
74 fMinLeftRightCutAbs(9.),
75 fMinUpDownCutAbs(10.),
77 fMinLeftRightCutSigma(7.),
78 fMinUpDownCutSigma(8.),
80 fBSpecialSeeding(kFALSE),
89 for (Int_t i=0;i<5;i++) fSystematicErrors[i]=0;
92 //_____________________________________________________________________________
93 AliTPCRecoParam::~AliTPCRecoParam()
103 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
105 // make default reconstruction parameters for low flux env.
107 AliTPCRecoParam *param = new AliTPCRecoParam;
108 param->fCtgRange = 10;
109 param->fFirstBin = 0;
110 param->fLastBin = 1000;
111 param->SetName("Low Flux");
112 param->SetTitle("Low Flux");
116 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
118 // make reco parameters for high flux env.
120 AliTPCRecoParam *param = new AliTPCRecoParam;
121 param->fCtgRange = 1.05;
122 param->fFirstBin = 0;
123 param->fLastBin = 1000;
124 param->SetName("High Flux");
125 param->SetTitle("High Flux");
129 AliTPCRecoParam *AliTPCRecoParam::GetHLTParam(){
131 // make reco parameters for high flux env.
133 AliTPCRecoParam *param = new AliTPCRecoParam;
134 param->fCtgRange = 1.05;
135 param->fFirstBin = 80;
136 param->fLastBin = 1000;
137 param->fMaxSnpTracker = 0.9;
139 param->fBYMirror = kFALSE;
141 param->SetName("Hlt Param");
142 param->SetTitle("Hlt Param");
143 param->fBKinkFinder = kFALSE;
147 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
149 // special setting for laser
151 AliTPCRecoParam *param = new AliTPCRecoParam;
152 param->fDumpSignal=kTRUE;
153 param->fCtgRange = 10.05;
154 param->fFirstBin = 0;
155 param->fLastBin = 1000;
156 param->fBCalcPedestal = bPedestal;
157 param->fBDoUnfold = kFALSE;
158 param->fDumpAmplitudeMin = 150;
159 param->fBKinkFinder = kFALSE;
160 param->fMaxSnpTracker = 0.98;
162 param->fBSpecialSeeding = kTRUE;
163 param->fBYMirror = kFALSE;
166 param->SetName("Laser Flux");
167 param->SetTitle("Laser Flux");
171 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
173 // special setting for cosmic
175 AliTPCRecoParam *param = new AliTPCRecoParam;
176 param->fDumpSignal=kTRUE;
177 param->fCtgRange = 10.05; // full TPC
178 param->fFirstBin = 60;
179 param->fLastBin = 1000;
180 param->fBCalcPedestal = bPedestal;
181 param->fBDoUnfold = kFALSE;
182 param->fBSpecialSeeding = kTRUE;
184 param->fBKinkFinder = kFALSE;
185 param->fBYMirror = kFALSE;
186 param->SetName("Cosmic Flux");
187 param->SetTitle("Cosmic Flux");