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
62 SetClusterSharing(kFALSE);
63 SetVertexConstrained();
64 SetImproveTracklets(kFALSE);
66 fSysCovMatrix[0] = 1.; // y direction (1 cm)
67 fSysCovMatrix[1] = 1.; // z direction (1 cm)
68 fSysCovMatrix[2] = 0.; // snp
69 fSysCovMatrix[3] = 0.; // tgl
70 fSysCovMatrix[4] = 0.; // 1/pt
73 //______________________________________________________________
74 AliTRDrecoParam::AliTRDrecoParam(const AliTRDrecoParam &ref)
75 :AliDetectorRecoParam(ref)
76 ,fkMaxTheta(ref.fkMaxTheta)
77 ,fkMaxPhi(ref.fkMaxPhi)
78 ,fkRoad0y(ref.fkRoad0y)
79 ,fkRoad0z(ref.fkRoad0z)
80 ,fkRoad1y(ref.fkRoad1y)
81 ,fkRoad1z(ref.fkRoad1z)
82 ,fkRoad2y(ref.fkRoad2y)
83 ,fkRoad2z(ref.fkRoad2z)
84 ,fkPlaneQualityThreshold(ref.fkPlaneQualityThreshold)
85 ,fkFindable(ref.fkFindable)
88 ,fkTrackLikelihood(ref.fkTrackLikelihood)
89 ,fMinMaxCutSigma(ref.fMinMaxCutSigma)
90 ,fMinLeftRightCutSigma(ref.fMinLeftRightCutSigma)
91 ,fClusMaxThresh(ref.fClusMaxThresh)
92 ,fClusSigThresh(ref.fClusSigThresh)
94 ,fNumberOfPresamples(ref.fNumberOfPresamples)
95 ,fNumberOfPostsamples(ref.fNumberOfPostsamples)
100 SetClusterSharing(ref.IsClusterSharing());
101 SetVertexConstrained(ref.IsVertexConstrained());
103 SetTailCancelation(ref.IsTailCancelation());
104 SetImproveTracklets(ref.HasImproveTracklets());
106 memcpy(fSysCovMatrix, ref.fSysCovMatrix, 5*sizeof(Double_t));
109 //______________________________________________________________
110 AliTRDrecoParam *AliTRDrecoParam::GetLowFluxParam()
113 // Parameters for the low flux environment
116 return new AliTRDrecoParam();
120 //______________________________________________________________
121 AliTRDrecoParam *AliTRDrecoParam::GetHighFluxParam()
124 // Parameters for the high flux environment
127 AliTRDrecoParam *rec = new AliTRDrecoParam();
128 rec->SetImproveTracklets(kTRUE);
133 //______________________________________________________________
134 AliTRDrecoParam *AliTRDrecoParam::GetCosmicTestParam()
137 // Parameters for the cosmics data
140 AliTRDrawStreamBase::SetRawStreamVersion("TB");
141 AliTRDrecoParam *par = new AliTRDrecoParam();
142 par->SetVertexConstrained();