]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.cxx
AliTPCclusterInof is added to the cluster only as option
[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   fBYMirror(kTRUE),
38   fDumpSignal(kFALSE),
39   fFirstBin(0),
40   fLastBin(-1),
41   fBCalcPedestal(kFALSE),
42   fBDoUnfold(kTRUE),
43   fDumpAmplitudeMin(100),
44   fMaxNoise(2.),
45   fMinMaxCutAbs(5.),
46   fMinLeftRightCutAbs(9.),
47   fMinUpDownCutAbs(10.),
48   fMinMaxCutSigma(4.),
49   fMinLeftRightCutSigma(7.),
50   fMinUpDownCutSigma(8.),
51   fMaxC(0.3),
52   fBSpecialSeeding(kFALSE),
53   fBKinkFinder(kTRUE),
54   fLastSeedRowSec(120)
55 {
56   //
57   // constructor
58   //
59 }
60
61 //_____________________________________________________________________________
62 AliTPCRecoParam::~AliTPCRecoParam() 
63 {
64   //
65   // destructor
66   //  
67 }
68
69
70
71
72 AliTPCRecoParam *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
83 AliTPCRecoParam *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
94 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
95   //
96   // special setting for laser
97   //
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;
108   param->fMaxC          = 0.02;
109   param->fBSpecialSeeding = kTRUE;
110   param->fBYMirror      = kFALSE;
111   return param;
112 }
113
114 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
115   //
116   // special setting for cosmic 
117   // 
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;
126   param->fMaxC          = 0.07;
127   param->fBKinkFinder   = kFALSE;
128   param->fBYMirror      = kFALSE;
129   return param;
130 }
131
132
133