Updated PaintContour() method
[u/mrichter/AliRoot.git] / HBTAN / AliHBTWeightsPID.h
CommitLineData
dd82cadc 1#ifndef ALIHBTWeightSPID_H
2#define ALIHBTWeightSPID_H
a6e49985 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
a6e49985 13#include <TObject.h>
99927f15 14class TF1;
15class TH1;
a6e49985 16class AliHBTPair;
dd82cadc 17class AliHBTWeightsPID: public TObject
a6e49985 18 {
99927f15 19 public:
dd82cadc 20 AliHBTWeightsPID();
21 AliHBTWeightsPID(const AliHBTWeightsPID &source):TObject(source) {
99927f15 22 //Copy ctor needed by the coding conventions but not used
dd82cadc 23 Fatal("AliHBTWeightsPID","copy ctor not implemented");
99927f15 24 }
dd82cadc 25 AliHBTWeightsPID & operator=(const AliHBTWeightsPID &/*source*/) {
99927f15 26 //Assignment operator needed by the coding conventions but not used
dd82cadc 27 Fatal("AliHBTWeightsPID","assignment operator not implemented");
99927f15 28 return * this;
29 }
dd82cadc 30 virtual ~AliHBTWeightsPID(){;}
31 static AliHBTWeightsPID* Instance();
a6e49985 32
99927f15 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
dd82cadc 41 static AliHBTWeightsPID *fgWeightsPID;// pointer to wrapper of Fortran Lednicky code
99927f15 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
53c30a2e 55 ClassDef(AliHBTWeightsPID,2)
a6e49985 56 };
57
58#endif