]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.h
New check for bad SDD modules (F. Prino)
[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 "AliDetectorRecoParam.h"
14
15 class AliTPCRecoParam : public AliDetectorRecoParam
16 {
17  public: 
18   AliTPCRecoParam();
19   virtual ~AliTPCRecoParam();
20   void     SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;}
21   Bool_t   GetClusterSharing() const {return fBClusterSharing;}
22   Double_t GetCtgRange() const     { return fCtgRange;}
23   Double_t GetMaxSnpTracker() const{ return fMaxSnpTracker;}
24   Double_t GetMaxSnpTrack() const  { return fMaxSnpTrack;}
25   //
26   Bool_t   DumpSignal()     const  { return fDumpSignal;}
27   void     SetTimeInterval(Int_t first, Int_t last) { fFirstBin=first, fLastBin =last;}
28   Int_t    GetFirstBin() const     { return fFirstBin;}
29   Int_t    GetLastBin() const      { return fLastBin;}
30   void     SetTimeBinRange(Int_t first, Int_t last){ fFirstBin = first; fLastBin = last;}
31   Bool_t   GetCalcPedestal()       const  { return fBCalcPedestal;}
32   Bool_t   GetDoUnfold()           const  { return fBDoUnfold;}
33   void     SetDoUnfold(Bool_t unfold)     { fBDoUnfold = unfold;}
34   Float_t  GetDumpAmplitudeMin()   const  { return fDumpAmplitudeMin;}
35   Float_t  GetMaxNoise()           const  { return fMaxNoise;}  
36   //
37   Float_t  GetMinMaxCutAbs()       const  { return fMinMaxCutAbs; }
38   Float_t  GetMinLeftRightCutAbs() const  { return fMinLeftRightCutAbs;}  // minimal amplitude left right - PRF
39   Float_t  GetMinUpDownCutAbs()    const  { return fMinUpDownCutAbs;}  // minimal amplitude up-down - TRF 
40   Float_t  GetMinMaxCutSigma()       const  { return fMinMaxCutSigma; }
41   Float_t  GetMinLeftRightCutSigma() const  { return fMinLeftRightCutSigma;}  // minimal amplitude left right - PRF
42   Float_t  GetMinUpDownCutSigma()    const  { return fMinUpDownCutSigma;}  // minimal amplitude up-down - TRF 
43   //
44   void SetMinMaxCutAbs(Float_t th)         {   fMinMaxCutAbs=th; }
45   void SetMinLeftRightCutAbs(Float_t th)   {   fMinLeftRightCutAbs=th;}  // minimal amplitude left right - PRF
46   void SetMinUpDownCutAbs(Float_t th)      {   fMinUpDownCutAbs=th;}  // minimal amplitude up-down - TRF 
47   void SetMinMaxCutSigma(Float_t th)       {   fMinMaxCutSigma=th; }
48   void SetMinLeftRightCutSigma(Float_t th) {   fMinLeftRightCutSigma=th;}  // minimal amplitude left right - PRF
49   void SetMinUpDownCutSigma(Float_t th)    {   fMinUpDownCutSigma=th;}  // minimal amplitude up-down - TRF 
50   //
51   Int_t    GetLastSeedRowSec()       const  { return fLastSeedRowSec;} 
52   void     SetDoKinks(Bool_t on)   { fBKinkFinder=on; }
53   Bool_t   GetDoKinks() const      { return fBKinkFinder;}
54   Float_t  GetMaxC()    const      { return fMaxC;}
55   Bool_t   GetSpecialSeeding() const { return fBSpecialSeeding;}
56   //
57   void     SetSystematicError(Double_t *systematic){ for (Int_t i=0; i<5;i++) fSystematicErrors[i]=systematic[i];}
58   const Double_t * GetSystematicError() const { return fSystematicErrors;}
59
60   static   AliTPCRecoParam *GetLowFluxParam();        // make reco parameters for low  flux env.
61   static   AliTPCRecoParam *GetHighFluxParam();       // make reco parameters for high flux env. 
62   static   AliTPCRecoParam *GetHLTParam(); // special setting for HLT  
63   static   AliTPCRecoParam *GetLaserTestParam(Bool_t bPedestal);  // special setting for laser 
64   static   AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic  
65   //
66  protected:
67   Bool_t   fBClusterSharing; // allows or disable cluster sharing during tracking 
68   Double_t fCtgRange;        // +-fCtgRange is the ctg(Theta) window used for clusterization and tracking (MI) 
69   Double_t fMaxSnpTracker;   // max sin of local angle  - for TPC tracker
70   Double_t fMaxSnpTrack;     // max sin of local angle  - for track 
71   //
72   //   clusterer parameters
73   //
74   Bool_t   fDumpSignal;      // Dump Signal information flag
75   Int_t    fFirstBin;        // first time bin used by cluster finder
76   Int_t    fLastBin;         // last time bin  used by cluster finder 
77   Bool_t   fBCalcPedestal;   // calculate Pedestal
78   Bool_t   fBDoUnfold;       // do unfolding of clusters
79   Float_t  fDumpAmplitudeMin; // minimal amplitude of signal to be dumped 
80   Float_t  fMaxNoise;        // maximal noise sigma on pad to be used in cluster finder
81   Float_t  fMinMaxCutAbs;    // minimal amplitude at cluster maxima
82   Float_t  fMinLeftRightCutAbs;  // minimal amplitude left right - PRF
83   Float_t  fMinUpDownCutAbs;  // minimal amplitude up-down - TRF 
84   Float_t  fMinMaxCutSigma;    // minimal amplitude at cluster maxima
85   Float_t  fMinLeftRightCutSigma;  // minimal amplitude left right - PRF
86   Float_t  fMinUpDownCutSigma;  // minimal amplitude up-down - TRF 
87   //
88   //
89   Float_t  fMaxC;            // maximal curvature for tracking
90   Bool_t   fBSpecialSeeding; // special seeding with big inclination angles allowed (for Cosmic and laser)
91   Bool_t   fBKinkFinder;     // do kink finder reconstruction
92   Int_t    fLastSeedRowSec;     // Most Inner Row to make seeding for secondaries
93   //
94   //  misscalibration
95   //
96   Double_t fSystematicErrors[5];  //systematic errors in the track parameters - to be added to TPC covariance matrix    
97   ClassDef(AliTPCRecoParam, 4)
98 };
99
100
101 #endif