Changing to the AliESDEvent (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.cxx
CommitLineData
669ce3c3 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16
17///////////////////////////////////////////////////////////////////////////////
18// //
19// Class with TPC reconstruction parameters //
20// //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24
25#include "AliTPCRecoParam.h"
26
27ClassImp(AliTPCRecoParam)
28
29
30
31
32//_____________________________________________________________________________
33AliTPCRecoParam::AliTPCRecoParam():
34 fCtgRange(1.05),
35 fMaxSnpTracker(0.95),
36 fMaxSnpTrack(0.999),
657452bc 37 fBYMirror(kTRUE),
b127a65f 38 fDumpSignal(kFALSE),
669ce3c3 39 fFirstBin(0),
40 fLastBin(-1),
41 fBCalcPedestal(kFALSE),
42 fBDoUnfold(kTRUE),
43 fDumpAmplitudeMin(100),
837809ab 44 fMaxNoise(2.),
940ed1f0 45 fMinMaxCutAbs(5.),
46 fMinLeftRightCutAbs(9.),
47 fMinUpDownCutAbs(10.),
48 fMinMaxCutSigma(4.),
49 fMinLeftRightCutSigma(7.),
50 fMinUpDownCutSigma(8.),
b9cc16e4 51 fMaxC(0.3),
52 fBSpecialSeeding(kFALSE),
7d27c1df 53 fBKinkFinder(kTRUE),
54 fLastSeedRowSec(120)
669ce3c3 55{
56 //
57 // constructor
58 //
59}
60
61//_____________________________________________________________________________
62AliTPCRecoParam::~AliTPCRecoParam()
63{
64 //
65 // destructor
66 //
67}
68
69
70
71
72AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
73 //
74 // make default reconstruction parameters for low flux env.
75 //
76 AliTPCRecoParam *param = new AliTPCRecoParam;
77 param->fCtgRange = 10;
78 param->fFirstBin = 0;
79 param->fLastBin = 1000;
80 return param;
81}
82
83AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
84 //
85 // make reco parameters for high flux env.
86 //
87 AliTPCRecoParam *param = new AliTPCRecoParam;
88 param->fCtgRange = 1.05;
89 param->fFirstBin = 0;
90 param->fLastBin = 1000;
91 return param;
92}
93
94AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
95 //
96 // special setting for laser
97 //
98 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 99 param->fDumpSignal=kTRUE;
669ce3c3 100 param->fCtgRange = 10.05;
101 param->fFirstBin = 0;
102 param->fLastBin = 1000;
103 param->fBCalcPedestal = bPedestal;
104 param->fBDoUnfold = kFALSE;
fe5055e5 105 param->fDumpAmplitudeMin = 150;
669ce3c3 106 param->fBKinkFinder = kFALSE;
b9cc16e4 107 param->fMaxSnpTracker = 0.98;
108 param->fMaxC = 0.02;
109 param->fBSpecialSeeding = kTRUE;
657452bc 110 param->fBYMirror = kFALSE;
669ce3c3 111 return param;
112}
113
114AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
115 //
116 // special setting for cosmic
117 //
118 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 119 param->fDumpSignal=kTRUE;
669ce3c3 120 param->fCtgRange = 10.05; // full TPC
121 param->fFirstBin = 60;
122 param->fLastBin = 1000;
123 param->fBCalcPedestal = bPedestal;
124 param->fBDoUnfold = kFALSE;
b9cc16e4 125 param->fBSpecialSeeding = kTRUE;
126 param->fMaxC = 0.07;
669ce3c3 127 param->fBKinkFinder = kFALSE;
657452bc 128 param->fBYMirror = kFALSE;
669ce3c3 129 return param;
130}
131
132
133