]>
Commit | Line | Data |
---|---|---|
0f786b96 | 1 | #ifndef ALIT0RECOPARAM_H |
2 | #define ALIT0RECOPARAM_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 T0 reconstruction parameters // | |
9 | // // | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | ||
13 | #include "AliDetectorRecoParam.h" | |
14 | ||
15 | class AliT0RecoParam : public AliDetectorRecoParam | |
16 | { | |
17 | public: | |
18 | AliT0RecoParam(); | |
19 | AliT0RecoParam(const AliT0RecoParam &p); //copy constructor | |
20 | AliT0RecoParam& operator=(const AliT0RecoParam &p); | |
21 | virtual ~AliT0RecoParam(); | |
22 | ||
23 | ||
24 | static AliT0RecoParam *GetLowFluxParam(); // make reco parameters for low flux env | |
25 | static AliT0RecoParam *GetHighFluxParam(); // make reco parameters for high flux env | |
26 | static AliT0RecoParam *GetLaserTestParam(); // special setting for laser SetLaserTestParam | |
a46b18e9 | 27 | //for monitoring |
28 | // static AliT0RecoParam *GetHistRange(); // limit of monitoring histograms | |
0f786b96 | 29 | |
30 | Float_t GetRefAmp() const {return fRefAmp;} | |
31 | void SetRefAmp(Float_t amp) { fRefAmp = amp;} | |
32 | Int_t GetRefPoint() const {return fRefPoint;} | |
33 | void SetRefPoint(Int_t ref) {fRefPoint = ref;} | |
34 | ||
a46b18e9 | 35 | Float_t GetLow(Int_t numhist) const {return fLow[numhist];} |
36 | // Float_t GetLow() {return *fLow;} | |
37 | void SetLow(Int_t numhist, Float_t low) {fLow[numhist] = low;} | |
0f786b96 | 38 | |
a46b18e9 | 39 | Float_t GetHigh(Int_t numhist) const {return fHigh[numhist];} |
40 | // Float_t GetHigh() {return *fHigh;} | |
41 | void SetHigh(Int_t numhist, Float_t high) {fHigh[numhist] = high;} | |
42 | ||
43 | void PrintParameters() const; | |
44 | ||
0f786b96 | 45 | protected: |
46 | Float_t fRefAmp; | |
47 | Int_t fRefPoint; | |
a46b18e9 | 48 | Float_t fLow[500]; |
49 | Float_t fHigh[500]; | |
50 | ||
0f786b96 | 51 | |
52 | ||
53 | ClassDef(AliT0RecoParam, 1); | |
54 | ||
55 | }; | |
56 | #endif |