]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCRecoParam.h
Parameterization of reconstruction algorithm.
[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   //
32   Bool_t   GetDoKinks() const      { return fBKinkFinder;}
33   static   AliTPCRecoParam *GetLowFluxParam();        // make reco parameters for low  flux env.
34   static   AliTPCRecoParam *GetHighFluxParam();       // make reco parameters for high flux env. 
35   static   AliTPCRecoParam *GetLaserTestParam(Bool_t bPedestal);  // special setting for laser 
36   static   AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic  
37   //
38  protected:
39   Double_t fCtgRange;        // +-fCtgRange is the ctg(Theta) window used for clusterization and tracking (MI) 
40   Double_t fMaxSnpTracker;   // max sin of local angle  - for TPC tracker
41   Double_t fMaxSnpTrack;     // max sin of local angle  - for track 
42   //
43   //   clusterer parameters
44   //
45   Int_t    fFirstBin;        // first time bin used by cluster finder
46   Int_t    fLastBin;         // last time bin  used by cluster finder 
47   Bool_t   fBCalcPedestal;   // calculate Pedestal
48   Bool_t   fBDoUnfold;       // do unfolding of clusters
49   Float_t  fDumpAmplitudeMin; // minimal amplitude of signal to be dumped 
50   Float_t  fMaxNoise;        // maximal noise sigma on pad to be used in cluster finder
51   //
52   //
53   Bool_t   fBKinkFinder;     // do kink finder reconstruction
54   ClassDef(AliTPCRecoParam, 1)
55 };
56
57
58 #endif