Samll overlaps corrected.
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.h
CommitLineData
e4f2f73d 1#ifndef ALITRDRECOPARAM_H
2#define ALITRDRECOPARAM_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
10// Parameter class for the TRD reconstruction //
11// //
12////////////////////////////////////////////////////////////////////////////
13
14#ifndef ALIDETECTORRECOPARAM_H
15#include "AliDetectorRecoParam.h"
16#endif
17
18class AliTRDrecoParam : public AliDetectorRecoParam
19{
e4f2f73d 20 public:
0906e73e 21 enum{
22 kNNslices = 8,
23 kLQslices = 3
24 };
25
e4f2f73d 26 AliTRDrecoParam();
27 ~AliTRDrecoParam() { }
28
29 Double_t GetChi2Y() const { return fkChi2Y; }
30 Double_t GetChi2Z() const { return fkChi2Z; }
0906e73e 31 Bool_t GetClusterSharing() const { return fkClusterSharing;}
e4f2f73d 32 Double_t GetFindableClusters() const { return fkFindable; }
33 Double_t GetMaxTheta() const { return fkMaxTheta; }
34 Double_t GetMaxPhi() const { return fkMaxPhi; }
0906e73e 35 Int_t GetNdEdxSlices() const { return fkPIDMethod ? kNNslices : kLQslices;}
36 Int_t GetPIDMethod() const { return fkPIDMethod;}
e4f2f73d 37 Double_t GetRoad0y() const { return fkRoad0y; }
38 Double_t GetRoad0z() const { return fkRoad0z; }
39
40 Double_t GetRoad1y() const { return fkRoad1y; }
41 Double_t GetRoad1z() const { return fkRoad1z; }
42
43 Double_t GetRoad2y() const { return fkRoad2y; }
44 Double_t GetRoad2z() const { return fkRoad2z; }
45
46 Double_t GetPlaneQualityThreshold() const { return fkPlaneQualityThreshold; }
47
48 Double_t GetTrackLikelihood() const { return fkTrackLikelihood; }
d20df6fc 49 Int_t GetStreamLevel() const { return fkStreamLevel; }
fc546d21 50
d20df6fc 51 Bool_t SeedingOn() const { return fSeedingOn; }
52 Bool_t IsVertexConstrained() const { return fVertexConstrained; }
53
fc546d21 54 Double_t GetClusMaxThresh() const { return fClusMaxThresh; };
55 Double_t GetClusSigThresh() const { return fClusSigThresh; };
56 Int_t GetTCnexp() const { return fTCnexp; };
57 Bool_t LUTOn() const { return fLUTOn; };
58 Bool_t TCOn() const { return fTCOn; };
9716329b 59
0e09df31 60 Int_t GetADCbaseline() const { return fADCbaseline; };
d20df6fc 61
e4f2f73d 62 static AliTRDrecoParam *GetLowFluxParam();
63 static AliTRDrecoParam *GetHighFluxParam();
9716329b 64 static AliTRDrecoParam *GetCosmicTestParam();
fc546d21 65
66 void SetClusterSharing(Bool_t share = kTRUE) { fkClusterSharing = share; };
67 void SetPIDMethod(Int_t pid = 1) { fkPIDMethod = pid ? 1 : 0; };
d20df6fc 68 void SetSeedingOn(Bool_t seedingOn = kTRUE) { fSeedingOn = seedingOn; }
69 void SetVertexConstrained(Bool_t vertexConstrained = kTRUE) { fVertexConstrained = vertexConstrained; }
70 void SetStreamLevel(Int_t streamLevel= 1) { fkStreamLevel = streamLevel; }
fc546d21 71 void SetLUT(Int_t lutOn = 1) { fLUTOn = lutOn; };
72 void SetClusMaxThresh(Float_t thresh) { fClusMaxThresh = thresh; };
73 void SetClusSigThresh(Float_t thresh) { fClusSigThresh = thresh; };
74 void SetTailCancelation(Int_t tcOn = 1) { fTCOn = tcOn; };
75 void SetNexponential(Int_t nexp) { fTCnexp = nexp; };
0e09df31 76 void SetADCbaseline(Int_t base) { fADCbaseline = base; };
fc546d21 77
e4f2f73d 78 private:
79
fc546d21 80 // Tracking parameters
81 Bool_t fkClusterSharing; // Toggle cluster sharing
82 Int_t fkPIDMethod; // PID method selector 0(LQ) 1(NN)
83 Double_t fkMaxTheta; // Maximum theta
84 Double_t fkMaxPhi; // Maximum phi
e4f2f73d 85
fc546d21 86 Double_t fkRoad0y; // Road for middle cluster
87 Double_t fkRoad0z; // Road for middle cluster
e4f2f73d 88
fc546d21 89 Double_t fkRoad1y; // Road in y for seeded cluster
90 Double_t fkRoad1z; // Road in z for seeded cluster
e4f2f73d 91
fc546d21 92 Double_t fkRoad2y; // Road in y for extrapolated cluster
93 Double_t fkRoad2z; // Road in z for extrapolated cluster
0906e73e 94
fc546d21 95 Double_t fkPlaneQualityThreshold; // Quality threshold
96 Double_t fkFindable; // Ratio of clusters from a track in one chamber which are at minimum supposed to be found.
97 Double_t fkChi2Z; // Max chi2 on the z direction for seeding clusters fit
98 Double_t fkChi2Y; // Max chi2 on the y direction for seeding clusters Rieman fit
99 Double_t fkTrackLikelihood; // Track likelihood for tracklets Rieman fit
d20df6fc 100 Int_t fkStreamLevel; // Streaming Level in TRD Reconstruction
101
102 Bool_t fSeedingOn; // Do stand alone tracking in the TRD
103 Bool_t fVertexConstrained; // Perform vertex constrained fit
e4f2f73d 104
fc546d21 105 // Clusterization parameter
106 Double_t fClusMaxThresh; // Threshold value for cluster maximum
107 Double_t fClusSigThresh; // Threshold value for cluster signal
108 Int_t fLUTOn; // Switch for the lookup table method
109 Int_t fTCOn; // Switch for the tail cancelation
110 Int_t fTCnexp; // Number of exponentials, digital filter
111
9716329b 112 // ADC parameter
0e09df31 113 Int_t fADCbaseline; // ADC baseline to be subtracted
9716329b 114
115 ClassDef(AliTRDrecoParam, 3) // Reconstruction parameters for TRD detector
e4f2f73d 116
117};
118#endif