]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDrecoParam.cxx
Add sys. error to convariance matrices
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, 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 /* $Id$ */
17
18 ///////////////////////////////////////////////////////////////////////////////
19 //                                                                           //
20 //  Parameter class for the TRD reconstruction                               //
21 //                                                                           //
22 //  Authors:                                                                 //
23 //    Alex Bercuci <A.Bercuci@gsi.de>                                        //
24 //    Markus Fasel <M.Fasel@gsi.de>                                          //
25 //                                                                           //
26 ///////////////////////////////////////////////////////////////////////////////
27
28 #include "AliTRDrecoParam.h"
29 #include "AliTRDrawStreamBase.h"
30
31 ClassImp(AliTRDrecoParam)
32
33 //______________________________________________________________
34 AliTRDrecoParam::AliTRDrecoParam()
35   :AliDetectorRecoParam()
36   ,fkClusterSharing(0)
37   ,fkPIDMethod(kLQPID) // LQ PID
38   ,fkMaxTheta(1.0)
39   ,fkMaxPhi(2.0)
40   ,fkRoad0y(6.0)
41   ,fkRoad0z(8.5) 
42   ,fkRoad1y(2.0)
43   ,fkRoad1z(20.0)       
44   ,fkRoad2y(3.0)
45   ,fkRoad2z(20.0)
46   ,fkPlaneQualityThreshold(5.0)// 4.2? under Investigation
47   ,fkFindable(.333)
48   ,fkChi2Z(30./*14.*//*12.5*/)
49   ,fkChi2Y(.25)
50   ,fkTrackLikelihood(-15.)
51   ,fkStreamLevel(0)
52   ,fSeedingOn(kFALSE)
53   ,fVertexConstrained(kTRUE)
54   ,fMinMaxCutSigma(4.)
55   ,fMinLeftRightCutSigma(8.)
56   ,fClusMaxThresh(4.5)
57   ,fClusSigThresh(3.5)
58   ,fLUTOn(kTRUE)
59   ,fTCOn(kTRUE)
60   ,fTCnexp(1)
61   ,fADCbaseline(0)
62 {
63   //
64   // Default constructor
65   //
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
71 }
72
73 //______________________________________________________________
74 AliTRDrecoParam *AliTRDrecoParam::GetLowFluxParam()
75 {
76   //
77   // Parameters for the low flux environment
78   //
79
80   return new AliTRDrecoParam();
81
82 }
83
84 //______________________________________________________________
85 AliTRDrecoParam *AliTRDrecoParam::GetHighFluxParam()
86 {
87   //
88   // Parameters for the high flux environment
89   //
90
91   return new AliTRDrecoParam();
92
93 }
94
95 //______________________________________________________________
96 AliTRDrecoParam *AliTRDrecoParam::GetCosmicTestParam()
97 {
98   //
99   // Parameters for the cosmics data
100   //
101
102   AliTRDrawStreamBase::SetRawStreamVersion("TB");
103   AliTRDrecoParam *par = new AliTRDrecoParam();
104   par->SetADCbaseline(10);
105   par->SetSeedingOn(kTRUE);
106   par->SetVertexConstrained(kTRUE);
107   return par;
108
109 }