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 */
8 // Base class for the PHOS reconstruction parameters.
9 // Do not use in the reconstruction; use derivative classes instead.
11 #include "AliDetectorRecoParam.h"
13 class AliPHOSRecoParam : public AliDetectorRecoParam {
18 AliPHOSRecoParam(const AliPHOSRecoParam& recoParam);
19 AliPHOSRecoParam& operator = (const AliPHOSRecoParam& recoParam);
20 virtual ~AliPHOSRecoParam() {}
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();}
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;}
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
57 ClassDef(AliPHOSRecoParam,5)