]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.cxx
Parameterization of reconstruction algorithm.
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.cxx
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
27 ClassImp(AliTPCRecoParam)
28
29
30
31
32 //_____________________________________________________________________________
33 AliTPCRecoParam::AliTPCRecoParam():
34   fCtgRange(1.05),       
35   fMaxSnpTracker(0.95),
36   fMaxSnpTrack(0.999),
37   fFirstBin(0),
38   fLastBin(-1),
39   fBCalcPedestal(kFALSE),
40   fBDoUnfold(kTRUE),
41   fDumpAmplitudeMin(100),
42   fMaxNoise(3.),
43   fBKinkFinder(kTRUE)
44 {
45   //
46   // constructor
47   //
48 }
49
50 //_____________________________________________________________________________
51 AliTPCRecoParam::~AliTPCRecoParam() 
52 {
53   //
54   // destructor
55   //  
56 }
57
58
59
60
61 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
62   //
63   // make default reconstruction  parameters for low  flux env.
64   //
65   AliTPCRecoParam *param = new AliTPCRecoParam;
66   param->fCtgRange = 10;
67   param->fFirstBin = 0;
68   param->fLastBin  = 1000;
69   return param;
70 }
71
72 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
73   //
74   // make reco parameters for high flux env.
75   //
76   AliTPCRecoParam *param = new AliTPCRecoParam;
77   param->fCtgRange = 1.05;
78   param->fFirstBin = 0;
79   param->fLastBin  = 1000;
80   return param;
81 }
82
83 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
84   //
85   // special setting for laser
86   //
87   AliTPCRecoParam *param = new AliTPCRecoParam;
88   param->fCtgRange = 10.05;
89   param->fFirstBin = 0;
90   param->fLastBin  = 1000;
91   param->fBCalcPedestal = bPedestal;
92   param->fBDoUnfold     = kFALSE;
93   param->fBKinkFinder   = kFALSE;
94   return param;
95 }
96
97 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
98   //
99   // special setting for cosmic 
100   // 
101   AliTPCRecoParam *param = new AliTPCRecoParam;
102   param->fCtgRange = 10.05;    // full TPC
103   param->fFirstBin = 60;
104   param->fLastBin  = 1000;
105   param->fBCalcPedestal = bPedestal;
106   param->fBDoUnfold     = kFALSE;
107   param->fBKinkFinder   = kFALSE;
108   return param;
109 }
110
111
112