Do not unload gAlice, it is needed until the end of the simulation run
[u/mrichter/AliRoot.git] / HBTAN / AliHBTMonResolutionFctns.cxx
CommitLineData
a57afe91 1#include "AliHBTMonResolutionFctns.h"
0fd4140b 2//_______________________________________________________________________________
3/////////////////////////////////////////////////////////////////////////////////
4//
5// class AliHBTMonPxResolutionFctn;
6// class AliHBTMonPyResolutionFctn;
7// class AliHBTMonPzResolutionFctn;
8// class AliHBTMonPResolutionFctn;
9// class AliHBTMonPtResolutionFctn;
10// class AliHBTMonPhiResolutionFctn;
11// class AliHBTMonThetaResolutionFctn;
12// class AliHBTMonPxResolutionVsPtFctn;
13// class AliHBTMonPyResolutionVsPtFctn;
14// class AliHBTMonPzResolutionVsPtFctn;
15// class AliHBTMonPResolutionVsPtFctn;
16// class AliHBTMonPtResolutionVsPtFctn;
17// class AliHBTMonPhiResolutionVsPtFctn;
18// class AliHBTMonThetaResolutionVsPtFctn;
19//
20// Caution: On 2D plots on X axis in simulated values
21// That is contrary to two-particle resolutions where it is reconstructed one
22//
23// added by Zbigniew.Chajecki@cern.ch
24// this classes create resolution functions of particle momentum
25//
26//////////////////////////////////////////////////////////////////////////////////
a57afe91 27
28ClassImp(AliHBTMonPxResolutionFctn)
29
30AliHBTMonPxResolutionFctn::
31AliHBTMonPxResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
32 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
33{
0fd4140b 34 //constructor
a57afe91 35 Rename("PxResolution","PxResolution");
36}
37/******************************************************************/
38
39ClassImp(AliHBTMonPyResolutionFctn)
40
41AliHBTMonPyResolutionFctn::
42AliHBTMonPyResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
43 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
44{
0fd4140b 45 //constructor
a57afe91 46 Rename("PyResolution","PyResolution");
47}
48/******************************************************************/
49
50ClassImp(AliHBTMonPzResolutionFctn)
51
52AliHBTMonPzResolutionFctn::
53AliHBTMonPzResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
54 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
55{
0fd4140b 56 //constructor
a57afe91 57 Rename("PzResolution","PzResolution");
58}
59/******************************************************************/
60
61ClassImp(AliHBTMonPResolutionFctn)
62
63AliHBTMonPResolutionFctn::
64AliHBTMonPResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
65 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
66{
0fd4140b 67 //constructor
a57afe91 68 Rename("PResolution","PResolution");
69}
70/******************************************************************/
71
72ClassImp(AliHBTMonPtResolutionFctn)
73
74AliHBTMonPtResolutionFctn::
75AliHBTMonPtResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
76 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
77{
0fd4140b 78 //constructor
a57afe91 79 Rename("PtResolution","PtResolution");
80}
81/******************************************************************/
82/******************************************************************/
83/******************************************************************/
84ClassImp( AliHBTMonPxResolutionVsPtFctn )
85
86AliHBTMonPxResolutionVsPtFctn::
87AliHBTMonPxResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
88 Int_t nYbins, Double_t maxYval, Double_t minYval):
89 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
90{
0fd4140b 91 //constructor
a57afe91 92 Rename("PxResolVsPt","Px resolution vs. Pt");
93}
94/******************************************************************/
95ClassImp( AliHBTMonPyResolutionVsPtFctn )
96
97AliHBTMonPyResolutionVsPtFctn::
98AliHBTMonPyResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
99 Int_t nYbins, Double_t maxYval, Double_t minYval):
100 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
101{
0fd4140b 102 //constructor
a57afe91 103 Rename("PyResolVsPt","Py resolution vs. Pt");
104}
105/******************************************************************/
106ClassImp( AliHBTMonPzResolutionVsPtFctn )
107
108AliHBTMonPzResolutionVsPtFctn::
109AliHBTMonPzResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
110 Int_t nYbins, Double_t maxYval, Double_t minYval):
111 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
112{
0fd4140b 113 //constructor
a57afe91 114 Rename("PzResolVsPt","Pz resolution vs. Pt");
115}
116/******************************************************************/
117ClassImp( AliHBTMonPResolutionVsPtFctn )
118
119AliHBTMonPResolutionVsPtFctn::
120AliHBTMonPResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
121 Int_t nYbins, Double_t maxYval, Double_t minYval):
122 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
123{
0fd4140b 124 //constructor
a57afe91 125 Rename("PResolVsPt","P resolution vs. Pt");
126}
127/******************************************************************/
128ClassImp( AliHBTMonPtResolutionVsPtFctn )
129
130AliHBTMonPtResolutionVsPtFctn::
131AliHBTMonPtResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
132 Int_t nYbins, Double_t maxYval, Double_t minYval):
133 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
134{
0fd4140b 135 //constructor
a57afe91 136 Rename("PtResolVsPt","Pt resolution vs. Pt");
137}
138
139/******************************************************************/
140/******************************************************************/
141/******************************************************************/
142/******************************************************************/
143ClassImp(AliHBTMonPhiResolutionFctn)
144
145AliHBTMonPhiResolutionFctn::
146AliHBTMonPhiResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
147 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
148{
0fd4140b 149 //constructor
a57afe91 150 Rename("PhiResolution","PhiResolution");
151}
152/******************************************************************/
153ClassImp(AliHBTMonThetaResolutionFctn)
154
155AliHBTMonThetaResolutionFctn::
156AliHBTMonThetaResolutionFctn(Int_t nbins, Double_t maxXval, Double_t minXval):
157 AliHBTMonTwoParticleFctn1D(nbins,maxXval,minXval)
158{
0fd4140b 159 //constructor
a57afe91 160 Rename("ThetaResolution","ThetaResolution");
161}
162/******************************************************************/
163/******************************************************************/
164ClassImp( AliHBTMonPhiResolutionVsPtFctn )
165
166AliHBTMonPhiResolutionVsPtFctn::
167AliHBTMonPhiResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
168 Int_t nYbins, Double_t maxYval, Double_t minYval):
169 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
170{
0fd4140b 171 //constructor
a57afe91 172 Rename("PhiResolVsPt","Phi resolution vs. Pt");
173}
174/******************************************************************/
175ClassImp( AliHBTMonThetaResolutionVsPtFctn )
176
177AliHBTMonThetaResolutionVsPtFctn::
178AliHBTMonThetaResolutionVsPtFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
179 Int_t nYbins, Double_t maxYval, Double_t minYval):
180 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
181{
0fd4140b 182 //constructor
a57afe91 183 Rename("ThetaResolVsPt","Theta resolution vs. Pt");
184}
185/******************************************************************/
186
187
0fd4140b 188ClassImp( AliHBTMonPhiResolutionVsPhiFctn )
189
190AliHBTMonPhiResolutionVsPhiFctn::
191AliHBTMonPhiResolutionVsPhiFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
192 Int_t nYbins, Double_t maxYval, Double_t minYval):
193 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
194{
195 //constructor
196 Rename("PhiResolVsPhi","Phi resolution vs. Phi");
197}
198/******************************************************************/
199ClassImp( AliHBTMonThetaResolutionVsThetaFctn )
200
201AliHBTMonThetaResolutionVsThetaFctn::
202AliHBTMonThetaResolutionVsThetaFctn(Int_t nXbins, Double_t maxXval, Double_t minXval,
203 Int_t nYbins, Double_t maxYval, Double_t minYval):
204 AliHBTMonTwoParticleFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
205{
206 //constructor
207 Rename("ThetaResolVsTheta","Theta resolution vs. Theta");
208}
209/******************************************************************/
a57afe91 210
211