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():
41 fBCalcPedestal(kFALSE),
43 fDumpAmplitudeMin(100),
46 fMinLeftRightCutAbs(9.),
47 fMinUpDownCutAbs(10.),
49 fMinLeftRightCutSigma(7.),
50 fMinUpDownCutSigma(8.),
52 fBSpecialSeeding(kFALSE),
61 //_____________________________________________________________________________
62 AliTPCRecoParam::~AliTPCRecoParam()
72 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
74 // make default reconstruction parameters for low flux env.
76 AliTPCRecoParam *param = new AliTPCRecoParam;
77 param->fCtgRange = 10;
79 param->fLastBin = 1000;
83 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
85 // make reco parameters for high flux env.
87 AliTPCRecoParam *param = new AliTPCRecoParam;
88 param->fCtgRange = 1.05;
90 param->fLastBin = 1000;
94 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
96 // special setting for laser
98 AliTPCRecoParam *param = new AliTPCRecoParam;
99 param->fDumpSignal=kTRUE;
100 param->fCtgRange = 10.05;
101 param->fFirstBin = 0;
102 param->fLastBin = 1000;
103 param->fBCalcPedestal = bPedestal;
104 param->fBDoUnfold = kFALSE;
105 param->fDumpAmplitudeMin = 150;
106 param->fBKinkFinder = kFALSE;
107 param->fMaxSnpTracker = 0.98;
109 param->fBSpecialSeeding = kTRUE;
110 param->fBYMirror = kFALSE;
114 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
116 // special setting for cosmic
118 AliTPCRecoParam *param = new AliTPCRecoParam;
119 param->fDumpSignal=kTRUE;
120 param->fCtgRange = 10.05; // full TPC
121 param->fFirstBin = 60;
122 param->fLastBin = 1000;
123 param->fBCalcPedestal = bPedestal;
124 param->fBDoUnfold = kFALSE;
125 param->fBSpecialSeeding = kTRUE;
127 param->fBKinkFinder = kFALSE;
128 param->fBYMirror = kFALSE;