]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDrecoParam.h
added protection
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.h
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
18 class AliTRDrecoParam : public AliDetectorRecoParam
19 {
20   public:
21         enum{
22           kNNslices = 8,
23           kLQslices = 3
24         };
25         
26         AliTRDrecoParam();
27         ~AliTRDrecoParam() { }
28
29         Double_t GetChi2Y() const                 { return fkChi2Y;    }
30         Double_t GetChi2Z() const                 { return fkChi2Z;    }
31         Bool_t   GetClusterSharing() const        { return fkClusterSharing;}
32         Double_t GetFindableClusters() const      { return fkFindable; }
33         Double_t GetMaxTheta() const              { return fkMaxTheta; }
34         Double_t GetMaxPhi() const                { return fkMaxPhi;   }
35         Int_t    GetNdEdxSlices() const           { return fkPIDMethod ? kNNslices : kLQslices;}
36         Int_t    GetPIDMethod() const             { return fkPIDMethod;}
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;       }
49         
50         static   AliTRDrecoParam *GetLowFluxParam();
51         static   AliTRDrecoParam *GetHighFluxParam();
52         void     SetClusterSharing(Bool_t share = kTRUE) {fkClusterSharing = share;}
53         void     SetPIDMethod(Int_t pid=1)        { fkPIDMethod = pid ? 1 : 0;}
54         
55  private:
56
57         Bool_t   fkClusterSharing;        // Toggle cluster sharing
58         Int_t    fkPIDMethod;             // PID method selector 0(LQ) 1(NN)
59         Double_t fkMaxTheta;              // Maximum theta
60         Double_t fkMaxPhi;                // Maximum phi
61
62         Double_t fkRoad0y;                // Road for middle cluster
63         Double_t fkRoad0z;                // Road for middle cluster
64
65         Double_t fkRoad1y;                // Road in y for seeded cluster
66         Double_t fkRoad1z;                // Road in z for seeded cluster
67
68         Double_t fkRoad2y;                // Road in y for extrapolated cluster
69         Double_t fkRoad2z;                // Road in z for extrapolated cluster
70         
71         Double_t fkPlaneQualityThreshold; // Quality threshold
72         Double_t fkFindable;              // Ratio of clusters from a track in one chamber which are at minimum supposed to be found.
73         Double_t fkChi2Z;                 // Max chi2 on the z direction for seeding clusters fit
74         Double_t fkChi2Y;                 // Max chi2 on the y direction for seeding clusters Rieman fit
75         Double_t fkTrackLikelihood;       // Track likelihood for tracklets Rieman fit
76
77         ClassDef(AliTRDrecoParam, 1)      // Reconstruction parameters for TRD detector
78
79 };
80 #endif