Fixing the shadowing warnings.
[u/mrichter/AliRoot.git] / TRD / AliTRDpidUtil.h
CommitLineData
0e60774c 1#ifndef ALITRDPIDUTIL_H
2#define ALITRDPIDUTIL_H
3
4//////////////////////////////////////////////////////
5//
6// Class to calculate PID performance of the TRD
7//
8// Author : Alex Wilk <wilka@uni-muenster.de>
9//
10///////////////////////////////////////////////////////
11
422a2dc0 12class TH1;
0e60774c 13class AliTRDpidUtil : public TObject {
14public:
15
16 enum {
17 kBins = 10001
18 };
19
20 AliTRDpidUtil();
21 virtual ~AliTRDpidUtil(){;}
22
c46a7947 23 Bool_t CalculatePionEffi(TH1* histo1, TH1* histo2);
0e60774c 24
25 static Float_t ElectronEfficiency() { return fEleEffi;};
26
27 Double_t GetCalcElectronEfficiency() {return fCalcEleEffi;};
28 Double_t GetPionEfficiency() {return fPionEffi;};
29 Double_t GetError() {return fError;};
30 Double_t GetThreshold() {return fThreshold;};
31
32 Int_t GetMomentumBin(Double_t p);
33
34 static void SetElectronEfficiency(Float_t eleeffi) {fEleEffi = eleeffi;};
35
36private:
37 AliTRDpidUtil(const AliTRDpidUtil&); // not implemented
38 AliTRDpidUtil& operator=(const AliTRDpidUtil&); // not implemented
39
40 static Float_t fEleEffi; // electron efficiency
41
42 Double_t fCalcEleEffi; // electron efficiency after calculation
43 Double_t fPionEffi; // pion efficiency
44 Double_t fError; // pion efficiency error
45 Double_t fThreshold; // threshold for calculated electron efficiency
46
47 ClassDef(AliTRDpidUtil, 1) // TRD PID efficiency calculator
48
49};
50
51#endif