]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecoParam.h
ProcessDCS() { return kFALSE; } is removed following the discussion at
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParam.h
1 #ifndef ALIPHOSRECOPARAM_H
2 #define ALIPHOSRECOPARAM_H
3 /* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                          */
5
6 /* $Id$ */
7                                               
8 // Base class for the PHOS reconstruction parameters.
9 // Do not use in the reconstruction; use derivative classes instead.
10
11 #include "AliDetectorRecoParam.h"
12
13 class AliPHOSRecoParam : public AliDetectorRecoParam {
14
15 public:
16
17   AliPHOSRecoParam();
18   AliPHOSRecoParam(const AliPHOSRecoParam& recoParam);
19   AliPHOSRecoParam& operator = (const AliPHOSRecoParam& recoParam);
20   virtual ~AliPHOSRecoParam() {}
21
22   Float_t GetClusteringThreshold() const { return fClusteringThreshold;  }
23   Float_t GetLocalMaxCut()         const { return fLocMaxCut;            }
24   Float_t GetMinE()                const { return fMinE;                 }
25   Float_t GetLogWeight()           const { return fW0;                   }
26   Float_t GetSampleQualityCut()    const { return fSampleQualityCut;     }
27   Float_t GetEcoreRadius()         const { return fEcoreRadius;          }
28   Bool_t  Ecore2ESD()              const { return fEcore2ESD;            }
29   Bool_t  SubtractPedestals()      const { return fSubtractPedestals;    }
30   Bool_t  ToUnfold()               const { return fUnfold;               }
31   const char* DecoderVersion()     const { return fDecoderVersion.Data();}
32
33   void SetClusteringThreshold(Float_t cluth)      { fClusteringThreshold=cluth;   }
34   void SetLocalMaxCut(Float_t cut)                { fLocMaxCut          =cut;     }
35   void SetMinE(Float_t minE)                      { fMinE               =minE;    }
36   void SetLogWeight(Float_t w)                    { fW0                 =w;       }
37   void SetSampleQualityCut(Float_t qu)            { fSampleQualityCut   =qu;      }
38   void SetEcoreRadius(Float_t rCore)              { fEcoreRadius        =rCore;   }
39   void SetEcore2ESD(Bool_t ecore)                 { fEcore2ESD          =ecore;   }
40   void SetSubtractPedestals(Bool_t subtract)      { fSubtractPedestals  =subtract;} 
41   void SetDecoderVersion(const char* version="v1"){fDecoderVersion      =version ;}
42   void SetUnfolding(Bool_t toUnfold=kFALSE)       {fUnfold              =toUnfold;}
43
44 protected:
45
46   Float_t fClusteringThreshold; // Min.digit energy to start a new cluster, in GeV
47   Float_t fLocMaxCut;           // Min.energy difference between two local maxima, in GeV
48   Float_t fMinE;                // Min.E in the digits list associated with rec.point, in GeV
49   Float_t fW0;                  // Log.weight to evaluate a local coordinate of rec.point
50   Float_t fSampleQualityCut;    // Cut on pusle shape fit quality
51   Float_t fEcoreRadius;         // Radius within which the core energy is calculated, in cm
52   Bool_t  fEcore2ESD;           // true if Ecore is stored in ESD instead of Etot
53   Bool_t  fSubtractPedestals;   // true if pedestal should be subtracted (in non-ZS)
54   Bool_t  fUnfold;              // true if overlapped clusters should be unfolded
55   TString fDecoderVersion ;     // AliPHOSRawDecoder version
56
57   ClassDef(AliPHOSRecoParam,5)
58 };
59
60 #endif