1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 **************************************************************************/
18 ///////////////////////////////////////////////////////////////////////////////
20 // Parameter class for the TRD reconstruction //
23 // Alex Bercuci <A.Bercuci@gsi.de> //
24 // Markus Fasel <M.Fasel@gsi.de> //
26 ///////////////////////////////////////////////////////////////////////////////
28 #include "AliTRDrecoParam.h"
29 #include "AliTRDrawStreamBase.h"
31 ClassImp(AliTRDrecoParam)
33 //______________________________________________________________
34 AliTRDrecoParam::AliTRDrecoParam()
35 :AliDetectorRecoParam()
44 ,fkPlaneQualityThreshold(5.0)// 4.2? under Investigation
46 ,fkChi2Z(30./*14.*//*12.5*/)
48 ,fkTrackLikelihood(-15.)
50 ,fMinLeftRightCutSigma(8.)
54 ,fNumberOfPresamples(0)
55 ,fNumberOfPostsamples(0)
58 // Default constructor
60 SetClusterSharing(kFALSE);
61 SetVertexConstrained();
65 fSysCovMatrix[0] = 1.; // y direction (1 cm)
66 fSysCovMatrix[1] = 1.; // z direction (1 cm)
67 fSysCovMatrix[2] = 0.; // snp
68 fSysCovMatrix[3] = 0.; // tgl
69 fSysCovMatrix[4] = 0.; // 1/pt
72 //______________________________________________________________
73 AliTRDrecoParam::AliTRDrecoParam(const AliTRDrecoParam &ref)
74 :AliDetectorRecoParam(ref)
75 ,fkMaxTheta(ref.fkMaxTheta)
76 ,fkMaxPhi(ref.fkMaxPhi)
77 ,fkRoad0y(ref.fkRoad0y)
78 ,fkRoad0z(ref.fkRoad0z)
79 ,fkRoad1y(ref.fkRoad1y)
80 ,fkRoad1z(ref.fkRoad1z)
81 ,fkRoad2y(ref.fkRoad2y)
82 ,fkRoad2z(ref.fkRoad2z)
83 ,fkPlaneQualityThreshold(ref.fkPlaneQualityThreshold)
84 ,fkFindable(ref.fkFindable)
87 ,fkTrackLikelihood(ref.fkTrackLikelihood)
88 ,fMinMaxCutSigma(ref.fMinMaxCutSigma)
89 ,fMinLeftRightCutSigma(ref.fMinLeftRightCutSigma)
90 ,fClusMaxThresh(ref.fClusMaxThresh)
91 ,fClusSigThresh(ref.fClusSigThresh)
93 ,fNumberOfPresamples(ref.fNumberOfPresamples)
94 ,fNumberOfPostsamples(ref.fNumberOfPostsamples)
99 SetClusterSharing(ref.IsClusterSharing());
100 SetVertexConstrained(ref.IsVertexConstrained());
102 SetTailCancelation(ref.IsTailCancelation());
104 memcpy(fSysCovMatrix, ref.fSysCovMatrix, 5*sizeof(Double_t));
107 //______________________________________________________________
108 AliTRDrecoParam *AliTRDrecoParam::GetLowFluxParam()
111 // Parameters for the low flux environment
114 return new AliTRDrecoParam();
118 //______________________________________________________________
119 AliTRDrecoParam *AliTRDrecoParam::GetHighFluxParam()
122 // Parameters for the high flux environment
125 return new AliTRDrecoParam();
129 //______________________________________________________________
130 AliTRDrecoParam *AliTRDrecoParam::GetCosmicTestParam()
133 // Parameters for the cosmics data
136 AliTRDrawStreamBase::SetRawStreamVersion("TB");
137 AliTRDrecoParam *par = new AliTRDrecoParam();
138 par->SetVertexConstrained();