]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.h
AliTPCSensorTemp: sensor positions updated according to ALICE-EN-2005-001
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.h
1 #ifndef ALITPCRECOPARAM_H
2 #define ALITPCRECOPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ///////////////////////////////////////////////////////////////////////////////
7 //                                                                           //
8 // Class with TPC reconstruction parameters                                  //
9 //                                                                           //
10 ///////////////////////////////////////////////////////////////////////////////
11
12
13 #include "TObject.h"
14
15 class AliTPCRecoParam : public TObject
16 {
17  public: 
18   AliTPCRecoParam();
19   virtual ~AliTPCRecoParam();
20   Double_t GetCtgRange() const     { return fCtgRange;}
21   Double_t GetMaxSnpTracker() const{ return fMaxSnpTracker;}
22   Double_t GetMaxSnpTrack() const  { return fMaxSnpTrack;}
23   //
24   Int_t    GetFirstBin() const     { return fFirstBin;}
25   Int_t    GetLastBin() const      { return fLastBin;}
26   void     SetTimeBinRange(Int_t first, Int_t last){ fFirstBin = first; fLastBin = last;}
27   Bool_t   GetCalcPedestal()       const  { return fBCalcPedestal;}
28   Bool_t   GetDoUnfold()           const  { return fBDoUnfold;}
29   Float_t  GetDumpAmplitudeMin()   const  { return fDumpAmplitudeMin;}
30   Float_t  GetMaxNoise()           const  { return fMaxNoise;}  
31   Float_t  GetMinMaxCutAbs()       const  { return fMinMaxCutAbs; }
32   Float_t  GetMinLeftRightCutAbs() const  { return fMinLeftRightCutAbs;}  // minimal amplitude left right - PRF
33   Float_t  GetMinUpDownCutAbs()    const  { return fMinUpDownCutAbs;}  // minimal amplitude up-down - TRF 
34   Float_t  GetMinMaxCutSigma()       const  { return fMinMaxCutSigma; }
35   Float_t  GetMinLeftRightCutSigma() const  { return fMinLeftRightCutSigma;}  // minimal amplitude left right - PRF
36   Float_t  GetMinUpDownCutSigma()    const  { return fMinUpDownCutSigma;}  // minimal amplitude up-down - TRF 
37
38   //
39   Bool_t   GetDoKinks() const      { return fBKinkFinder;}
40   Float_t  GetMaxC()    const      { return fMaxC;}
41   Bool_t   GetSpecialSeeding() const { return fBSpecialSeeding;}
42   Bool_t   GetBYMirror() const { return fBYMirror;}
43   static   AliTPCRecoParam *GetLowFluxParam();        // make reco parameters for low  flux env.
44   static   AliTPCRecoParam *GetHighFluxParam();       // make reco parameters for high flux env. 
45   static   AliTPCRecoParam *GetLaserTestParam(Bool_t bPedestal);  // special setting for laser 
46   static   AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic  
47   //
48  protected:
49   Double_t fCtgRange;        // +-fCtgRange is the ctg(Theta) window used for clusterization and tracking (MI) 
50   Double_t fMaxSnpTracker;   // max sin of local angle  - for TPC tracker
51   Double_t fMaxSnpTrack;     // max sin of local angle  - for track 
52   Bool_t   fBYMirror;        // mirror of the y - pad coordinate 
53   //
54   //   clusterer parameters
55   //
56   Int_t    fFirstBin;        // first time bin used by cluster finder
57   Int_t    fLastBin;         // last time bin  used by cluster finder 
58   Bool_t   fBCalcPedestal;   // calculate Pedestal
59   Bool_t   fBDoUnfold;       // do unfolding of clusters
60   Float_t  fDumpAmplitudeMin; // minimal amplitude of signal to be dumped 
61   Float_t  fMaxNoise;        // maximal noise sigma on pad to be used in cluster finder
62   Float_t  fMinMaxCutAbs;    // minimal amplitude at cluster maxima
63   Float_t  fMinLeftRightCutAbs;  // minimal amplitude left right - PRF
64   Float_t  fMinUpDownCutAbs;  // minimal amplitude up-down - TRF 
65   Float_t  fMinMaxCutSigma;    // minimal amplitude at cluster maxima
66   Float_t  fMinLeftRightCutSigma;  // minimal amplitude left right - PRF
67   Float_t  fMinUpDownCutSigma;  // minimal amplitude up-down - TRF 
68   //
69   //
70   Float_t  fMaxC;            // maximal curvature for tracking
71   Bool_t   fBSpecialSeeding; // special seeding with big inclination angles allowed (for Cosmic and laser)
72   Bool_t   fBKinkFinder;     // do kink finder reconstruction
73   ClassDef(AliTPCRecoParam, 1)
74 };
75
76
77 #endif