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():
39 fBCalcPedestal(kFALSE),
41 fDumpAmplitudeMin(100),
44 fBSpecialSeeding(kFALSE),
52 //_____________________________________________________________________________
53 AliTPCRecoParam::~AliTPCRecoParam()
63 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
65 // make default reconstruction parameters for low flux env.
67 AliTPCRecoParam *param = new AliTPCRecoParam;
68 param->fCtgRange = 10;
70 param->fLastBin = 1000;
74 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
76 // make reco parameters for high flux env.
78 AliTPCRecoParam *param = new AliTPCRecoParam;
79 param->fCtgRange = 1.05;
81 param->fLastBin = 1000;
85 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
87 // special setting for laser
89 AliTPCRecoParam *param = new AliTPCRecoParam;
90 param->fCtgRange = 10.05;
92 param->fLastBin = 1000;
93 param->fBCalcPedestal = bPedestal;
94 param->fBDoUnfold = kFALSE;
95 param->fBKinkFinder = kFALSE;
96 param->fMaxSnpTracker = 0.98;
98 param->fBSpecialSeeding = kTRUE;
102 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
104 // special setting for cosmic
106 AliTPCRecoParam *param = new AliTPCRecoParam;
107 param->fCtgRange = 10.05; // full TPC
108 param->fFirstBin = 60;
109 param->fLastBin = 1000;
110 param->fBCalcPedestal = bPedestal;
111 param->fBDoUnfold = kFALSE;
112 param->fBSpecialSeeding = kTRUE;
114 param->fBKinkFinder = kFALSE;