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
36 ///////////////////////////////////////////////////////////////////////////////
39 #include "AliTPCRecoParam.h"
41 ClassImp(AliTPCRecoParam)
46 //_____________________________________________________________________________
47 AliTPCRecoParam::AliTPCRecoParam():
48 AliDetectorRecoParam(),
49 fBClusterSharing(kTRUE),
57 fBCalcPedestal(kFALSE),
59 fDumpAmplitudeMin(100),
62 fMinLeftRightCutAbs(9.),
63 fMinUpDownCutAbs(10.),
65 fMinLeftRightCutSigma(7.),
66 fMinUpDownCutSigma(8.),
68 fBSpecialSeeding(kFALSE),
79 //_____________________________________________________________________________
80 AliTPCRecoParam::~AliTPCRecoParam()
90 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
92 // make default reconstruction parameters for low flux env.
94 AliTPCRecoParam *param = new AliTPCRecoParam;
95 param->fCtgRange = 10;
97 param->fLastBin = 1000;
98 param->SetName("Low Flux");
99 param->SetTitle("Low Flux");
103 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
105 // make reco parameters for high flux env.
107 AliTPCRecoParam *param = new AliTPCRecoParam;
108 param->fCtgRange = 1.05;
109 param->fFirstBin = 0;
110 param->fLastBin = 1000;
111 param->SetName("High Flux");
112 param->SetTitle("High Flux");
116 AliTPCRecoParam *AliTPCRecoParam::GetHLTParam(){
118 // make reco parameters for high flux env.
120 AliTPCRecoParam *param = new AliTPCRecoParam;
121 param->fCtgRange = 1.05;
122 param->fFirstBin = 80;
123 param->fLastBin = 1000;
124 param->fMaxSnpTracker = 0.9;
127 param->SetName("Hlt Param");
128 param->SetTitle("Hlt Param");
129 param->fBKinkFinder = kFALSE;
133 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
135 // special setting for laser
137 AliTPCRecoParam *param = new AliTPCRecoParam;
138 param->fDumpSignal=kTRUE;
139 param->fCtgRange = 10.05;
140 param->fFirstBin = 0;
141 param->fLastBin = 1000;
142 param->fBCalcPedestal = bPedestal;
143 param->fBDoUnfold = kFALSE;
144 param->fDumpAmplitudeMin = 150;
145 param->fBKinkFinder = kFALSE;
146 param->fMaxSnpTracker = 0.98;
148 param->fBSpecialSeeding = kTRUE;
149 param->fBYMirror = kFALSE;
152 param->SetName("Laser Flux");
153 param->SetTitle("Laser Flux");
157 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
159 // special setting for cosmic
161 AliTPCRecoParam *param = new AliTPCRecoParam;
162 param->fDumpSignal=kTRUE;
163 param->fCtgRange = 10.05; // full TPC
164 param->fFirstBin = 60;
165 param->fLastBin = 1000;
166 param->fBCalcPedestal = bPedestal;
167 param->fBDoUnfold = kFALSE;
168 param->fBSpecialSeeding = kTRUE;
170 param->fBKinkFinder = kFALSE;
171 param->fBYMirror = kFALSE;
172 param->SetName("Cosmic Flux");
173 param->SetTitle("Cosmic Flux");