]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTQDistributionVsQInvFctns.cxx
Updated error definitions.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTQDistributionVsQInvFctns.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17
18
19 //__________________________________________________________________
20 ////////////////////////////////////////////////////////////////////
21 //                                                                //
22 // class AliHBTQOutDistributionVsQInvFctn                         //
23 // class AliHBTQSideDistributionVsQInvFctn                        //
24 // class AliHBTQLongDistributionVsQInvFctn                        //
25 // class AliHBTPtDiffDistributionVsQInvFctn                       //
26 //                                                                //
27 // Classes for Q's monitoring Vs Kt and Vs Qinv                   //
28 //                                                                //
29 // Author:                                                        //
30 // Zbigniew Chajecki <chajecki@if.pw.edu.pl>                      //
31 //                                                                //
32 ////////////////////////////////////////////////////////////////////
33
34
35
36 #include "AliHBTQDistributionVsQInvFctns.h"
37
38 ClassImp( AliHBTQOutDistributionVsQInvFctn )
39
40 AliHBTQOutDistributionVsQInvFctn::AliHBTQOutDistributionVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval, 
41                                                                    Int_t nYbins, Double_t maxYval, Double_t minYval):
42  AliHBTOnePairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
43 {
44  //ctor
45  Rename("QOutDistributionVsQInv","Q_{Out} Distribution vs. Q_{inv}");
46 }
47 /******************************************************************/
48
49 TH1* AliHBTQOutDistributionVsQInvFctn::GetResult()
50 {
51  //returns the result histo
52  return this->GetNumerator();
53 }
54
55
56 /******************************************************************/
57 /******************************************************************/
58
59 ClassImp( AliHBTQSideDistributionVsQInvFctn )
60
61 AliHBTQSideDistributionVsQInvFctn::AliHBTQSideDistributionVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval, 
62                                                                      Int_t nYbins, Double_t maxYval, Double_t minYval):
63  AliHBTOnePairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
64 {
65  //ctor
66  Rename("QSideDistributionVsQInv","Q_{Side} Distribution vs. Q_{inv}");
67 }
68 /******************************************************************/
69
70 TH1* AliHBTQSideDistributionVsQInvFctn::GetResult()
71 {
72  //returns the result histo
73  return this->GetNumerator();
74 }
75
76
77 /******************************************************************/
78 /******************************************************************/
79
80 ClassImp( AliHBTQLongDistributionVsQInvFctn )
81
82 AliHBTQLongDistributionVsQInvFctn::AliHBTQLongDistributionVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval, 
83                                                                      Int_t nYbins, Double_t maxYval, Double_t minYval):
84  AliHBTOnePairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
85 {
86  //ctor
87  Rename("QLongDistributionVsQInv","Q_{Long} Distribution vs. Q_{inv}");
88 }
89 /******************************************************************/
90
91 TH1* AliHBTQLongDistributionVsQInvFctn::GetResult()
92 {
93  //returns the result histo
94  return this->GetNumerator();
95 }
96
97
98 /******************************************************************/
99 /******************************************************************/
100
101 ClassImp( AliHBTPtDiffDistributionVsQInvFctn )
102
103 AliHBTPtDiffDistributionVsQInvFctn::AliHBTPtDiffDistributionVsQInvFctn(Int_t nXbins, Double_t maxXval, Double_t minXval, 
104                                                                      Int_t nYbins, Double_t maxYval, Double_t minYval):
105  AliHBTOnePairFctn2D(nXbins,maxXval,minXval,nYbins,maxYval,minYval)
106 {
107  //ctor
108  Rename("PtDiffDistributionVsQInv","P_{t} Difference Distribution vs. Q_{inv}");
109 }
110 /******************************************************************/
111
112 TH1* AliHBTPtDiffDistributionVsQInvFctn::GetResult()
113 {
114  //returns the result histo
115  return this->GetNumerator();
116 }
117