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;
101 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
103 // make reco parameters for high flux env.
105 AliTPCRecoParam *param = new AliTPCRecoParam;
106 param->fCtgRange = 1.05;
107 param->fFirstBin = 0;
108 param->fLastBin = 1000;
112 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
114 // special setting for laser
116 AliTPCRecoParam *param = new AliTPCRecoParam;
117 param->fDumpSignal=kTRUE;
118 param->fCtgRange = 10.05;
119 param->fFirstBin = 0;
120 param->fLastBin = 1000;
121 param->fBCalcPedestal = bPedestal;
122 param->fBDoUnfold = kFALSE;
123 param->fDumpAmplitudeMin = 150;
124 param->fBKinkFinder = kFALSE;
125 param->fMaxSnpTracker = 0.98;
127 param->fBSpecialSeeding = kTRUE;
128 param->fBYMirror = kFALSE;
134 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
136 // special setting for cosmic
138 AliTPCRecoParam *param = new AliTPCRecoParam;
139 param->fDumpSignal=kTRUE;
140 param->fCtgRange = 10.05; // full TPC
141 param->fFirstBin = 60;
142 param->fLastBin = 1000;
143 param->fBCalcPedestal = bPedestal;
144 param->fBDoUnfold = kFALSE;
145 param->fBSpecialSeeding = kTRUE;
147 param->fBKinkFinder = kFALSE;
148 param->fBYMirror = kFALSE;