]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTQDistributionVsQInvFctns.h
Methods for Init and Read have been splitted for the 3 subdetectors. Recpoints proces...
[u/mrichter/AliRoot.git] / HBTAN / AliHBTQDistributionVsQInvFctns.h
1 #ifndef ALIHBTQDISTRIBUTIONVSQINVFCTN_H
2 #define ALIHBTQDISTRIBUTIONVSQINVFCTN_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // 
11 // class AliHBTQOutDistributionVsQInvFctn;    //QOutLCMS   Distribution Vs   QInv
12 // class AliHBTQSideDistributionVsQInvFctn;   //QSideLCMS  Distribution Vs   QInv
13 // class AliHBTQLongDistributionVsQInvFctn;   //QLongLCMS  Distribution Vs   QInv
14 // class AliHBTPtDiffDistributionVsQInvFctn;
15 //
16 // added by Zbigniew.Chajecki@cern.ch
17 // this classes create distribution functions of pair momentum 
18 //
19 /////////////////////////////////////////////////////////////////////////////
20
21 #include "AliHBTFunction.h"
22
23 class AliHBTQOutDistributionVsQInvFctn: public AliHBTOnePairFctn2D
24  {
25   public: 
26    AliHBTQOutDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0, 
27                              Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15);
28    virtual ~AliHBTQOutDistributionVsQInvFctn(){}
29    TH1* GetResult();
30    void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
31     {
32      y = partpair->GetQOutLCMS();
33      x = partpair->GetQInv();
34     }
35   protected:
36     ClassDef(AliHBTQOutDistributionVsQInvFctn,1)
37  };
38 /***********************************************************************/
39 /***********************************************************************/
40 class AliHBTQSideDistributionVsQInvFctn: public AliHBTOnePairFctn2D
41  {
42   public: 
43    AliHBTQSideDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1, 
44                              Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
45    virtual ~AliHBTQSideDistributionVsQInvFctn(){}
46    TH1* GetResult();
47    void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
48     {
49      y = partpair->GetQSideLCMS();
50      x = partpair->GetQInv();
51     }
52   protected:
53     ClassDef(AliHBTQSideDistributionVsQInvFctn,1)
54  };
55 /***********************************************************************/
56 /***********************************************************************/
57
58 class AliHBTQLongDistributionVsQInvFctn: public AliHBTOnePairFctn2D
59  {
60   public: 
61    AliHBTQLongDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1, 
62                              Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
63    virtual ~AliHBTQLongDistributionVsQInvFctn(){}
64    TH1* GetResult();
65    void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
66     {
67      y = partpair->GetQLongLCMS();
68      x = partpair->GetQInv();
69     }
70   protected:
71     ClassDef(AliHBTQLongDistributionVsQInvFctn,1)
72  };
73 /***********************************************************************/
74 /***********************************************************************/
75 class AliHBTPtDiffDistributionVsQInvFctn: public AliHBTOnePairFctn2D
76  {
77   public: 
78    AliHBTPtDiffDistributionVsQInvFctn(Int_t nXbins = 800, Double_t maxXval = 4.0, Double_t minXval = 0., 
79                              Int_t nYbins = 500, Double_t maxYval = 0.1, Double_t minYval =-0.1);
80    virtual ~AliHBTPtDiffDistributionVsQInvFctn(){}
81    TH1* GetResult();
82    void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
83     {
84      y = partpair->Particle1()->Pt() - partpair->Particle2()->Pt();
85      x = partpair->GetQInv();
86     }
87   protected:
88     ClassDef(AliHBTPtDiffDistributionVsQInvFctn,1)
89  };
90  
91 #endif
92