]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTLLWeightsPID.h
Brend new classes added back
[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 "TH1.h"                                                                                  
14 #include "TH2.h"                                                                                  
15 #include <TF1.h>                                                                                  
16 #include "TCanvas.h"                                                                              
17 #include "TPad.h"                                                                                 
18
19 #include <TObject.h>
20
21 class AliHBTPair;
22 class AliHBTLLWeightsPID: public TObject
23  {
24    public:
25      AliHBTLLWeightsPID();
26      virtual ~AliHBTLLWeightsPID(){;}
27      static AliHBTLLWeightsPID* Instance();
28
29      Double_t GetWeightPID(const AliHBTPair* trackpair); //get weight calculated Batyunia's  algorithm
30      Float_t efficTPC1,efficTPC2,efficTOF1,efficTOF2;     
31     
32    protected:
33                                                                                              
34    static AliHBTLLWeightsPID *fWeightsPID;// pointer to wrapper of Fortran Lednicky code   
35    TH1 *ptK;   //comment?
36    TH1 *ptKefftpc;//comment?
37    TH1 *ptKefftpcboth;//comment?
38    TF1 *effic1pol;//comment?
39    TF1 *effic2pol;//comment?
40    TF1 *effic3pol;//comment?
41    TF1 *effic4pol;//comment?
42    
43    TF1 *effic1polTOF;//comment?
44    TF1 *effic2polTOF;//comment?
45    TF1 *effic3polTOF;//comment?
46    TF1 *effic4polTOF;//comment?
47            
48    private:
49
50    public:
51      ClassDef(AliHBTLLWeightsPID,1)
52  };
53
54 #endif