reverting to prev.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTWeightsPID.h
1 #ifndef ALIHBTWeightSPID_H
2 #define ALIHBTWeightSPID_H
3 /////////////////////////////////////////////////////////////
4 //
5 //This class introduces the weights calculated according 
6 //with functions of efficiency of identification (TPC+TOF) 
7 //(calculated by B.V. Batyunia).
8 //
9 //Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru)
10 //
11 /////////////////////////////////////////////////////////////
12
13 #include <TObject.h>
14 class TF1;
15 class TH1;
16 class AliHBTPair;
17 class AliHBTWeightsPID: public TObject
18  {
19  public:
20    AliHBTWeightsPID();
21    AliHBTWeightsPID(const AliHBTWeightsPID &source):TObject(source) {
22      //Copy ctor needed by the coding conventions but not used
23      Fatal("AliHBTWeightsPID","copy ctor not implemented");
24    }
25    AliHBTWeightsPID & operator=(const AliHBTWeightsPID &/*source*/) {
26      //Assignment operator needed by the coding conventions but not used
27      Fatal("AliHBTWeightsPID","assignment operator not implemented");
28      return * this;
29    }
30    virtual ~AliHBTWeightsPID(){;}
31    static AliHBTWeightsPID* Instance();
32    
33    Double_t GetWeightPID(const AliHBTPair* trackpair); //get weight calculated Batyunia's  algorithm
34    
35  protected:
36    Float_t fEfficTPC1; // ...?
37    Float_t fEfficTPC2; // ...?
38    Float_t fEfficTOF1; // ...?
39    Float_t fEfficTOF2; // ...?
40    
41    static AliHBTWeightsPID *fgWeightsPID;// pointer to wrapper of Fortran Lednicky code   
42    TH1 *fPtK;   //comment?
43    TH1 *fPtKefftpc;//comment?
44    TH1 *fPtKefftpcboth;//comment?
45    TF1 *fEffic1pol;//comment?
46    TF1 *fEffic2pol;//comment?
47    TF1 *fEffic3pol;//comment?
48    TF1 *fEffic4pol;//comment?
49    
50    TF1 *fEffic1polTOF;//comment?
51    TF1 *fEffic2polTOF;//comment?
52    TF1 *fEffic3polTOF;//comment?
53    TF1 *fEffic4polTOF;//comment?
54    
55    ClassDef(AliHBTWeightsPID,1)
56  };
57
58 #endif