Incrementing class versions
[u/mrichter/AliRoot.git] / HBTAN / AliHBTMonDistributionFctns.cxx
CommitLineData
a57afe91 1#include "AliHBTMonDistributionFctns.h"
58ee8590 2//______________________________________________________________
3////////////////////////////////////////////////////////////////
4//
5// class AliHBTMonPxDistributionFctn;
6// class AliHBTMonPxDistributionVsPtFctn;
7// class AliHBTMonPyDistributionFctn;
8// class AliHBTMonPyDistributionVsPtFctn;
9// class AliHBTMonPzDistributionFctn;
10// class AliHBTMonPzDistributionVsPtFctn;
11// class AliHBTMonPDistributionFctn;
12// class AliHBTMonPDistributionVsPtFctn;
13// class AliHBTMonPtDistributionFctn;
14// class AliHBTMonVxDistributionFctn;
15// class AliHBTMonVyDistributionFctn;
16// class AliHBTMonVzDistributionFctn;
17// class AliHBTMonRDistributionFctn;
18// class AliHBTMonVyDistributionVsVxFctn;
19// class AliHBTMonRtDistributionVsVzFctn;
20//
21// added by Zbigniew.Chajecki@cern.ch
22// this classes create distribution functions of particle momentum
23//
24/////////////////////////////////////////////////////////////////
a57afe91 25/******************************************************************/
26
27ClassImp(AliHBTMonPxDistributionFctn)
28
88cb7938 29AliHBTMonPxDistributionFctn::AliHBTMonPxDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
30 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 31{
58ee8590 32 //constructor
a57afe91 33 Rename("Px","Px");
34}
35
78d7c6d3 36Double_t AliHBTMonPxDistributionFctn::GetValue(AliVAODParticle * particle) const
a22a56ec 37{
38 //returns value for that function
39 return particle->Px();
40}
41
a57afe91 42/******************************************************************/
43
44ClassImp(AliHBTMonPyDistributionFctn)
45
88378f71 46AliHBTMonPyDistributionFctn::AliHBTMonPyDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
a57afe91 47 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
48{
58ee8590 49 //constructor
a57afe91 50 Rename("Py","Py");
51}
52
53/******************************************************************/
54
55ClassImp(AliHBTMonPzDistributionFctn)
56
88cb7938 57AliHBTMonPzDistributionFctn::AliHBTMonPzDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
58 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 59{
58ee8590 60 //constructor
a57afe91 61 Rename("Pz","Pz");
62}
63
64/******************************************************************/
65
66ClassImp(AliHBTMonPDistributionFctn)
67
88cb7938 68AliHBTMonPDistributionFctn::AliHBTMonPDistributionFctn
69 (Int_t nbins, Double_t maxXval, Double_t minXval):
70 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 71{
58ee8590 72 //constructor
a57afe91 73 Rename("P","P");
74}
75
76
77/******************************************************************/
78
79ClassImp(AliHBTMonPtDistributionFctn)
80
88cb7938 81AliHBTMonPtDistributionFctn::AliHBTMonPtDistributionFctn
82 (Int_t nbins, Double_t maxXval, Double_t minXval):
83 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 84{
58ee8590 85 //constructor
a57afe91 86 Rename("Pt","Pt");
87}
88
89/******************************************************************/
90/******************************************************************/
91/******************************************************************/
92ClassImp( AliHBTMonPxDistributionVsPtFctn )
93
88cb7938 94AliHBTMonPxDistributionVsPtFctn::AliHBTMonPxDistributionVsPtFctn
95 (Int_t nXbins, Double_t maxXval, Double_t minXval,
96 Int_t nYbins, Double_t maxYval, Double_t minYval):
97 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 98{
58ee8590 99 //constructor
a57afe91 100 Rename("PxDistVsPt","Px vs. Pt");
101}
102/******************************************************************/
103ClassImp( AliHBTMonPyDistributionVsPtFctn )
104
88cb7938 105AliHBTMonPyDistributionVsPtFctn::AliHBTMonPyDistributionVsPtFctn
106 (Int_t nXbins, Double_t maxXval, Double_t minXval,
107 Int_t nYbins, Double_t maxYval, Double_t minYval):
108 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 109{
58ee8590 110 //constructor
111 Rename("PyDistVsPt","Py vs. Pt");
a57afe91 112}
113/******************************************************************/
114ClassImp( AliHBTMonPzDistributionVsPtFctn )
115
88cb7938 116AliHBTMonPzDistributionVsPtFctn::AliHBTMonPzDistributionVsPtFctn
117 (Int_t nXbins, Double_t maxXval, Double_t minXval,
118 Int_t nYbins, Double_t maxYval, Double_t minYval):
119 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 120{
58ee8590 121 //constructor
a57afe91 122 Rename("PzDistVsPt","Pz vs. Pt");
123}
124/******************************************************************/
125ClassImp( AliHBTMonPDistributionVsPtFctn )
126
88cb7938 127AliHBTMonPDistributionVsPtFctn::AliHBTMonPDistributionVsPtFctn
128 (Int_t nXbins, Double_t maxXval, Double_t minXval,
129 Int_t nYbins, Double_t maxYval, Double_t minYval):
130 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 131{
58ee8590 132 //constructor
133 Rename("PDistVsPt","P vs. Pt");
a57afe91 134}
135
136/******************************************************************/
137/******************************************************************/
138/******************************************************************/
139ClassImp(AliHBTMonPhiDistributionFctn)
140
88cb7938 141AliHBTMonPhiDistributionFctn::AliHBTMonPhiDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
142 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 143{
58ee8590 144 //constructor
a57afe91 145 Rename("Phi","Phi");
146}
147/******************************************************************/
148ClassImp(AliHBTMonThetaDistributionFctn)
149
88cb7938 150AliHBTMonThetaDistributionFctn::AliHBTMonThetaDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
151 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
a57afe91 152{
58ee8590 153 //constructor
a57afe91 154 Rename("Theta","Theta");
155}
156/******************************************************************/
157ClassImp( AliHBTMonPhiDistributionVsPtFctn )
158
88cb7938 159AliHBTMonPhiDistributionVsPtFctn::AliHBTMonPhiDistributionVsPtFctn
160 (Int_t nXbins, Double_t maxXval, Double_t minXval,
161 Int_t nYbins, Double_t maxYval, Double_t minYval):
162 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 163{
58ee8590 164 //constructor
a57afe91 165 Rename("PhiDistVsPt","Phi vs. Pt");
166}
167/******************************************************************/
168ClassImp( AliHBTMonThetaDistributionVsPtFctn )
169
88cb7938 170AliHBTMonThetaDistributionVsPtFctn::AliHBTMonThetaDistributionVsPtFctn
171 (Int_t nXbins, Double_t maxXval, Double_t minXval,
172 Int_t nYbins, Double_t maxYval, Double_t minYval):
173 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
a57afe91 174{
58ee8590 175 //constructor
176 Rename("ThetaDistVsPt","Theta vs. Pt");
a57afe91 177}
178/******************************************************************/
88cb7938 179
180ClassImp(AliHBTMonVxDistributionFctn)
181
182AliHBTMonVxDistributionFctn::
183AliHBTMonVxDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
184 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
185{
58ee8590 186 //constructor
88cb7938 187 Rename("Vx","X of Vertex");
188}
189/******************************************************************/
190
191ClassImp(AliHBTMonVyDistributionFctn)
192
193AliHBTMonVyDistributionFctn::
194AliHBTMonVyDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
195 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
196{
197 Rename("Vy","Y of Vertex");
198}
199/******************************************************************/
200
201ClassImp(AliHBTMonVzDistributionFctn)
202
203AliHBTMonVzDistributionFctn::
204AliHBTMonVzDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
205 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
206{
58ee8590 207 //constructor
88cb7938 208 Rename("Vz","Z of Vertex");
209}
210/******************************************************************/
211ClassImp(AliHBTMonRDistributionFctn)
212
213AliHBTMonRDistributionFctn::
214AliHBTMonRDistributionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
215 AliHBTMonOneParticleFctn1D(nbins,maxXval,minXval)
216{
58ee8590 217 //constructor
218 Rename("VertexDistanceFromCenter","Distance of Particle Vertex From Center");
88cb7938 219}
220/******************************************************************/
221
222ClassImp(AliHBTMonVyDistributionVsVxFctn)
223AliHBTMonVyDistributionVsVxFctn::AliHBTMonVyDistributionVsVxFctn
224 (Int_t nXbins, Double_t maxXval, Double_t minXval,
225 Int_t nYbins, Double_t maxYval, Double_t minYval):
226 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
227{
58ee8590 228 //constructor
229 Rename("VyDistVsVx","Vrtex Y position versus X vertex position");
88cb7938 230}
231/******************************************************************/
232
233ClassImp(AliHBTMonRtDistributionVsVzFctn)
234AliHBTMonRtDistributionVsVzFctn::AliHBTMonRtDistributionVsVzFctn
235 (Int_t nXbins, Double_t maxXval, Double_t minXval,
236 Int_t nYbins, Double_t maxYval, Double_t minYval):
237 AliHBTMonOneParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
238{
58ee8590 239 //constructor
240 Rename("RDistVsVz","Distance of vertex position from center in trensverse plane versus Z vertex position");
88cb7938 241}
242
243/******************************************************************/
a57afe91 244/******************************************************************/
245
246
247
248