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