]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSRecoParam.cxx
SPD calibration file to be used as default for PDC07 (1% randomly distributed dead...
[u/mrichter/AliRoot.git] / ITS / AliITSRecoParam.cxx
CommitLineData
44347160 1/**************************************************************************
2 * Copyright(c) 1998-2007, 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 ITS reconstruction parameters //
20// Origin: andrea.dainese@lnl.infn.it //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24
25#include "AliITSRecoParam.h"
26
27ClassImp(AliITSRecoParam)
28
29
30//_____________________________________________________________________________
31AliITSRecoParam::AliITSRecoParam()
32{
33 //
34 // constructor
35 //
36 SetLayersParameters();
afd25725 37 SetUseTGeoInTracker(kFALSE);
38 SetAllowSharedClusters(kTRUE);
39 SetFindV0s(kTRUE);
40 SetAddVirtualClustersInDeadZone(kTRUE);
44347160 41}
42//_____________________________________________________________________________
43AliITSRecoParam::~AliITSRecoParam()
44{
45 //
46 // destructor
47 //
48}
49//_____________________________________________________________________________
50AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
51{
52 //
53 // make default reconstruction parameters for hig flux env.
54 //
55 AliITSRecoParam *param = new AliITSRecoParam();
56
57 param->fMaxSnp = 0.95;
58
59 param->fNSigmaYLayerForRoadY = 4.;
60 param->fNSigmaRoadY = 7.5;
61 param->fNSigmaZLayerForRoadZ = 4.;
62 param->fNSigmaRoadZ = 7.5;
63
64 param->fNSigma2RoadZC = 60.; //7.75^2
65 param->fNSigma2RoadYC = 60.; //7.75^2
66 param->fNSigma2RoadZNonC = 50.; //7.07^2
67 param->fNSigma2RoadYNonC = 50.; //7.07^2
68
69 param->fMaxChi2PerCluster[0] = 11.; //7
70 param->fMaxChi2PerCluster[1] = 12.; //5
71 param->fMaxChi2PerCluster[2] = 12.; //8
72 param->fMaxChi2PerCluster[3] = 5.; //8
73 param->fMaxChi2PerCluster[4] = 12.; //6.5
74
75 param->fMaxNormChi2NonC[0] = 7.;
76 param->fMaxNormChi2NonC[1] = 8.;
77 param->fMaxNormChi2NonC[2] = 8.;
78 param->fMaxNormChi2NonC[3] = 11.;
79 param->fMaxNormChi2NonC[4] = 14.;
80 param->fMaxNormChi2NonC[5] = 25.;
81
82 param->fMaxNormChi2C[0] = 11.;
83 param->fMaxNormChi2C[1] = 13.;
84 param->fMaxNormChi2C[2] = 15.;
85 param->fMaxNormChi2C[3] = 18.;
86 param->fMaxNormChi2C[4] = 30.;
87 param->fMaxNormChi2C[5] = 35.;
afd25725 88
89 param->fMaxNormChi2NonCForHypothesis = 7.;
44347160 90
91 param->fMaxChi2 = 35.;
92
93 param->fMaxChi2s[0] = 25.; //40
94 param->fMaxChi2s[1] = 25.; //40
95 param->fMaxChi2s[2] = 25.; //40
96 param->fMaxChi2s[3] = 25.; //40
97 param->fMaxChi2s[4] = 40.; //40
98 param->fMaxChi2s[5] = 50.; //40
99
100 param->fMaxRoad = 6.;
101
102 // not used
103 param->fMaxChi2In = 16.;
104
105 param->fMaxChi2sR[0] = 10.;
106 param->fMaxChi2sR[1] = 10.;
107 param->fMaxChi2sR[2] = 10.;
108 param->fMaxChi2sR[3] = 10.;
109 param->fMaxChi2sR[4] = 30.;
110 param->fMaxChi2sR[5] = 40.;
111
112 param->fChi2PerCluster = 9.;
113 // not used
114
115 param->fXV = 0.;
116 param->fYV = 0.;
117 param->fZV = 0.;
118 param->fSigmaXV = 0.0050;
119 param->fSigmaYV = 0.0050;
120 param->fSigmaZV = 0.0100;
121
122 param->fVertexCut = 25.;
afd25725 123
124 param->fMaxDZforPrimTrk = 0.4;
125 param->fMaxDZToUseConstraint = 3.;
126
127 param->fMaxDforV0dghtrForProlongation = 30.;
128 param->fMaxDForProlongation = 10.;
129 param->fMaxDZForProlongation = 20.;
130 param->fMinPtForProlongation = 0.120;
131
132 param->fZWindowDeadZone = 2.0;
133 param->fSigmaXDeadZoneHit2 = 0.004/12.;
134 param->fSigmaZDeadZoneHit2 = 0.001/12.;
135 param->fXPassDeadZoneHits = 0.018;
136
44347160 137
138 return param;
139}
140//_____________________________________________________________________________
141AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
142{
143 //
144 // make default reconstruction parameters for low flux env.
145 //
146 return GetHighFluxParam();
147}
148//_____________________________________________________________________________
149AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
150{
151 //
152 // make default reconstruction parameters for cosmics
153 //
154 return GetHighFluxParam();
155}
156//_____________________________________________________________________________
157void AliITSRecoParam::SetLayersParameters()
158{
159 //
160 // number of layers and layers spatial resolutions
161 //
162
163 // spatial resolutions of the detectors
164 // y: 12 12 38 38 20 20 micron
165 fSigmaY2[0]=1.44e-6;
166 fSigmaY2[1]=1.44e-6;
167 fSigmaY2[2]=1.444e-5;
168 fSigmaY2[3]=1.444e-5;
169 fSigmaY2[4]=4.0e-6;
170 fSigmaY2[5]=4.0e-6;
171 // z: 120 120 28 28 830 830 micron
172 fSigmaZ2[0]=1.44e-4;
173 fSigmaZ2[1]=1.44e-4;
174 fSigmaZ2[2]=7.84e-6;
175 fSigmaZ2[3]=7.84e-6;
176 fSigmaZ2[4]=6.889e-3;
177 fSigmaZ2[5]=6.889e-3;
178
179 return;
180}
181