Teh last and first time bin for recosntruction are taken from
[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():
b1c50d5c 34 AliDetectorRecoParam(),
018e4f8a 35 fBClusterSharing(kTRUE),
669ce3c3 36 fCtgRange(1.05),
37 fMaxSnpTracker(0.95),
38 fMaxSnpTrack(0.999),
657452bc 39 fBYMirror(kTRUE),
b127a65f 40 fDumpSignal(kFALSE),
669ce3c3 41 fFirstBin(0),
42 fLastBin(-1),
43 fBCalcPedestal(kFALSE),
44 fBDoUnfold(kTRUE),
45 fDumpAmplitudeMin(100),
837809ab 46 fMaxNoise(2.),
940ed1f0 47 fMinMaxCutAbs(5.),
48 fMinLeftRightCutAbs(9.),
49 fMinUpDownCutAbs(10.),
50 fMinMaxCutSigma(4.),
51 fMinLeftRightCutSigma(7.),
52 fMinUpDownCutSigma(8.),
b9cc16e4 53 fMaxC(0.3),
54 fBSpecialSeeding(kFALSE),
7d27c1df 55 fBKinkFinder(kTRUE),
56 fLastSeedRowSec(120)
669ce3c3 57{
58 //
59 // constructor
60 //
b1c50d5c 61 SetName("TPC");
62 SetTitle("TPC");
669ce3c3 63}
64
65//_____________________________________________________________________________
66AliTPCRecoParam::~AliTPCRecoParam()
67{
68 //
69 // destructor
70 //
71}
72
73
74
75
76AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
77 //
78 // make default reconstruction parameters for low flux env.
79 //
80 AliTPCRecoParam *param = new AliTPCRecoParam;
81 param->fCtgRange = 10;
82 param->fFirstBin = 0;
83 param->fLastBin = 1000;
84 return param;
85}
86
87AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
88 //
89 // make reco parameters for high flux env.
90 //
91 AliTPCRecoParam *param = new AliTPCRecoParam;
92 param->fCtgRange = 1.05;
93 param->fFirstBin = 0;
94 param->fLastBin = 1000;
95 return param;
96}
97
98AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
99 //
100 // special setting for laser
101 //
102 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 103 param->fDumpSignal=kTRUE;
669ce3c3 104 param->fCtgRange = 10.05;
105 param->fFirstBin = 0;
106 param->fLastBin = 1000;
107 param->fBCalcPedestal = bPedestal;
108 param->fBDoUnfold = kFALSE;
fe5055e5 109 param->fDumpAmplitudeMin = 150;
669ce3c3 110 param->fBKinkFinder = kFALSE;
b9cc16e4 111 param->fMaxSnpTracker = 0.98;
112 param->fMaxC = 0.02;
113 param->fBSpecialSeeding = kTRUE;
657452bc 114 param->fBYMirror = kFALSE;
669ce3c3 115 return param;
116}
117
118AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
119 //
120 // special setting for cosmic
121 //
122 AliTPCRecoParam *param = new AliTPCRecoParam;
b127a65f 123 param->fDumpSignal=kTRUE;
669ce3c3 124 param->fCtgRange = 10.05; // full TPC
125 param->fFirstBin = 60;
126 param->fLastBin = 1000;
127 param->fBCalcPedestal = bPedestal;
128 param->fBDoUnfold = kFALSE;
b9cc16e4 129 param->fBSpecialSeeding = kTRUE;
130 param->fMaxC = 0.07;
669ce3c3 131 param->fBKinkFinder = kFALSE;
657452bc 132 param->fBYMirror = kFALSE;
669ce3c3 133 return param;
134}
135
136
137