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