]>
Commit | Line | Data |
---|---|---|
58f66025 | 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 "TNamed.h" | |
12 | ||
13 | ||
14 | class AliPHOSRecoParam : public TNamed { | |
15 | ||
16 | public: | |
17 | ||
18 | AliPHOSRecoParam(); | |
19 | AliPHOSRecoParam(const AliPHOSRecoParam& recoParam); | |
20 | AliPHOSRecoParam& operator = (const AliPHOSRecoParam& recoParam); | |
21 | virtual ~AliPHOSRecoParam() {} | |
22 | ||
23 | Float_t GetClusteringThreshold() const { return fClusteringThreshold; } | |
24 | Float_t GetLocalMaxCut() const { return fLocMaxCut;} | |
25 | Float_t GetMinE() const { return fMinE; } | |
26 | Float_t GetLogWeight() const { return fW0; } | |
9261293c | 27 | Bool_t SubtractPedestals() const { return fSubtractPedestals; } |
a42611a9 | 28 | Bool_t ToUnfold() const { return fUnfold; } |
77ea1c6f | 29 | const char* DecoderVersion()const{ return fDecoderVersion.Data() ; } |
58f66025 | 30 | |
31 | void SetClusteringThreshold(Float_t cluth) { fClusteringThreshold=cluth; } | |
32 | void SetLocalMaxCut(Float_t cut) { fLocMaxCut=cut;} | |
33 | void SetMinE(Float_t minE) { fMinE=minE; } | |
34 | void SetLogWeight(Float_t w) { fW0=w; } | |
f65d827f | 35 | void SetSubtractPedestals(Bool_t subtract) { fSubtractPedestals=subtract; } |
77ea1c6f | 36 | void SetDecoderVersion(const char* version="v1"){fDecoderVersion=version ;} |
a42611a9 | 37 | void SetUnfolding(Bool_t toUnfold=kFALSE){fUnfold=toUnfold ;} |
58f66025 | 38 | |
39 | protected: | |
40 | ||
41 | Float_t fClusteringThreshold; | |
42 | Float_t fLocMaxCut; | |
43 | Float_t fMinE; | |
44 | Float_t fW0; | |
f65d827f | 45 | Bool_t fSubtractPedestals; |
a42611a9 | 46 | Bool_t fUnfold; |
77ea1c6f | 47 | TString fDecoderVersion ; |
58f66025 | 48 | |
49 | ClassDef(AliPHOSRecoParam,1) | |
50 | }; | |
51 | ||
52 | #endif |