* Possibility to reconstruct cosmic muon tracks that cross the ITS
[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();
37}
38//_____________________________________________________________________________
39AliITSRecoParam::~AliITSRecoParam()
40{
41 //
42 // destructor
43 //
44}
45//_____________________________________________________________________________
46AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
47{
48 //
49 // make default reconstruction parameters for hig flux env.
50 //
51 AliITSRecoParam *param = new AliITSRecoParam();
52
53 param->fMaxSnp = 0.95;
54
55 param->fNSigmaYLayerForRoadY = 4.;
56 param->fNSigmaRoadY = 7.5;
57 param->fNSigmaZLayerForRoadZ = 4.;
58 param->fNSigmaRoadZ = 7.5;
59
60 param->fNSigma2RoadZC = 60.; //7.75^2
61 param->fNSigma2RoadYC = 60.; //7.75^2
62 param->fNSigma2RoadZNonC = 50.; //7.07^2
63 param->fNSigma2RoadYNonC = 50.; //7.07^2
64
65 param->fMaxChi2PerCluster[0] = 11.; //7
66 param->fMaxChi2PerCluster[1] = 12.; //5
67 param->fMaxChi2PerCluster[2] = 12.; //8
68 param->fMaxChi2PerCluster[3] = 5.; //8
69 param->fMaxChi2PerCluster[4] = 12.; //6.5
70
71 param->fMaxNormChi2NonC[0] = 7.;
72 param->fMaxNormChi2NonC[1] = 8.;
73 param->fMaxNormChi2NonC[2] = 8.;
74 param->fMaxNormChi2NonC[3] = 11.;
75 param->fMaxNormChi2NonC[4] = 14.;
76 param->fMaxNormChi2NonC[5] = 25.;
77
78 param->fMaxNormChi2C[0] = 11.;
79 param->fMaxNormChi2C[1] = 13.;
80 param->fMaxNormChi2C[2] = 15.;
81 param->fMaxNormChi2C[3] = 18.;
82 param->fMaxNormChi2C[4] = 30.;
83 param->fMaxNormChi2C[5] = 35.;
84
85 param->fMaxChi2 = 35.;
86
87 param->fMaxChi2s[0] = 25.; //40
88 param->fMaxChi2s[1] = 25.; //40
89 param->fMaxChi2s[2] = 25.; //40
90 param->fMaxChi2s[3] = 25.; //40
91 param->fMaxChi2s[4] = 40.; //40
92 param->fMaxChi2s[5] = 50.; //40
93
94 param->fMaxRoad = 6.;
95
96 // not used
97 param->fMaxChi2In = 16.;
98
99 param->fMaxChi2sR[0] = 10.;
100 param->fMaxChi2sR[1] = 10.;
101 param->fMaxChi2sR[2] = 10.;
102 param->fMaxChi2sR[3] = 10.;
103 param->fMaxChi2sR[4] = 30.;
104 param->fMaxChi2sR[5] = 40.;
105
106 param->fChi2PerCluster = 9.;
107 // not used
108
109 param->fXV = 0.;
110 param->fYV = 0.;
111 param->fZV = 0.;
112 param->fSigmaXV = 0.0050;
113 param->fSigmaYV = 0.0050;
114 param->fSigmaZV = 0.0100;
115
116 param->fVertexCut = 25.;
117
118 return param;
119}
120//_____________________________________________________________________________
121AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
122{
123 //
124 // make default reconstruction parameters for low flux env.
125 //
126 return GetHighFluxParam();
127}
128//_____________________________________________________________________________
129AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
130{
131 //
132 // make default reconstruction parameters for cosmics
133 //
134 return GetHighFluxParam();
135}
136//_____________________________________________________________________________
137void AliITSRecoParam::SetLayersParameters()
138{
139 //
140 // number of layers and layers spatial resolutions
141 //
142
143 // spatial resolutions of the detectors
144 // y: 12 12 38 38 20 20 micron
145 fSigmaY2[0]=1.44e-6;
146 fSigmaY2[1]=1.44e-6;
147 fSigmaY2[2]=1.444e-5;
148 fSigmaY2[3]=1.444e-5;
149 fSigmaY2[4]=4.0e-6;
150 fSigmaY2[5]=4.0e-6;
151 // z: 120 120 28 28 830 830 micron
152 fSigmaZ2[0]=1.44e-4;
153 fSigmaZ2[1]=1.44e-4;
154 fSigmaZ2[2]=7.84e-6;
155 fSigmaZ2[3]=7.84e-6;
156 fSigmaZ2[4]=6.889e-3;
157 fSigmaZ2[5]=6.889e-3;
158
159 return;
160}
161