1 /**************************************************************************
2 * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 #include "AliITSRecoParam.h"
20 ///////////////////////////////////////////////////////////////////////////////
22 // Class with ITS reconstruction parameters //
23 // Origin: andrea.dainese@lnl.infn.it //
25 ///////////////////////////////////////////////////////////////////////////////
29 ClassImp(AliITSRecoParam)
32 //_____________________________________________________________________________
33 AliITSRecoParam::AliITSRecoParam() : TObject(),
34 fNSigmaYLayerForRoadY(0),
36 fNSigmaZLayerForRoadZ(0),
42 fMaxNormChi2NonCForHypothesis(0),
55 fMaxDZToUseConstraint(0),
56 fMaxDforV0dghtrForProlongation(0),
57 fMaxDForProlongation(0),
58 fMaxDZForProlongation(0),
59 fMinPtForProlongation(0),
60 fAddVirtualClustersInDeadZone(kTRUE),
62 fSigmaXDeadZoneHit2(0),
63 fSigmaZDeadZoneHit2(0),
64 fXPassDeadZoneHits(0),
65 fUseTGeoInTracker(kFALSE),
66 fAllowSharedClusters(kTRUE),
67 fUseNominalClusterErrors(kFALSE),
73 SetLayersParameters();
74 SetUseTGeoInTracker(kFALSE);
75 SetAllowSharedClusters(kTRUE);
77 SetAddVirtualClustersInDeadZone(kTRUE);
78 SetUseAmplitudeInfo(kTRUE);
80 //_____________________________________________________________________________
81 AliITSRecoParam::~AliITSRecoParam()
87 //_____________________________________________________________________________
88 AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
91 // make default reconstruction parameters for hig flux env.
93 AliITSRecoParam *param = new AliITSRecoParam();
95 param->fMaxSnp = 0.95;
97 param->fNSigmaYLayerForRoadY = 4.;
98 param->fNSigmaRoadY = 7.5;
99 param->fNSigmaZLayerForRoadZ = 4.;
100 param->fNSigmaRoadZ = 7.5;
102 param->fNSigma2RoadZC = 60.; //7.75^2
103 param->fNSigma2RoadYC = 60.; //7.75^2
104 param->fNSigma2RoadZNonC = 50.; //7.07^2
105 param->fNSigma2RoadYNonC = 50.; //7.07^2
107 param->fMaxChi2PerCluster[0] = 11.; //7
108 param->fMaxChi2PerCluster[1] = 12.; //5
109 param->fMaxChi2PerCluster[2] = 12.; //8
110 param->fMaxChi2PerCluster[3] = 5.; //8
111 param->fMaxChi2PerCluster[4] = 12.; //6.5
113 param->fMaxNormChi2NonC[0] = 7.;
114 param->fMaxNormChi2NonC[1] = 8.;
115 param->fMaxNormChi2NonC[2] = 8.;
116 param->fMaxNormChi2NonC[3] = 11.;
117 param->fMaxNormChi2NonC[4] = 14.;
118 param->fMaxNormChi2NonC[5] = 25.;
120 param->fMaxNormChi2C[0] = 11.;
121 param->fMaxNormChi2C[1] = 13.;
122 param->fMaxNormChi2C[2] = 15.;
123 param->fMaxNormChi2C[3] = 18.;
124 param->fMaxNormChi2C[4] = 30.;
125 param->fMaxNormChi2C[5] = 35.;
127 param->fMaxNormChi2NonCForHypothesis = 7.;
129 param->fMaxChi2 = 35.;
131 param->fMaxChi2s[0] = 25.; //40
132 param->fMaxChi2s[1] = 25.; //40
133 param->fMaxChi2s[2] = 25.; //40
134 param->fMaxChi2s[3] = 25.; //40
135 param->fMaxChi2s[4] = 40.; //40
136 param->fMaxChi2s[5] = 50.; //40
138 param->fMaxRoad = 6.;
141 param->fMaxChi2In = 16.;
143 param->fMaxChi2sR[0] = 10.;
144 param->fMaxChi2sR[1] = 10.;
145 param->fMaxChi2sR[2] = 10.;
146 param->fMaxChi2sR[3] = 10.;
147 param->fMaxChi2sR[4] = 30.;
148 param->fMaxChi2sR[5] = 40.;
150 param->fChi2PerCluster = 9.;
156 param->fSigmaXV = 0.0050;
157 param->fSigmaYV = 0.0050;
158 param->fSigmaZV = 0.0100;
160 param->fVertexCut = 25.;
162 param->fMaxDZforPrimTrk = 0.4;
163 param->fMaxDZToUseConstraint = 3.;
165 param->fMaxDforV0dghtrForProlongation = 30.;
166 param->fMaxDForProlongation = 10.;
167 param->fMaxDZForProlongation = 20.;
168 param->fMinPtForProlongation = 0.120;
170 param->fZWindowDeadZone = 2.0;
171 param->fSigmaXDeadZoneHit2 = 0.004/12.;
172 param->fSigmaZDeadZoneHit2 = 0.001/12.;
173 param->fXPassDeadZoneHits = 0.018;
178 //_____________________________________________________________________________
179 AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
182 // make default reconstruction parameters for low flux env.
184 return GetHighFluxParam();
186 //_____________________________________________________________________________
187 AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
190 // make default reconstruction parameters for cosmics
192 return GetHighFluxParam();
194 //_____________________________________________________________________________
195 void AliITSRecoParam::SetLayersParameters()
198 // number of layers and layers spatial resolutions
201 // spatial resolutions of the detectors
202 // y: 12 12 38 38 20 20 micron
205 fSigmaY2[2]=1.444e-5;
206 fSigmaY2[3]=1.444e-5;
209 // z: 120 120 28 28 830 830 micron
214 fSigmaZ2[4]=6.889e-3;
215 fSigmaZ2[5]=6.889e-3;