Bug fix in PID object definition
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.cxx
CommitLineData
e4f2f73d 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"
9716329b 29#include "AliTRDrawStreamBase.h"
e4f2f73d 30
31ClassImp(AliTRDrecoParam)
32
33//______________________________________________________________
34AliTRDrecoParam::AliTRDrecoParam()
35 :AliDetectorRecoParam()
0906e73e 36 ,fkClusterSharing(0)
10f75631 37 ,fkPIDMethod(0) // LQ PID
e4f2f73d 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)
eb38ed55 48 ,fkChi2Z(30./*14.*//*12.5*/)
e4f2f73d 49 ,fkChi2Y(.25)
50 ,fkTrackLikelihood(-15.)
fc546d21 51 ,fClusMaxThresh(4.5)
52 ,fClusSigThresh(3.5)
53 ,fLUTOn(kTRUE)
54 ,fTCOn(kTRUE)
55 ,fTCnexp(1)
0e09df31 56 ,fADCbaseline(0)
e4f2f73d 57{
58 //
59 // Default constructor
60 //
61
62}
63
64//______________________________________________________________
65AliTRDrecoParam *AliTRDrecoParam::GetLowFluxParam()
66{
67 //
68 // Parameters for the low flux environment
69 //
70
71 return new AliTRDrecoParam();
72
73}
74
75//______________________________________________________________
76AliTRDrecoParam *AliTRDrecoParam::GetHighFluxParam()
77{
78 //
79 // Parameters for the high flux environment
80 //
81
82 return new AliTRDrecoParam();
83
84}
9716329b 85
86//______________________________________________________________
87AliTRDrecoParam *AliTRDrecoParam::GetCosmicTestParam()
88{
89 //
90 // Parameters for the cosmics data
91 //
92
93 AliTRDrawStreamBase::SetRawStreamVersion("TB");
94 AliTRDrecoParam *par = new AliTRDrecoParam();
0e09df31 95 par->SetADCbaseline(10);
9716329b 96 return par;
97
98}