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