]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSPidParItem.h
- include option to avoid multiple reconstruction of tracklets in the
[u/mrichter/AliRoot.git] / ITS / AliITSPidParItem.h
1 #ifndef AliITSPIDPARITEM_H
2 #define AliITSPIDPARITEM_H
3 //////////////////////////////////////////////////////////
4 //Class for PID in the ITS                              //
5 //Origin: Elena Bruna bruna@to.infn.it                  //
6 //////////////////////////////////////////////////////////
7
8 class AliITSPidParItem : public TObject{
9   
10  public:
11   AliITSPidParItem();  
12   AliITSPidParItem(Float_t center,Float_t width,Double_t *buff);  
13   virtual ~AliITSPidParItem(){;}
14   Float_t GetMomentumCenter() const {return fPCenter;}
15   Float_t GetWidthMom() const {return fPWidth;}
16   void GetParameters(Double_t *buff) const;
17   void PrintParameters() const;
18   void GetProtonPar(Double_t *buffp) const;
19   void GetKaonPar(Double_t *buffk) const;
20   void GetPionPar(Double_t *buffpi) const;
21   void GetPar0(Double_t *buff0) const;
22   void GetPar1(Double_t *buff1) const;
23   void GetPar2(Double_t *buff2) const;
24   void GetPar3(Double_t *buff3) const;
25   void GetChisquare(Double_t *buffchi) const;
26   void GetNDF(Double_t *buffndf) const;
27   void GetProParFun(Double_t *pfun) const;
28   void GetKaoParFun(Double_t *kfun) const;
29   void GetPiParFun(Double_t *pifun) const;
30   void GetRangeLim(Double_t *range) const;
31   void GetProtonParErr(Double_t *bufferp)const;
32   void GetKaonParErr(Double_t *bufferk)const;
33   void GetPionParErr(Double_t *bufferpi) const;
34   static TF1* CookFunIts(TString namefun,Double_t *par,Double_t rangei,Double_t rangef,TString comment);
35   static Double_t Langaufun(Double_t *x, Double_t *par);
36   static Double_t Langaufun2(Double_t *x, Double_t *par);
37   
38  private:
39   Float_t fPCenter;     //value for center
40   Float_t fPWidth;      //value for width
41   Double_t fBuff[39];   //array for PID parameters
42   
43   ClassDef(AliITSPidParItem,1);
44 };
45 #endif