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 //
22 ///////////////////////////////////////////////////////////////////////////////
25 #include "AliTPCRecoParam.h"
27 ClassImp(AliTPCRecoParam)
32 //_____________________________________________________________________________
33 AliTPCRecoParam::AliTPCRecoParam():
40 fBCalcPedestal(kFALSE),
42 fDumpAmplitudeMin(100),
45 fBSpecialSeeding(kFALSE),
53 //_____________________________________________________________________________
54 AliTPCRecoParam::~AliTPCRecoParam()
64 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
66 // make default reconstruction parameters for low flux env.
68 AliTPCRecoParam *param = new AliTPCRecoParam;
69 param->fCtgRange = 10;
71 param->fLastBin = 1000;
75 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
77 // make reco parameters for high flux env.
79 AliTPCRecoParam *param = new AliTPCRecoParam;
80 param->fCtgRange = 1.05;
82 param->fLastBin = 1000;
86 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
88 // special setting for laser
90 AliTPCRecoParam *param = new AliTPCRecoParam;
91 param->fCtgRange = 10.05;
93 param->fLastBin = 1000;
94 param->fBCalcPedestal = bPedestal;
95 param->fBDoUnfold = kFALSE;
96 param->fBKinkFinder = kFALSE;
97 param->fMaxSnpTracker = 0.98;
99 param->fBSpecialSeeding = kTRUE;
100 param->fBYMirror = kFALSE;
104 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
106 // special setting for cosmic
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;
114 param->fBSpecialSeeding = kTRUE;
116 param->fBKinkFinder = kFALSE;
117 param->fBYMirror = kFALSE;