reverting to prev.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTQDistributionFctns.h
CommitLineData
a57afe91 1#ifndef ALIHBTQOUTDISTRIBUTIONVSKTLFCTN_H
2#define ALIHBTQOUTDISTRIBUTIONVSKTLFCTN_H
3
53ee4ab6 4/////////////////////////////////////////////////////////////////////////////
5//
6// class AliHBTQInvDistributionVsKtFctn; //QInvCMSLC Distribution Vs Kt
7// class AliHBTQOutDistributionVsKtFctn; //QOutCMSLC Distribution Vs Kt
8// class AliHBTQSideDistributionVsKtFctn; //QSideCMSLC Distribution Vs Kt
9// class AliHBTQLongDistributionVsKtFctn; //QLongCMSLC Distribution Vs Kt
10
11// class AliHBTQOutDistributionVsQInvFctn; //QOutCMSLC Distribution Vs QInv
12// class AliHBTQSideDistributionVsQInvFctn; //QSideCMSLC Distribution Vs QInv
13// class AliHBTQLongDistributionVsQInvFctn; //QLongCMSLC Distribution Vs QInv
14// class AliHBTPtDiffDistributionVsQInvFctn;
15//
a57afe91 16// added by Zbigniew.Chajecki@cern.ch
17// this classes create distribution functions of pair momentum
53ee4ab6 18//
19/////////////////////////////////////////////////////////////////////////////
a57afe91 20
21class AliHBTQInvDistributionVsKtFctn; //QInvCMSLC Distribution Vs Kt
22class AliHBTQOutDistributionVsKtFctn; //QOutCMSLC Distribution Vs Kt
23class AliHBTQSideDistributionVsKtFctn; //QSideCMSLC Distribution Vs Kt
24class AliHBTQLongDistributionVsKtFctn; //QLongCMSLC Distribution Vs Kt
25
0bb07108 26class AliHBTQOutDistributionVsQInvFctn; //QOutCMSLC Distribution Vs QInv
27class AliHBTQSideDistributionVsQInvFctn; //QSideCMSLC Distribution Vs QInv
28class AliHBTQLongDistributionVsQInvFctn; //QLongCMSLC Distribution Vs QInv
50268620 29class AliHBTPtDiffDistributionVsQInvFctn;
0bb07108 30
a57afe91 31#include "AliHBTFunction.h"
32
33/***********************************************************************/
34/***********************************************************************/
35class AliHBTQOutDistributionVsKtFctn: public AliHBTOnePairFctn2D
36 {
37 public:
38 AliHBTQOutDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0,
39 Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15);
40 virtual ~AliHBTQOutDistributionVsKtFctn(){}
a22a56ec 41 TH1* GetResult(){return this->GetNumerator();}
42 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
a57afe91 43 {
44 y = partpair->GetQOutCMSLC();
45 x = partpair->GetKt();
46 }
47 protected:
a57afe91 48 ClassDef(AliHBTQOutDistributionVsKtFctn,1)
49 };
50/***********************************************************************/
51/***********************************************************************/
52class AliHBTQSideDistributionVsKtFctn: public AliHBTOnePairFctn2D
53 {
54 public:
55 AliHBTQSideDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
56 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
57 virtual ~AliHBTQSideDistributionVsKtFctn(){}
a22a56ec 58 TH1* GetResult(){return this->GetNumerator();}
59 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
a57afe91 60 {
61 y = partpair->GetQSideCMSLC();
62 x = partpair->GetKt();
63 }
64 protected:
a57afe91 65 ClassDef(AliHBTQSideDistributionVsKtFctn,1)
66 };
67/***********************************************************************/
68/***********************************************************************/
69
70class AliHBTQLongDistributionVsKtFctn: public AliHBTOnePairFctn2D
71 {
72 public:
73 AliHBTQLongDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
74 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
75 virtual ~AliHBTQLongDistributionVsKtFctn(){}
a22a56ec 76 TH1* GetResult(){return this->GetNumerator();}
77 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
a57afe91 78 {
79 y = partpair->GetQLongCMSLC();
80 x = partpair->GetKt();
81 }
82 protected:
a57afe91 83 ClassDef(AliHBTQLongDistributionVsKtFctn,1)
84 };
85/***********************************************************************/
86/***********************************************************************/
87
88class AliHBTQInvDistributionVsKtFctn: public AliHBTOnePairFctn2D
89 {
90 public:
91 AliHBTQInvDistributionVsKtFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
92 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
93 virtual ~AliHBTQInvDistributionVsKtFctn(){}
a22a56ec 94 TH1* GetResult(){return this->GetNumerator();}
95 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
a57afe91 96 {
97 y = partpair->GetQInv();
98 x = partpair->GetKt();
99 }
100 protected:
a57afe91 101 ClassDef(AliHBTQInvDistributionVsKtFctn,1)
102 };
103
104/***********************************************************************/
105/***********************************************************************/
0bb07108 106class AliHBTQOutDistributionVsQInvFctn: public AliHBTOnePairFctn2D
107 {
108 public:
109 AliHBTQOutDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1., Double_t minXval = 0.0,
110 Int_t nYbins = 500, Double_t maxYval = .15, Double_t minYval =-0.15);
111 virtual ~AliHBTQOutDistributionVsQInvFctn(){}
a22a56ec 112 TH1* GetResult(){return this->GetNumerator();}
113 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
0bb07108 114 {
115 y = partpair->GetQOutCMSLC();
116 x = partpair->GetQInv();
117 }
118 protected:
0bb07108 119 ClassDef(AliHBTQOutDistributionVsQInvFctn,1)
120 };
121/***********************************************************************/
122/***********************************************************************/
123class AliHBTQSideDistributionVsQInvFctn: public AliHBTOnePairFctn2D
124 {
125 public:
126 AliHBTQSideDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
127 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
128 virtual ~AliHBTQSideDistributionVsQInvFctn(){}
a22a56ec 129 TH1* GetResult(){return this->GetNumerator();}
130 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
0bb07108 131 {
132 y = partpair->GetQSideCMSLC();
133 x = partpair->GetQInv();
134 }
135 protected:
0bb07108 136 ClassDef(AliHBTQSideDistributionVsQInvFctn,1)
137 };
138/***********************************************************************/
139/***********************************************************************/
140
141class AliHBTQLongDistributionVsQInvFctn: public AliHBTOnePairFctn2D
142 {
143 public:
144 AliHBTQLongDistributionVsQInvFctn(Int_t nXbins = 200, Double_t maxXval = 1.2, Double_t minXval = -0.1,
145 Int_t nYbins = 500, Double_t maxYval = 1.2, Double_t minYval =-1.2);
146 virtual ~AliHBTQLongDistributionVsQInvFctn(){}
a22a56ec 147 TH1* GetResult(){return this->GetNumerator();}
148 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
0bb07108 149 {
150 y = partpair->GetQLongCMSLC();
151 x = partpair->GetQInv();
152 }
153 protected:
0bb07108 154 ClassDef(AliHBTQLongDistributionVsQInvFctn,1)
155 };
156/***********************************************************************/
157/***********************************************************************/
50268620 158class AliHBTPtDiffDistributionVsQInvFctn: public AliHBTOnePairFctn2D
159 {
160 public:
161 AliHBTPtDiffDistributionVsQInvFctn(Int_t nXbins = 800, Double_t maxXval = 4.0, Double_t minXval = 0.,
162 Int_t nYbins = 500, Double_t maxYval = 0.1, Double_t minYval =-0.1);
163 virtual ~AliHBTPtDiffDistributionVsQInvFctn(){}
a22a56ec 164 TH1* GetResult(){return this->GetNumerator();}
165 void GetValues(AliHBTPair* partpair, Double_t& x, Double_t& y) const
50268620 166 {
167 y = partpair->Particle1()->Pt() - partpair->Particle2()->Pt();
168 x = partpair->GetQInv();
169 }
170 protected:
50268620 171 ClassDef(AliHBTPtDiffDistributionVsQInvFctn,1)
172 };
173/***********************************************************************/
174/***********************************************************************/
a57afe91 175
176#endif