]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.cxx
Seting separate names for different recosntruction setup
[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   The reconstruction parameters are used in the AliTPCclustererMI and AliTPCtrackerMI
24   
25   They are retrieved:
26   0. User speciefied it in reconstruction macro
27   1. if (not 0) from OCDB  - AliTPCcalibDB::GetRecoParam(eventtype)
28   2. if (not 0 or 1) default parameter - High flux enevironment used  
29
30   FIXME:
31   In the future  reconstruction parameters should be changed on event basis
32   But for the moment, event types are still not defined 
33
34 */
35                                                                            //
36 ///////////////////////////////////////////////////////////////////////////////
37
38
39 #include "AliTPCRecoParam.h"
40
41 ClassImp(AliTPCRecoParam)
42
43
44
45
46 //_____________________________________________________________________________
47 AliTPCRecoParam::AliTPCRecoParam():
48   AliDetectorRecoParam(),
49   fBClusterSharing(kTRUE),
50   fCtgRange(1.05),       
51   fMaxSnpTracker(0.95),
52   fMaxSnpTrack(0.999),
53   fBYMirror(kTRUE),
54   fDumpSignal(kFALSE),
55   fFirstBin(0),
56   fLastBin(-1),
57   fBCalcPedestal(kFALSE),
58   fBDoUnfold(kTRUE),
59   fDumpAmplitudeMin(100),
60   fMaxNoise(2.),
61   fMinMaxCutAbs(5.),
62   fMinLeftRightCutAbs(9.),
63   fMinUpDownCutAbs(10.),
64   fMinMaxCutSigma(4.),
65   fMinLeftRightCutSigma(7.),
66   fMinUpDownCutSigma(8.),
67   fMaxC(0.3),
68   fBSpecialSeeding(kFALSE),
69   fBKinkFinder(kTRUE),
70   fLastSeedRowSec(120)
71 {
72   //
73   // constructor
74   //
75   SetName("TPC");
76   SetTitle("TPC");
77 }
78
79 //_____________________________________________________________________________
80 AliTPCRecoParam::~AliTPCRecoParam() 
81 {
82   //
83   // destructor
84   //  
85 }
86
87
88
89
90 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
91   //
92   // make default reconstruction  parameters for low  flux env.
93   //
94   AliTPCRecoParam *param = new AliTPCRecoParam;
95   param->fCtgRange = 10;
96   param->fFirstBin = 0;
97   param->fLastBin  = 1000;
98   param->SetName("Low Flux");
99   param->SetTitle("Low Flux");
100   return param;
101 }
102
103 AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
104   //
105   // make reco parameters for high flux env.
106   //
107   AliTPCRecoParam *param = new AliTPCRecoParam;
108   param->fCtgRange = 1.05;
109   param->fFirstBin = 0;
110   param->fLastBin  = 1000;  
111   param->SetName("High Flux");
112   param->SetTitle("High Flux");
113   return param;
114 }
115
116 AliTPCRecoParam *AliTPCRecoParam::GetHLTParam(){
117   //
118   // make reco parameters for high flux env.
119   //
120   AliTPCRecoParam *param = new AliTPCRecoParam;
121   param->fCtgRange = 1.05;
122   param->fFirstBin = 80;
123   param->fLastBin  = 1000;  
124   param->fMaxSnpTracker = 0.9; 
125   param->fMaxC          = 0.06;
126   //
127   param->SetName("Hlt Param");
128   param->SetTitle("Hlt Param"); 
129   param->fBKinkFinder   = kFALSE;
130   return param;
131 }
132
133 AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
134   //
135   // special setting for laser
136   //
137   AliTPCRecoParam *param = new AliTPCRecoParam;
138   param->fDumpSignal=kTRUE;
139   param->fCtgRange = 10.05;
140   param->fFirstBin = 0;
141   param->fLastBin  = 1000;
142   param->fBCalcPedestal = bPedestal;
143   param->fBDoUnfold     = kFALSE;
144   param->fDumpAmplitudeMin = 150;
145   param->fBKinkFinder   = kFALSE;
146   param->fMaxSnpTracker = 0.98;
147   param->fMaxC          = 0.02;
148   param->fBSpecialSeeding = kTRUE;
149   param->fBYMirror      = kFALSE;
150   //
151   //
152   param->SetName("Laser Flux");
153   param->SetTitle("Laser Flux");
154   return param;
155 }
156
157 AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
158   //
159   // special setting for cosmic 
160   // 
161   AliTPCRecoParam *param = new AliTPCRecoParam;
162   param->fDumpSignal=kTRUE;
163   param->fCtgRange = 10.05;    // full TPC
164   param->fFirstBin = 60;
165   param->fLastBin  = 1000;
166   param->fBCalcPedestal = bPedestal;
167   param->fBDoUnfold     = kFALSE;
168   param->fBSpecialSeeding = kTRUE;
169   param->fMaxC          = 0.07;
170   param->fBKinkFinder   = kFALSE;
171   param->fBYMirror      = kFALSE;
172   param->SetName("Cosmic Flux");
173   param->SetTitle("Cosmic Flux");
174
175   return param;
176 }
177
178
179