#ifndef ALIHBTLLWEIGHTSPID_H #define ALIHBTLLWEIGHTSPID_H ///////////////////////////////////////////////////////////// // //This class introduces the weights calculated according //with functions of efficiency of identification (TPC+TOF) //(calculated by B.V. Batyunia). // //Author: Ludmila Malinina, JINR (malinina@sunhe.jinr.ru) // ///////////////////////////////////////////////////////////// #include class TF1; class TH1; class AliHBTPair; class AliHBTLLWeightsPID: public TObject { public: AliHBTLLWeightsPID(); AliHBTLLWeightsPID(const AliHBTLLWeightsPID &source):TObject(source) { //Copy ctor needed by the coding conventions but not used Fatal("AliHBTLLWeightsPID","copy ctor not implemented"); } AliHBTLLWeightsPID & operator=(const AliHBTLLWeightsPID &/*source*/) { //Assignment operator needed by the coding conventions but not used Fatal("AliHBTLLWeightsPID","assignment operator not implemented"); return * this; } virtual ~AliHBTLLWeightsPID(){;} static AliHBTLLWeightsPID* Instance(); Double_t GetWeightPID(const AliHBTPair* trackpair); //get weight calculated Batyunia's algorithm protected: Float_t fEfficTPC1; // ...? Float_t fEfficTPC2; // ...? Float_t fEfficTOF1; // ...? Float_t fEfficTOF2; // ...? static AliHBTLLWeightsPID *fgWeightsPID;// pointer to wrapper of Fortran Lednicky code TH1 *fPtK; //comment? TH1 *fPtKefftpc;//comment? TH1 *fPtKefftpcboth;//comment? TF1 *fEffic1pol;//comment? TF1 *fEffic2pol;//comment? TF1 *fEffic3pol;//comment? TF1 *fEffic4pol;//comment? TF1 *fEffic1polTOF;//comment? TF1 *fEffic2polTOF;//comment? TF1 *fEffic3polTOF;//comment? TF1 *fEffic4polTOF;//comment? ClassDef(AliHBTLLWeightsPID,1) }; #endif