]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTWeightsPID.h
Changing fabs into TMath::Abs
[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    virtual ~AliHBTWeightsPID(){;}
22    static AliHBTWeightsPID* Instance();
23    
24    Double_t GetWeightPID(const AliHBTPair* trackpair); //get weight calculated Batyunia's  algorithm
25    
26  protected:
27    Float_t fEfficTPC1; // ...?
28    Float_t fEfficTPC2; // ...?
29    Float_t fEfficTOF1; // ...?
30    Float_t fEfficTOF2; // ...?
31    
32    static AliHBTWeightsPID *fgWeightsPID;// pointer to wrapper of Fortran Lednicky code   
33    TH1 *fPtK;   //comment?
34    TH1 *fPtKefftpc;//comment?
35    TH1 *fPtKefftpcboth;//comment?
36    TF1 *fEffic1pol;//comment?
37    TF1 *fEffic2pol;//comment?
38    TF1 *fEffic3pol;//comment?
39    TF1 *fEffic4pol;//comment?
40    
41    TF1 *fEffic1polTOF;//comment?
42    TF1 *fEffic2polTOF;//comment?
43    TF1 *fEffic3polTOF;//comment?
44    TF1 *fEffic4polTOF;//comment?
45    
46  private:
47    AliHBTWeightsPID(const AliHBTWeightsPID &source); // Not implemented
48    AliHBTWeightsPID & operator=(const AliHBTWeightsPID &/*source*/); // Not implemented
49
50    ClassDef(AliHBTWeightsPID,2)
51  };
52
53 #endif