]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDrecoParam.cxx
d24992efda5ab7b44ea6576525a67075ac30abfc
[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(0) // 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   ,fClusMaxThresh(4.5)
55   ,fClusSigThresh(3.5)
56   ,fLUTOn(kTRUE)
57   ,fTCOn(kTRUE)
58   ,fTCnexp(1)
59   ,fADCbaseline(0)
60 {
61   //
62   // Default constructor
63   //
64
65 }
66
67 //______________________________________________________________
68 AliTRDrecoParam *AliTRDrecoParam::GetLowFluxParam()
69 {
70   //
71   // Parameters for the low flux environment
72   //
73
74   return new AliTRDrecoParam();
75
76 }
77
78 //______________________________________________________________
79 AliTRDrecoParam *AliTRDrecoParam::GetHighFluxParam()
80 {
81   //
82   // Parameters for the high flux environment
83   //
84
85   return new AliTRDrecoParam();
86
87 }
88
89 //______________________________________________________________
90 AliTRDrecoParam *AliTRDrecoParam::GetCosmicTestParam()
91 {
92   //
93   // Parameters for the cosmics data
94   //
95
96   AliTRDrawStreamBase::SetRawStreamVersion("TB");
97   AliTRDrecoParam *par = new AliTRDrecoParam();
98   par->SetADCbaseline(10);
99   par->SetSeedingOn(kTRUE);
100   par->SetVertexConstrained(kTRUE);
101   return par;
102
103 }