]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTLLWeightsPID.h
bug correction (unnecessary const in GetValue)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTLLWeightsPID.h
1 #ifndef ALIHBTLLWEIGHTSPID_H
2 #define ALIHBTLLWEIGHTSPID_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 AliHBTLLWeightsPID: public TObject
18  {
19  public:
20    AliHBTLLWeightsPID();
21    AliHBTLLWeightsPID(const AliHBTLLWeightsPID &source) {
22      //Copy ctor needed by the coding conventions but not used
23      Fatal("AliHBTLLWeightsPID","copy ctor not implemented");
24    }
25    AliHBTLLWeightsPID & operator=(const AliHBTLLWeightsPID &source) {
26      //Assignment operator needed by the coding conventions but not used
27      Fatal("AliHBTLLWeightsPID","assignment operator not implemented");
28      return * this;
29    }
30    virtual ~AliHBTLLWeightsPID(){;}
31    static AliHBTLLWeightsPID* 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 AliHBTLLWeightsPID *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(AliHBTLLWeightsPID,1)
56  };
57
58 #endif