]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.cxx
AliTPCRecoParam derives from AliDetectroRecoParam (Marian)
[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   AliDetectorRecoParam(),
35   fBClusterSharing(kTRUE),
36   fCtgRange(1.05),       
37   fMaxSnpTracker(0.95),
38   fMaxSnpTrack(0.999),
39   fBYMirror(kTRUE),
40   fDumpSignal(kFALSE),
41   fFirstBin(0),
42   fLastBin(-1),
43   fBCalcPedestal(kFALSE),
44   fBDoUnfold(kTRUE),
45   fDumpAmplitudeMin(100),
46   fMaxNoise(2.),
47   fMinMaxCutAbs(5.),
48   fMinLeftRightCutAbs(9.),
49   fMinUpDownCutAbs(10.),
50   fMinMaxCutSigma(4.),
51   fMinLeftRightCutSigma(7.),
52   fMinUpDownCutSigma(8.),
53   fMaxC(0.3),
54   fBSpecialSeeding(kFALSE),
55   fBKinkFinder(kTRUE),
56   fLastSeedRowSec(120)
57 {
58   //
59   // constructor
60   //
61   SetName("TPC");
62   SetTitle("TPC");
63 }
64
65 //_____________________________________________________________________________
66 AliTPCRecoParam::~AliTPCRecoParam() 
67 {
68   //
69   // destructor
70   //  
71 }
72
73
74
75
76 AliTPCRecoParam *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
87 AliTPCRecoParam *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
98 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
99   //
100   // special setting for laser
101   //
102   AliTPCRecoParam *param = new AliTPCRecoParam;
103   param->fDumpSignal=kTRUE;
104   param->fCtgRange = 10.05;
105   param->fFirstBin = 0;
106   param->fLastBin  = 1000;
107   param->fBCalcPedestal = bPedestal;
108   param->fBDoUnfold     = kFALSE;
109   param->fDumpAmplitudeMin = 150;
110   param->fBKinkFinder   = kFALSE;
111   param->fMaxSnpTracker = 0.98;
112   param->fMaxC          = 0.02;
113   param->fBSpecialSeeding = kTRUE;
114   param->fBYMirror      = kFALSE;
115   return param;
116 }
117
118 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
119   //
120   // special setting for cosmic 
121   // 
122   AliTPCRecoParam *param = new AliTPCRecoParam;
123   param->fDumpSignal=kTRUE;
124   param->fCtgRange = 10.05;    // full TPC
125   param->fFirstBin = 60;
126   param->fLastBin  = 1000;
127   param->fBCalcPedestal = bPedestal;
128   param->fBDoUnfold     = kFALSE;
129   param->fBSpecialSeeding = kTRUE;
130   param->fMaxC          = 0.07;
131   param->fBKinkFinder   = kFALSE;
132   param->fBYMirror      = kFALSE;
133   return param;
134 }
135
136
137